Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get recently used labels

Returns a paginated list of recently used labels within a Confluence instance. Labels are sorted from most to least recently used.

Example request URI’s: https://example.com/confluence/rest/api/label/recent https://example.com/confluence/rest/api/label/recent?start=2&limit=1

GET/rest/api/label/recent
Query parameters
limitstring

the limit of the number of labels to return, this may be restricted by fixed system limits

startstring

the start point of the collection to return.

Responses
200

a JSON representation of a list of labels, or an empty list if no labels are found.

resultsLabel[]
Show properties
Array of Label
prefixstring
namestring
idstring
labelstring
startnumber
limitnumber
sizenumber
_linksobject
Show properties
basestring
selfstring
contextstring
nextstring
prevstring
403

If the calling user does not have permission to retrieve recently used labels.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/label/recent' \
  -H 'Accept: application/json'
Response
{
  "results": [
    {
      "prefix": "my",
      "name": "label",
      "id": "1234",
      "label": "string"
    }
  ],
  "start": 25,
  "limit": 25,
  "size": 25,
  "_links": {
    "base": "http://localhost:8085/rest/api",
    "self": "http://localhost:8085/rest/api",
    "context": "http://localhost:8085/rest/api",
    "next": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50",
    "prev": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"
  }
}

Was this page helpful?