Query Daedalus

Query Daedalus

Sends a GraphQL query to Daedalus for a specific catalog. If not catalog_id is sent as query param then the first private catalog of the org is picked by default

Request
URI
POST
https://{api_host}/v1/daedalus/graphql
COPY
Query Parameters
catalog_id
Optional

A string as the identifier of a catalog


Request Body

It contains the query to send to daedalus

string of type(s) application/json
Required
"DaedalusRequest Object"
Authentication
This operation uses the following authentication methods.
Responses
200

Daedalus response

Returns string of type(s) application/json
"DaedalusResponse Object"

400

An error related to the request

Returns ConstraintsViolationsError of type(s) application/problem+json
This response body class contains all of the following: InlineConstraintsViolationsError0
"ConstraintsViolationsError Object"
array of object
violations
Required

It represents a constraints violation error


403

The requesting user is not authorized to query Daedalus

Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: InlineError4030
"Error403 Object"

404

The catalog is not found

Returns Error404 of type(s) application/problem+json
This response body class contains all of the following: InlineError4040
"Error404 Object"

500

An internal server error object

Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: InlineError5000
"Error500 Object"

503

The server is temporarily unavailable

Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: InlineError5030
"Error503 Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/v1/daedalus/graphql