Admin Editorials

List editorials

Returns editorials newest first, paginated. Total counts are returned in the X-Total-Count and X-Total-Pages response headers.

get/v1/admin/editorials

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Query parameters

pageinteger

Page number (1-based).

per_pageinteger

Items per page.

Response

Editorials

idinteger
titlestring
captionstring nullable
boostedboolean

Pins the post to page 1 of the explore feed.

positioninteger nullable

Ordering among boosted posts; unset positions sort last.

expires_atstring date-time nullable

Set to retire a post; unset or future means active.

created_atstring date-time
updated_atstring date-time

Example response

[
  {
    "id": 7,
    "title": "Launch week",
    "caption": "What's new this week",
    "position": 1,
    "media": [
      {
        "id": 42,
        "editorial_id": 7,
        "position": 1,
        "media_type": "photo",
        "s3_bucket": "hify-editorials",
        "s3_path": "launch/hero.jpg",
        "thumbnail_s3_path": "launch/hero-thumb.jpg"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.