Skip to main content

Post

{
"id": 0,
"type": "post",
"categories": [
{
"id": 0,
"order": 1,
"name": "name",
"name_synonyms": "synonyms",
"slug": "name",
"slogan": "Slogan",
"html_info": null,
"seo_title": null,
"seo_description": null,
"auto_follow": "None",
"active": true,
"deleted": false,
"image_original": "string",
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"emotional_image_original": "string",
"emotional_image_position": 50,
"lastmod_datetime": "2020-09-30T15:22:07.123058+02:00",
"stream_order_by": "recent"
}
],
"medias": [
{
"id": 0,
"added_at": "2019-08-24T14:15:22Z",
"type": "url",
"title": "string",
"description": "string",
"url": "https://example.com",
"image": "string",
"image_width": 0,
"image_height": 0,
"order": 0,
"embed": {
"id": 0,
"embed_type": "string",
"embed_id": "string",
"url": "string",
"metadata": {}
}
}
],
"location": {
"location": "string",
"lat": 0,
"lng": 0
},
"poll": {
"id": 0,
"title": "string",
"multiple_choices": true,
"added_at": "2019-08-24T14:15:22Z",
"modified_at": "2019-08-24T14:15:22Z",
"closed": true,
"expiration_at": "2019-08-24T14:15:22Z",
"hidden": "string",
"choices": [
{
"id": 0,
"choice": "string",
"order": 0,
"added_at": "2019-08-24T14:15:22Z",
"deleted": "string",
"vote_count": 0,
"voted": true
}
]
},
"last_activity_at": "2019-08-24T14:15:22Z",
"last_edited_at": "2019-08-25T14:15:22Z",
"author": {
"id": 0,
"username": "string",
"real_name": "string",
"date_joined": "2019-08-24T14:15:22Z",
"bio": "string",
"location": "string",
"location_lat_lng": "string",
"position_lat_lng": "string",
"date_of_birth": "string",
"description": "string",
"gender": "Male",
"website": "https://example.com",
"avatar": "string",
"cover": "string",
"ext_id": "string",
"tags": [],
"reputation": 111
},
"added_at": "2019-08-24T14:15:22Z",
"html": "string",
"summary": "string",
"deleted": true,
"collapsed": false,
"comment_count": 0,
"share_count": 0,
"vote_count": 4,
"reactions_count": [
{
"reaction": {
"id": 1,
"label": "Mi piace",
"image": "reactions/like.svg",
"sentiment": 1,
"active": true
},
"count": 1
},
{
"reaction": {
"id": 2,
"label": "Indifferente",
"image": "reactions/indifferent.png",
"sentiment": 0,
"active": true
},
"count": 3
}
],
"voted": true,
"reaction": {
"id": 2,
"label": "Indifferente",
"image": "reactions/indifferent.png",
"sentiment": 0,
"active": true
},
"followed": false,
"suspended": true,
"flag_count": 0,
"addressing": [
0
]
}

PropertiesÔÇő

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlynone
typestringfalseread-onlynone
categorieslist(Category)truenonenone
mediaslist(Media)falsenonenone
locationobject┬Žnullfalsenonenone
┬╗ locationstring┬Žnulltruenonenone
┬╗ latnumber┬Žnulltruenonenone
┬╗ lngnumber┬Žnulltruenonenone
pollobject┬Žnullfalsenonenone
┬╗ idintegerfalseread-onlynone
┬╗ titlestringtruenonenone
┬╗ multiple_choicesbooleanfalsenonenone
┬╗ added_atstring(date-time)falseread-onlynone
┬╗ modified_atstring(date-time)falseread-onlynone
┬╗ closedbooleanfalsenonenone
┬╗ expiration_atstring(date-time)falsenonenone
┬╗ hiddenstringfalseread-onlynone
┬╗ choiceslist(object)truenonenone
┬╗┬╗ idintegerfalseread-onlynone
┬╗┬╗ choicestringtruenonenone
┬╗┬╗ orderintegerfalseread-onlynone
┬╗┬╗ added_atstring(date-time)falseread-onlynone
┬╗┬╗ deletedstringfalseread-onlynone
┬╗┬╗ vote_countintegerfalseread-onlynone
┬╗┬╗ votedbooleanfalseread-onlytrue if the logged user has already voted the choice
last_activity_atstring(date-time)falseread-onlynone
authorUserfalseread-onlynone
added_atstring(date-time)falseread-onlynone
htmlstringfalseread-onlynone
summarystringfalseread-onlynone
deletedbooleanfalseread-onlynone
collapsedstringfalseread-onlynone
comment_countintegerfalseread-onlynone
share_countintegerfalseread-onlynone
vote_countintegerfalseread-onlyNumber of votes/reactions associated to this contribution
reactions_countlist(Reaction)falseread-onlyReactions associated to this contribution
votedbooleanfalseread-onlytrue if the logged user has already voted this contribution
reactionReactionfalseread-onlyReaction of the logged user (if he voted this contribution)
followedbooleanfalseread-onlytrue if the logged user follows the post
suspendedbooleanfalseread-onlytrue if the logged user has suspended the notifications for the post
flag_countintegerfalseread-onlynone
addressing[integer]falsenonenone