Rate this page:
GET /wiki/rest/api/longtask
Returns information about all active long-running tasks (e.g. space export), such as how long each task has been running and the percentage of each task that has completed.
Permissions required: Permission to access the Confluence site ('Can use' global permission).
App scope required: READ
integer
The starting index of the returned tasks.
0
, Minimum: 0
, Format: int32
integer
The maximum number of tasks to return per page. Note, this may be restricted by fixed system limits.
100
, Minimum: 0
, Format: int32
1 2 3
curl --request GET \
--url 'https://your-domain.atlassian.net/wiki/rest/api/longtask' \
--header 'Accept: application/json'
Returned if the requested tasks are returned.
Content type | Value |
---|---|
application/json |
GET /wiki/rest/api/longtask/{id}
Returns information about an active long-running task (e.g. space export), such as how long it has been running and the percentage of the task that has completed.
Permissions required: Permission to access the Confluence site ('Can use' global permission).
App scope required: READ
read:confluence-space.summary
string
The ID of the task.
1 2 3
curl --request GET \
--url 'https://your-domain.atlassian.net/wiki/rest/api/longtask/{id}' \
--header 'Accept: application/json'
Returned if the requested task is returned.
Content type | Value |
---|---|
application/json | allOf [LongTaskStatus, object] |
Rate this page: