Likes
Like Profile Get
Retreives all the likes that the given profile has given.
Retreives all the likes that the given profile has given.
GET
/likes/profiles/{account_handle}storyden-session<token>
In: cookie
Path Parameters
account_handlestring
Account handle.
Query Parameters
page?string
Pagination query parameters.
Response Body
curl -X GET "https://loading/api/likes/profiles/southclaws?page=string"{
"page_size": 0,
"results": 0,
"total_pages": 0,
"current_page": 0,
"next_page": 0,
"likes": [
{
"id": "cc5lnd2s1s4652adtu50",
"created_at": "2019-08-24T14:15:22Z",
"item": {
"kind": "post",
"ref": {
"id": "cc5lnd2s1s4652adtu50",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"misc": {},
"title": "Hello world!",
"description": "string",
"slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
"author": {
"id": "cc5lnd2s1s4652adtu50",
"joined": "2019-08-24T14:15:22Z",
"suspended": "2019-08-24T14:15:22Z",
"handle": "Southclaws",
"name": "Barnaby Keene"
},
"assets": [
{
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {}
}
}
],
"reacts": [
{
"id": "cc5lnd2s1s4652adtu50",
"emoji": "string",
"author": {
"id": "cc5lnd2s1s4652adtu50",
"joined": "2019-08-24T14:15:22Z",
"suspended": "2019-08-24T14:15:22Z",
"handle": "Southclaws",
"name": "Barnaby Keene"
}
}
],
"collections": {
"in_collections": 0,
"has_collected": true
},
"likes": {
"likes": 0,
"liked": true
},
"meta": {},
"body": "string",
"body_links": [
{
"id": "cc5lnd2s1s4652adtu50",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"misc": {},
"url": "string",
"slug": "github-com-southclaws-storyden",
"domain": "github.com",
"title": "The Open Graph Protocol",
"description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
"favicon_image": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {}
}
},
"primary_image": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {}
}
}
}
]
}
}
}
]
}Empty
Empty
{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}Like Post Remove DELETE DELETE
Removes a like/vote from the authenticated account for the post. It will perform the inverse of any changes to the account's algorithm. Also is idempotent, so repeated use will do nothing after being actioned once.
Collection Add Node PUT PUT
Add a node to a collection. The collection must be owned by the account making the request. The node can be any published node or any node not published but owned by the collection owner.