Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get the latest version of content labels when fetching via the /content endpoint

Steinar Sturlaugsson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2021

I'm fetching all pages via `/rest/api/content?expand=metadata.labels` and I've noticed that the set of labels I get is not the latest one. I assume that they are coming from a cache.

In contrast, I do get the latest set of labels when doing either:

`/rest/api/content/ID?expand=metadata.labels`

or

`/rest/api/content/ID/label`

I've got two questions:

* Is this expected behavior, and if so, how long do I have to wait until I get the latest version?

* Is it possible to force a refresh so I always get the latest version when I make a call to `/content` without specifying an ID?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events