Returns information about a long-running task.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
returns a full JSON representation of a long task.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/longtask/{id}' \
--header 'Accept: application/json'
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>"
}
]
}
Returns information about all tracked long-running tasks.
Forge and OAuth2 apps cannot access this REST resource.
string
string
string
returns a full JSON representation of a list of long tasks.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/longtask' \
--header 'Accept: application/json'
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: