curl --request POST \
--url https://api.spacebring.com/feed/comments/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": {
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"type": "comment"
}
}'
{
"comment": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"liked": true,
"likes": 123,
"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>"
}
},
"mentions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
],
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>"
}
}
Create a feed post comment.
feed
curl --request POST \
--url https://api.spacebring.com/feed/comments/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": {
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"type": "comment"
}
}'
{
"comment": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"liked": true,
"likes": 123,
"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>"
}
},
"mentions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
],
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>"
}
}
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Created
The response is of type object
.