Resynchronize Deployments
Resynchronizes the search index for all the deployments.
Query parameters
-
skip_matching_version boolean
When true, skips the document indexing when the version matches the in-memory copy.
Default value is
true
.
POST /deployments/_resync
curl \
-X POST https://{{hostname}}/api/v1/deployments/_resync
Response examples (200)
{
"created": [
"string"
],
"updated": [
"string"
],
"deleted": [
"string"
],
"errors": [
"string"
]
}
Response examples (500)
# Headers
x-cloud-error-codes: deployments.resync_failed
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}