PUT
/
query-rewrite
/
publish
Publish query rewrites
curl --request PUT \
  --url https://{FUSION HOST}/api/query-rewrite/publish \
  --header 'Authorization: Basic <encoded-value>'
"<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.

noOptimizeWithin
integer

The number of seconds to wait after a publish before optimizing the query rewrite collection.

Response

200 - application/octet-stream

OK

The response is of type string.