• Access Mode
  • Admin Group
  • Admin User
  • Attachments
  • Backup and Restore
  • Category
  • Child Content
  • Content Blueprint
  • Content Body
  • Content Descendant
  • Content Labels
  • Content Property
  • Content Resource
  • Content Restrictions
  • Content Version
  • Content Watchers
  • GlobalColorScheme
  • Group
  • Instance Metrics
  • Label
  • Long Task
  • Server Information
  • Space
  • Space Label
  • Space Permissions
  • Space Property
  • Space Watchers
  • SpaceColorScheme
  • User
  • User Group
  • User Watch
  • Webhooks
  • Other operations
Server
Confluence Data Center / / REST API

Long Task

Postman Collection
OpenAPI
GET

Get task by ID

Returns information about a long-running task.

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

id

string

Required

Query parameters

expand

string

Responses

returns a full JSON representation of a long task.

application/json

LongTaskStatus
GET/rest/api/longtask/{id}
1 2 3 curl --request GET \ --url 'http://{baseurl}/confluence/rest/api/longtask/{id}' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 { "id": "<string>", "name": { "key": "<string>", "args": [ {} ], "translation": "<string>" }, "elapsedTime": 123456, "percentageComplete": 50, "successful": true, "messages": [ { "key": "<string>", "args": [ {} ], "translation": "<string>" } ] }
GET

Get tasks

Returns information about all tracked long-running tasks.

Forge and OAuth2 apps cannot access this REST resource.

Request

Query parameters

expand

string

limit

string

start

string

Responses

returns a full JSON representation of a list of long tasks.

application/json

object
GET/rest/api/longtask
1 2 3 curl --request GET \ --url 'http://{baseurl}/confluence/rest/api/longtask' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 { "results": [ { "id": "<string>", "name": { "key": "<string>", "args": [ {} ], "translation": "<string>" }, "elapsedTime": 123456, "percentageComplete": 50, "successful": true, "messages": [ { "key": "<string>", "args": [ {} ], "translation": "<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" } }

Rate this page: