curl --request POST \
--url https://api.spacebring.com/feed/comments/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": {
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"type": "comment",
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"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.
feedcurl --request POST \
--url https://api.spacebring.com/feed/comments/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": {
"postRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"type": "comment",
"parentCommentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"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
Show child attributes
The ID of the post
The text of the comment
The type of the comment
comment The ID of the parent comment. If the comment is a reply, this will be the ID of the parent comment. If the comment is a top-level comment, this property won't be present.
Created
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The ID of the comment
Whether the user has liked the comment
The number of likes the comment has
Show child attributes
The ID of the membership
Show child attributes
Whether the user is blocked
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
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 parent comment. If the comment is a reply, this will be the ID of the parent comment. If the comment is a top-level comment, this property won't be present.
The ID of the post
The text of the comment