cURL
curl --request POST \ --url https://api.spacebring.com/feed/posts/v1/{id}/likes \ --header 'Authorization: Bearer <token>'
{ "like": { "commentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createDate": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "membership": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user": { "blocked": true, "deleteDate": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "photoUrl": "<string>", "surname": "<string>" } }, "postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Create a like for a post.
feed
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
The id of the post.
Created
Show child attributes
The ID of the comment
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The ID of the like
The ID of the membership
Whether the user is blocked
The ID of the user
The name of the user
The URL of the user's photo
The surname of the user
The ID of the post