POST /projects/{project_id}/domains/query
Request a quote, the status or the DNS from the console
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required | |
Idempotency-Key | header | string · required |
Request body
application/json
| Field | Type | Description |
|---|---|---|
type | "domain.quote" | "domain.inspect" | "domain.dns.read" · required | |
input | object · required |
Responses
| Status | Description | Body |
|---|---|---|
202 | Read queued | JobSubmissionResponse |
422 | Invalid parameters | Error |
503 | job_projection_invalid: the server refuses to publish a result that does not satisfy its closed public schema | Error |
Examples
curl
curl -X POST "$GALON_API_BASE/projects/<project_id>/domains/query" \
-H "Authorization: Bearer $GALON_API_KEY" \
-H "Idempotency-Key: <unique-key>" \
-H "Content-Type: application/json" \
-d '{"type": "domain.quote", "input": {}}'