Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here. |
On this page:
|
---|
Re-index with "Index in the background" option
Method | POST |
---|---|
URL | /rest/jip-api/1.0/index/lucene/reindex.json |
Code Block | ||
---|---|---|
Expand | ||
| ||
[ "SnapBytes.Index.Checker",
null,
null,
604800000,
{
0,
0,
"",
false,
false,
0
false,
true
"SnapBytes.Index.Builder",
null,
null,
0,
{
0,
0,
"",
false,
true,
0
false,
true
|
...
|
Re-index with "Delete all indexes and rebuild" option
Method | POST |
---|---|
URL | /rest/jip-api/1.0/index/lucene/rebuild.json |
Expand | ||
---|---|---|
| ||
[ { "jobName" : "SnapBytes.Index.Checker", "lastExecutionTime" : null, "lastExecutionTimeFormatted" : null, "interval" : 604800000, "jobState" : { "totalRecords" : 0, "processedRecords" : 0, "lastProcessMessage" : "", "abortPending" : false, "running" : false, "completedPercentage" : 0 }, "running" : false, "scheduled" : true }, { "jobName" : "SnapBytes.Index.Builder", "lastExecutionTime" : null1618825535956, "lastExecutionTimeFormatted" : " : null19/04/2021 10:45 AM", "interval" : 0, "jobState" : { "totalRecords" : 0, "processedRecords" : 0, "lastProcessMessage" : "", "abortPending" : false, "running" : truefalse, "completedPercentage" : 0 }, "running" : false, "scheduled" : true } ]
|
Index single asset
Method | GET |
---|---|
URL | /rest/jip-api/1.0/index/doc/asset/{ASSET_ID}.json |
Success response: Asset indexed.