Update a Post
Developing
PATCH
/posts/{postId}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.aladia.io/v2/posts/66465179d3ac58f95d0b382b' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": "This is a sample content."
}'
Response Response Example
200 - Success
{
"id": "66fbdb0a7d6711d562490556",
"type": "review",
"title": "dolores",
"parent": {
"id": "66fbdb0a7d6711d562490556",
"content": "Dolore nisi quae unde laborum. Unde placeat commodi perspiciatis. A consequuntur architecto rerum minima.",
"title": "aperiam vitae harum"
},
"content": "Repellendus tenetur atque quibusdam magni.\nDoloribus mollitia consequatur ipsam beatae quia est.\nAdipisci sed error illum amet provident.\nAccusamus placeat possimus explicabo quam.",
"status": "solved",
"visibility": "private",
"numberOf": {
"shares": 41533387,
"comments": 79384564,
"reactions": {
"clap": 1,
"love": 1,
"angry": 1,
"funny": 1,
"sad": 1
},
"reactionsCount": -20370049
},
"rating": 3,
"owner": {
"type": "organization",
"id": "66fbdb0a7d6711d562490556",
"online": false,
"numberOfReviews": -41094897.83514304,
"organizationName": "the name of the organization (if the ower is profile it will be null)",
"firstName": "first name of a profile (if the owner is organization it will be null)",
"lastName": "last name of a profile (if the owner is organization it will be null)",
"picture": "picture or avator of the owner",
"hasActiveStory": true
},
"createdBy": {
"id": "66fbdb0a7d6711d562490556",
"type": "cupidatat irure in officia cillum",
"online": false,
"numberOfReviews": 52831980.57309574,
"organizationName": "labore repellat eum",
"firstName": "Lauren",
"lastName": "last name of a profile",
"picture": "https://loremflickr.com/640/480/business",
"hasActiveStory": false
},
"entity": {
"id": "66fbdb0a7d6711d562490556",
"type": "category"
},
"files": [
{
"metadata": {
"size": 99416891.60296136,
"mimetype": "exercitation incididunt"
},
"url": "http://skeletal-mousse.org",
"fileId": "exercitation"
},
{
"metadata": {
"size": 62660622.65085909,
"mimetype": "ut ea sit commodo"
},
"url": "http://pale-thug.org",
"fileId": "ad in voluptate"
}
],
"mentions": [
{
"type": "profile",
"id": "quis enim",
"online": true,
"picture": "https://loremflickr.com/640/480/nightlife",
"numberOfReviews": 667839.2568963468,
"organizationName": "quo voluptatibus vitae",
"firstName": "Eden",
"lastName": "Rau",
"hasActiveStory": true
}
],
"createdAt": "14576",
"updatedAt": "51084",
"partecipants": [
{
"type": "profile",
"id": "66fbdb0a7d6711d562490556",
"online": false,
"numberOfReviews": 1383217.1636074036,
"picture": "https://loremflickr.com/640/480/animals",
"organizationName": "cupiditate eveniet dolor",
"firstName": "Porter",
"lastName": "Beier",
"hasActiveStory": false
}
],
"answerId": "veniam nostrud"
}
Request
Path Params
postId
stringÂ
required
Example:
66465179d3ac58f95d0b382b
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-23 07:43:38