Body
application/json · object
import requests
url = "http://api/apollo/index-pipelines"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}The pipeline name is omitted from the path; it must be included in the definition in the request body
import requests
url = "http://api/apollo/index-pipelines"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}Was this page helpful?