Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
The app to which this object belongs, as app:SomeApp.
Body
application/json
The request is a JSON body defining the new query pipeline.  Only the id field is required to create a pipeline with no stages.  Include a stages array with at least the type field per stage to create a working pipeline.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The app to which this object belongs, as app:SomeApp.