Forces the provided repositories to reindex with the search server. For each repository the current index on the search server will be deleted and it will be queued for re-indexing. Note that this can result in diminished instance performance as deleting and reindexing a large repository can take some time
array<RestRepositorySelector>
string
string
This status code has no content.
1
2
3
4
5
6
7
8
9
curl --request POST \
--url 'http://{baseurl}/rest/indexing/latest/reindex' \
--header 'Content-Type: application/json' \
--data '[
{
"projectKey": "PRJ",
"slug": "my-repo"
}
]'
Restarts the search indexing worker thread. By default this will cause the currently running queue event to be terminated. This behaviour can be modified by providing the graceful shutdown flag in the request.
boolean
boolean
any
1
2
3
4
5
6
7
8
curl --request POST \
--url 'http://{baseurl}/rest/indexing/latest/restart' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"gracefulShutdown": true,
"waitForRestart": true
}'
Returns a page of pull requests in the user's inbox.
string
integer
integer
default response
any
1
2
curl --request GET \
--url 'http://{baseurl}/rest/api/latest/inbox/pull-requests'
Returns the total number of pull requests in the user's inbox
This request has no parameters.
default response
any
1
2
curl --request GET \
--url 'http://{baseurl}/rest/api/latest/inbox/pull-requests/count'
Rate this page: