Skip to main content
PUT
/
query-pipelines
/
{id}
Update a query pipeline
import requests

url = "https://{FUSION HOST}/api/query-pipelines/{id}"

payload = {
    "id": "<string>",
    "stages": [
        {
            "type": "<string>",
            "id": "<string>",
            "skip": True,
            "label": "<string>",
            "condition": "<string>"
        }
    ],
    "properties": {}
}
headers = {
    "Authorization": "Basic <encoded-value>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
{
  "id": "<string>",
  "stages": [
    {
      "type": "<string>",
      "id": "<string>",
      "skip": true,
      "label": "<string>",
      "condition": "<string>"
    }
  ],
  "properties": {}
}

Authorizations

Authorization
string
header
required

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

Headers

ifMatch
object

An optional tag to match.

Path Parameters

id
string
required

The query pipeline ID.

Query Parameters

context
string

The app to which this object belongs, as app:SomeApp.

Body

application/json
id
string

The query pipeline ID.

stages
object[]

The stages in this query pipeline.

properties
object

Response

200 - application/json

OK

id
string

The query pipeline ID.

stages
object[]

The stages in this query pipeline.

properties
object