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>"
}
}
'Updates an existing 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>"
}
}
'Content ID
255Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show post in feed
Show child attributes
Mark post as important
Show child attributes
Show child attributes
Show child attributes
Post updated