Update a post
curl --request PATCH \
--url https://api.example.com/content/{content} \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"body": "<string>",
"visibility": {
"all_units": true,
"units": [
123
],
"units_falldown": [
123
],
"userTypes": [
123
]
},
"sharing": {
"shares": [
123
]
},
"comments": {
"enabled": true
},
"confirm": {
"enabled": true
},
"show_in_feed": true,
"publish": {
"status": true,
"publish_on": 123,
"unpublish_on": 123
},
"important": true,
"poll": {
"question": "<string>",
"type": "<string>",
"close_at": 123,
"allow_user_choices": true,
"anonymous": true,
"mandatory": true,
"choices": [
{
"id": 123,
"title": "<string>"
}
]
},
"pinned": {
"show_in_main_feed": true,
"until": 123
},
"event": {
"location": "<string>",
"link": "<string>",
"all_day": true,
"datetime_start": "<string>",
"datetime_end": "<string>",
"participation": {
"enabled": true
},
"recurrence": {
"freq": "<string>",
"until": "2023-11-07T05:31:56Z",
"count": 123,
"interval": 123,
"bymonthday": 123,
"bymonth": 123,
"bysetpos": 123
},
"repeat_rules": "<string>",
"end_date": "2023-12-25",
"timezone": "<string>"
}
}
'Posts
Update a post
Updates an existing post.
PATCH
/
content
/
{content}
Update a post
curl --request PATCH \
--url https://api.example.com/content/{content} \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"body": "<string>",
"visibility": {
"all_units": true,
"units": [
123
],
"units_falldown": [
123
],
"userTypes": [
123
]
},
"sharing": {
"shares": [
123
]
},
"comments": {
"enabled": true
},
"confirm": {
"enabled": true
},
"show_in_feed": true,
"publish": {
"status": true,
"publish_on": 123,
"unpublish_on": 123
},
"important": true,
"poll": {
"question": "<string>",
"type": "<string>",
"close_at": 123,
"allow_user_choices": true,
"anonymous": true,
"mandatory": true,
"choices": [
{
"id": 123,
"title": "<string>"
}
]
},
"pinned": {
"show_in_main_feed": true,
"until": 123
},
"event": {
"location": "<string>",
"link": "<string>",
"all_day": true,
"datetime_start": "<string>",
"datetime_end": "<string>",
"participation": {
"enabled": true
},
"recurrence": {
"freq": "<string>",
"until": "2023-11-07T05:31:56Z",
"count": 123,
"interval": 123,
"bymonthday": 123,
"bymonth": 123,
"bysetpos": 123
},
"repeat_rules": "<string>",
"end_date": "2023-12-25",
"timezone": "<string>"
}
}
'Path Parameters
Content ID
Body
application/json
Maximum string length:
255Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show post in feed
Show child attributes
Show child attributes
Mark post as important
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
204
Post updated
⌘I