PUT
/
query-rewrite
/
{type}
{
  "app": "<string>",
  "type": "<string>",
  "enabled": false,
  "numDeployed": 123,
  "collection": "<string>",
  "job": "<string>",
  "lastDeployedOn": "2023-11-07T05:31:56Z",
  "lastJobStatus": {
    "resource": {
      "type": "APPKIT_APP",
      "id": "<string>",
      "canonicalName": "<string>",
      "uri": "<string>"
    },
    "runId": "<string>",
    "startTime": "2023-11-07T05:31:56Z",
    "endTime": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "error": {
      "message": "<string>",
      "detail": "<string>"
    },
    "extra": {},
    "startedBy": "<string>"
  }
}

Path Parameters

type
string
required

The type of query rewrite

Query Parameters

context
string

The current Fusion application Id

Body

application/json

The new status to be updated

The body is of type object.

Response

200 - application/json

successful operation

The response is of type object.