PUT
/
query-rewrite
/
instances
Create/update/delete query rewrites
curl --request PUT \
  --url https://{FUSION HOST}/api/query-rewrite/instances \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "delete": [
    "<string>"
  ],
  "update": [
    {}
  ],
  "create": [
    {}
  ]
}'
"<string>"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

context
string
required

The app to which this object belongs, as app:SomeApp. If the app doesn't exist, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.

editSessionId
string

The edit session ID associated with this request. Equivalent to a Fusion username.

checkUpdateConflict
boolean
default:false

Whether to check for conflicts caused by this update.

checkCreateConflict
boolean
default:false

Whether to check for conflicts caused by creating this query rewrite.

Body

application/json

Response

200 - application/octet-stream

OK

The response is of type string.