Admin

Partially update a changelog entry

Changed on

Platform moderator/admin only. Partial write: omitted fields keep their stored value (passing null clears platform/titlePlatform). Requires at least one field. Draft rows never reach GET /api/mobile/changelog — only POST .../publish exposes an entry — but saving an already-published row takes effect on the next read (single-row status-flip model). PATCH is an alias of PUT.

put/api/admin/changelog/{slug}

Request

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

Path parameters

slugstring required

Changelog slug derived from the version, e.g. 1-31-0.

Request body

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 }

Changes