GET
/
workspace
/
posts
/
{workspaceId}
curl --request GET \
  --url https://api.hyra.io/workspace/posts/{workspaceId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "_id": "<string>",
    "image_url": "<string>",
    "title": "<string>",
    "category": "<string>",
    "body": "<string>",
    "published_by": "<string>",
    "workspace": "<string>",
    "type": "featured",
    "dominant_colour": "<string>",
    "text_dark": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Response

200 - application/json

Default Response

The response is of type object[].