Search Storyblok's Documentation
  1. The Activity Object

The Activity Object

This is an object representing an activity.

Properties

  • id

    number

    The numeric ID of the activity

  • trackable_id

    number

    Id of reference object that was changed

  • trackable_type

    object

    Type of the referenced object

  • owner_id

    number

    ID of the user that changed made the activity

  • owner_type

    string

    Default: "User"

  • key

    object

    Key defined by type.action (eg: story.create, story.update, component.create)

  • parameters

    object

    Additional parameter passed; Default: null

  • recipient_id

    number

    Default: null

  • recipient_type

    string

    Default: null

  • created_at

    string

    Creation date (Format: yyyy-MM-dd'T'HH:mm:ssZ)

  • updated_at

    string

    Latest update date (Format: yyyy-MM-dd'T'HH:mm:ssZ)

  • space_id

    number

    Numeric ID of a space

Example Object

{
  "activity": {
    "id": 5405,
    "trackable_id": null,
    "trackable_type": null,
    "owner_id": null,
    "owner_type": null,
    "key": null,
    "parameters": {
    },
    "recipient_id": null,
    "recipient_type": null,
    "created_at": "2018-11-10T15:32:58.649Z",
    "updated_at": "2018-11-10T15:32:58.649Z",
    "space_id": 606
  }
}