Hi!
What query should I provide to consume the /v1/taxonomy/grahql endpoint?
Hi!
What query should I provide to consume the /v1/taxonomy/grahql endpoint?
Hi!
Copy paste the query you create in the GraphiQL editor into the “query” field in the /graphql endpoint.
Link to GraphiQL editor:
https://taxonomy.api.jobtechdev.se/v1/taxonomy/graphiql
Example query:
query MyQuery {
concepts(type: “ssyk-level-1”) {
id
preferred_label
type
ssyk_code_2012
narrower {
id
preferred_label
type
ssyk_code_2012
narrower {
id
preferred_label
type
ssyk_code_2012
narrower {
id
preferred_label
type
definition
ssyk_code_2012
}
}
}
}
}
Example curl:
Cheers!