Admin

Create or update a changelog entry by slug

Changed on

Platform moderator/admin only. slug plus any subset of entry fields. A complete body (kind, version, dateLabel, title, sections) creates the slug when absent — 201 on create, 200 on re-save; a partial body updates an existing entry only (VALIDATION_ERROR when absent). tags accepts the client wire shape — plain labels or {label, platform?} objects; sections/bullets are validated the same way. A write never touches status/publishedAt — publish separately.

post/api/admin/changelog

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Request body

slugstring required
kind'STORE_RELEASE' | 'OTA_UPDATE'

STORE_RELEASE ships no updateIds; OTA_UPDATE requires at least one on create (merged pair is checked on partial writes).

versionstring

Client-facing app/build version, e.g. 1.31.0.

updateIdsstring[]

Expo/EAS update ids this entry covers (OTA_UPDATE only).

dateLabelstring

Verbatim display label, e.g. October 2026 — not a timestamp.

titlestring
titlePlatform'ios' | 'android' | 'all' nullable

Audience override for the heading line.

platform'ios' | 'android' | 'all' nullable

Audience filter for the whole entry; null/all = every client.

Response

{ success, data: AdminChangelogEntry } — an existing entry was updated.

Changes