Check the integrity of the index.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns status of Index.
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/assets/1.0/index/checkNodeIntegrity' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
{
"objectJiraIssueIndexOk": true,
"objectSchemaIndexOk": true,
"objectTypeAttributeIndexOk": true,
"objectTypeIndexOk": true,
"objectIndexOk": true,
"reindexNeeded": true
}
Get the path to the current Assets Index.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns the path to the current Assets Index.
IndexPathEntry
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/assets/1.0/index/path' \
--header 'Accept: application/json'
Persist the current Assets Index to a file on disk.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns if the index was persisted successfully.
IndexPersistResponseEntry
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/index/persist' \
--header 'Accept: application/json'
Start an asynchronous reindex of the Assets Index for the current node.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns the progress of the reindex.
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/index/reindex/currentnode' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"progressInPercent": 2154,
"resourceId": "<string>",
"category": "<string>",
"status": "<string>",
"stepDescription": "<string>",
"currentStep": 2154,
"numberOfSteps": 2154,
"currentWorkUnits": 2154,
"currentWorkDescription": "<string>",
"currentStepTotalWorkUnits": 2154,
"totalWorkUnits": 2154,
"result": "<string>",
"resultData": {},
"resultMessage": "<string>",
"actor": "<string>",
"startDate": "<string>",
"finishedDate": "<string>",
"estimatedFinishDate": "<string>"
}
Start an asynchronous reindex of the Assets Index for the entire cluster.
Forge and OAuth2 apps cannot access this REST resource.
string
Returns the progress of the reindex.
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/index/reindex/start' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"progressInPercent": 2154,
"resourceId": "<string>",
"category": "<string>",
"status": "<string>",
"stepDescription": "<string>",
"currentStep": 2154,
"numberOfSteps": 2154,
"currentWorkUnits": 2154,
"currentWorkDescription": "<string>",
"currentStepTotalWorkUnits": 2154,
"totalWorkUnits": 2154,
"result": "<string>",
"resultData": {},
"resultMessage": "<string>",
"actor": "<string>",
"startDate": "<string>",
"finishedDate": "<string>",
"estimatedFinishDate": "<string>"
}
Rate this page: