curl --request PUT \
--url https://api.spacebring.com/feed/posts/v1/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"media": [
{
"key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"text": "<string>"
}
}'
{
"post": {
"comments": 123,
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"liked": true,
"likes": 123,
"locale": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media": [
{
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"mime": "<string>",
"url": "<string>",
"width": 123
}
],
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
},
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"og": {},
"pinned": true,
"text": "<string>",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}
Update a feed post.
feed
curl --request PUT \
--url https://api.spacebring.com/feed/posts/v1/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"media": [
{
"key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"text": "<string>"
}
}'
{
"post": {
"comments": 123,
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"liked": true,
"likes": 123,
"locale": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media": [
{
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"mime": "<string>",
"url": "<string>",
"width": 123
}
],
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
},
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"og": {},
"pinned": true,
"text": "<string>",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}
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.
OK
The response is of type object
.