Get a specific post
Retrieve a specific post by its ID to read in detail
Path parameters
Unique identifier of the post
Response
Successfully retrieved the post
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "john_doe",
"content": "Just had an amazing hike in the mountains! #outdoorlife",
"createdAt": "2025-06-01T10:30:00Z",
"updatedAt": "2025-06-01T10:30:00Z",
"likesCount": 15,
"commentsCount": 3
}Changes
Changed in 3 of the 3 revisions of this API.17310
- ▲
added the new path request parameter
postIdnew-request-path-parameter
- ▲
the
response property's maxLength was increased from1000to2000for the response statusresponse-property-max-length-increased
- ▲
the
response's property type changed fromobjecttoarrayfor statusresponse-property-type-changed
- ▲
the
response's property type changed fromobjecttoarrayfor statusresponse-property-type-changed
- ○
api operation id
getPostremoved and replaced withgetPostByIdapi-operation-id-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
response's property type changed fromintegertostring, and format from no format touuidfor statusresponse-property-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
deleted the
pathrequest parameterpostIdrequest-parameter-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲
- ▲
for the
pathrequest parameterpostId, the type changed fromstringtointeger, and format fromuuidto no formatrequest-parameter-type-changed
- ▲
the
response property's maxLength was unset from2000for the response statusresponse-property-max-length-unset
- ▲
the
response property's maxLength was unset from50for the response statusresponse-property-max-length-unset
- ▲
the
response property's minLength was decreased from1to0for the response statusresponse-property-min-length-decreased
- ▲
the
response property's minLength was decreased from1to0for the response statusresponse-property-min-length-decreased
- ▲
the
response's property type changed fromstringtointeger, and format fromuuidto no format for statusresponse-property-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
api operation id
getPostByIdremoved and replaced withgetPostapi-operation-id-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲