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
_id
string
required
image_url
string
required
title
string
required
category
string
required
body
string
required
published_by
string
required
workspace
string
required
type
enum<string>
required
Available options:
featured,
small
dominant_colour
string
required
text_dark
boolean
required
createdAt
string
required
updatedAt
string
required