Specify a query to fetch document IDs. Pass this list of IDs to other service calls (e.g. to patch properties or sections).
Example
curl -n
-s "https://example.com/confluence/rest/projectdoc/1/document.json?select=Name&from=SPACEKEY&where=%24%3CDokumenttyp%3E%3D%5Bit-service%5D" | jq .
{
"size": 63,
"start-index": 0,
"max-result": 63,
"id-list": "6291527,6291530,8520652,8520665,7308961,6295008,6295086,6295038,...,6291777,6291781,6291783",
"document": [
{
"id": 6291527,
...
The value for id-list
may be used to patch this set of documents.
Resources
Related information on using REST APIs (with cURL) to integrate with remote information systems.