Generate Sitemap
POST/build
Generates a sitemap from a GraphQL query to WordLift KG. You must provide a valid GraphQL query as the request body.
Request
- application/json
Body
required
query string
operationName string
Responses
- 200
- 400
- 401
- 500
Successful response
- application/json
- Schema
- Example (from schema)
Schema
sitemap string
The generated sitemap in XML format.
{
"sitemap": "string"
}
Bad Request
Unauthorized
Internal Server Error