Skip to main content
GET
/
posts
/
{post_id}
/
categories
List categories for a post
curl --request GET \
  --url http://localhost:3001/portal-api/posts/{post_id}/categories \
  --header 'Authorization: <api-key>'
[
  {
    "ID": "<string>",
    "Name": "<string>",
    "CreatedAt": "2023-06-25 13:37",
    "UpdatedAt": "2023-06-25 13:37"
  }
]

Authorizations

Authorization
string
header
required

Path Parameters

post_id
integer
required
Example:

Response

200 - application/json
ID
string
Name
string
CreatedAt
string
Example:
UpdatedAt
string
Example: