I’m making requests to the /wiki/rest/api/content/search
API and getting unexpected URLs back for the prev
_link. It appears to be returning the current cursor, not the previous one.
For example, this request:
/wiki/rest/api/content/search?cql=space%3D%22ENG%22&limit=10&expand=space%2Cversion%2Cmetadata.properties.markedForArchive&cursor=_f_MzA%3D_sa_WyJcdDQxODQ4MzQwNTEgIUNuNy1daSVKTEpddHVLRiZURFxcIGNwIl0%3D
will return a [response]._links.prev
that includes a cursor
parameter that is the same as the one requested: _f_MzA=_sa_WyJcdDQxODQ4MzQwNTEgIUNuNy1daSVKTEpddHVLRiZURFxcIGNwIl0=
and not the previous set.