There are no optional parameters associated with this operation.
A successful call will result in a JSON object with the following structure:
{
"Success" : {
"PostId" : string, // unique identifier of the post
"CreatorFirstName" : string, // user's first name
"CreatorLastName" : string, // user's last name
"CreationTimestamp" : string, // date and time of first post save operation
"UserId" : string, // unique identifier of the user
"Title" : string, // title of post
"Sticky" : boolean, // flag indicating whether post should be displayed at top of first index page
"Body" : string, // text of the comment
"PublicationTimestamp" : string, // date and time of post publication
"Feedback" : string, // administrative feedback
// "Edited*" fields are returned only for authenticated roles where a post has been previously approved and then subsequently modified.
"EditedTitle" : string, // title of post
"EditedSticky" : boolean, // flag indicating whether post should be displayed at top of first index page
'EditedBody' : string, // text of the comment
"EditedPublicationTimestamp" : string, // date and time of post publication
"Url" : string, // canonical URL for post
"Status" : string // approval status of post
}
}
The Error result will be a flat array of objects, which have keys for the message name and explanatory text.
{
"Error" : [
{ "Name" : string, "Message" : string },
{ "Name" : string, "Message" : string },
...
]
}
Default Permissions users may fetch only posts for their own blog.Network Administrator users may fetch posts for all blogs on their network.
Super Administrator users may fetch any post.
CreationTimestamp and PublicationTimestamp members of a success sub-object is ISO 8601 format.
Status member of a success sub-object are new_pending, approved, edit_pending, declined, deleted, draft.
Accept header with value application/vnd.compendium.blog;version=2 as part of the requestThe following example retrieves a post with the unique identifier of cde490de-0a63-4431-b5b5-c47045ef3f3a.
curl --insecure -H "Accept: application/json,application/vnd.compendium.blog;version=2" \ --user someuser:ixJiErykh7OhAjHwFTQ5ruNPILqVqTiyqR9ShVdr \ https://api.test.compendiumblog.com/app/post/cde490de-0a63-4431-b5b5-c47...