The request is a JSON body defining the new parser. Only the id
field is required to create a new parser that contains no stages. Use /api/parsers/_schema
to get the schema for parserStages
and other parser configuration keys.
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
. If the app doesn't exist, the request fails. Other comma-separated contexts in the context
parameter are allowed but ignored.
Created
The response is of type object
.