cURL
curl --request GET \ --url http://localhost:3001/portal-api/posts/{post_id} \ --header 'Authorization: <api-key>'
{ "ID": "<string>", "Title": "<string>", "Lede": "<string>", "Content": "<string>", "Status": "<string>", "Path": "<string>", "Categories": [ { "ID": "<string>", "Name": "<string>", "CreatedAt": "2023-06-25 13:37", "UpdatedAt": "2023-06-25 13:37" } ], "Tags": [ { "ID": "<string>", "Name": "<string>", "CreatedAt": "2023-06-25 13:37", "UpdatedAt": "2023-06-25 13:37" } ], "MarkdownEnabled": true, "MarkdownContent": "<string>", "PreviewContent": "<string>", "CreatedAt": "2023-06-25 13:37", "UpdatedAt": "2023-06-25 13:37" }
Get a specific post by its ID.
Show child attributes
Was this page helpful?