GET
/
feed
/
posts
/
v1
/
{id}
/
likes
Get likes for a post
curl --request GET \
  --url https://api.spacebring.com/feed/posts/v1/{id}/likes \
  --header 'Authorization: Basic <encoded-value>'
{
  "likes": [
    {
      "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"
    }
  ]
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Path Parameters

id
string<uuid>
required

The id of the post.

Response

200
application/json

OK

The response is of type object.