-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Labels are added and removed through calls to members endpoints, but they are fetched with GET via their own endpoint in the admin API and this appears to be undocumented.
Example call to get labels
GET ghost/api/admin/labels/?limit=100&page=1
Example response when getting labels
{
"labels": [
{
"id": "6958473e4c66da000199e33e",
"name": "label1",
"slug": "label1",
"created_at": "2026-01-02T22:31:26.000Z",
"updated_at": "2026-01-02T22:31:26.000Z"
},
{
"id": "6958473e4c66da000199e33f",
"name": "label2",
"slug": "label2",
"created_at": "2026-01-02T22:31:26.000Z",
"updated_at": "2026-01-02T22:31:26.000Z"
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 100,
"pages": 1,
"total": 2,
"next": null,
"prev": null
}
}
}I'm reporting this after another SDK user noticed the absence as well:
Metadata
Metadata
Assignees
Labels
No labels