The Activity Resource

Attributes
  • id
    string

    The ID of the Activity.

  • hub_id
    string

    The ID of the hub this activity takes place on.

  • user
    object

    Information about the user involved in causing the activity.

    Show child fields
  • verbosity
    integer

    A number relating to the verbosity of action information being returned.

    0 - Social - activities and information users and teams should all know about.
    1 - Audit- specific information about what, who, and when something happened specifically.
  • context
    object

    Contextual information about the activity.

    Show child fields
  • session
    object

    Session information such as url's, ip's, tokens, and other pertinent connection information involved in the activity. May return null.

    Show child fields
  • changes
    array of objects

    An array of changes that took place as a result of the activity.

    Show child fields
  • annotations
    object

    adf

  • error
    object | null

    If there is error information included with this activity there will be a message in this object.

    Show child fields
  • component
    object

    Information about the component involved in this activity.

    Show child fields
  • status
    string

    Status information about the activity, which can be any of the following:
    info |warning |request |success |error

  • event
    string

    The name of the event, the cause of the activity.


    Expand to see full list:

    Show child fields
  • time
    string

    A timestamp of the activity.

Example Activity
{
"id": "5ecfe8955e41120001fdaaaa",
"hub_id": "5a14ddd8b6393d000bcabcad",
"user": {
"id": "5bac2478b6393d0001f21eea",
"type": "account"
},
"verbosity": 1,
"context": {
"stack_id": "5cc78a084146380001c52222"
},
"session": {
"url": "/v1/stacks/5cc78a084146380001c22222/builds/5ebb339e91238b0001a32132?",
"ip": "147.75.69.205",
"token": {
"application_id": "5e425b30320ac400012111231",
"application_capabilities_version": 1
},
"api_key": null
},
"changes": [],
"annotations": {},
"error": null,
"component": {
"type": "stack.build",
"id": "5ebb339e91238b0001a43211"
},
"status": "request",
"event": "stack.build.task.delete",
"time": "2020-05-28T16:36:37.641Z"
}