</Developer>

Activity

An individual activity represented in the Graph API.

Test this object with the API Explorer

To read a activity, perform an HTTP GET request on https://api.dailymotion.com/activity/ACTIVITY_ID. By default, only a small number of fields are returned. To request specific fields, pass the list of wanted fields in the fields query-string parameter (ex: https://api.dailymotion.com/activity/ACTIVITY_ID?fields=field1,field2,...).

Global API Parameters

The following parameters are valid globally on the API:

  • localization – Change the default localization of the user. This will affect results language and content selection.

    Note that changing the localization won’t give access to geoblocked content of the defined localization. The IP of the API consumer is always used for this kind of restriction. You can use a standard locale like fr_FR, en_US or simply en, it.

  • family_filter – Enable/disable the family filter. By default, the family filter is on. Changing this parameter will filter-out

    explit content from searches and global contexts. You should always check the explicit field when applicable as some contexts may return those contents. You should then flag those content in your UI to warn the user about the nature of the content.

Fields

Name Description Permissions Format
created_time The date the activity has happened No access_token required for reading. Returns date.
from_type Type of the sender object for the activity event This field can be used as filter. No access_token required for reading. Returns string, min size: 1, max size: 150.
id The activity_event object ID No access_token required for reading. Returns the object id.
ignore_tile_ids A list of tile ids to ignore This field can be used as filter but can’t be read nor written. Returns array, min size: 1, max size: 150.
object_type Type of the object for the activity event This field can be used as filter. No access_token required for reading. Returns string, min size: 1, max size: 150.
object_video The activity object casted as video if it’s a video, null otherwise No access_token required for reading. Return a video. You can request sub-fields by using object_video.<sub-field> notation.
tile_ids A list of tile ids to get activity from This field can be used as filter but can’t be read nor written. Returns array, min size: 1, max size: 150.
type Activity event type No access_token required for reading. Returns string, min size: 1, max size: 150.