Document Object
Always present (compact or detailed):
Field | Description | Type | Required? |
---|---|---|---|
id | Unique ID | string | Yes |
type | Type of document. Valid values: (status, photo, video, link, comment, retweet,) | string | Yes |
network | Network on which this document was posted | string | Yes |
network_id | ID of this document on this source network | string | Yes |
owner | Compact person object for this documents owner | compact person | Yes |
url | URL of this document on the source network | string | Yes |
body | Contents of this document | string | Yes |
network_data | Raw network data for this document, if requested via the include_network_data param. Returned as escaped JSON string. | string |
Detailed fields:
Field | Description | Type | Required? | ||||
---|---|---|---|---|---|---|---|
edges |
Object describing the entities related to this document. Form will be: { <entity_type> : { "count": <total count for type>, "rel_types": { <relation type>: { "count": <count for rel type> } } } } For a document, the related entities may include:
|
object | |||||
engagement |
Object describing the engagement history of this document. Example: { "like" : 5, "comment" : 2 } |
object |