operations
List operations allowed for the key and CAPTCHA configuration.
GET
/api/v1/operationsAPI scope Any valid key.
Request
Send Authorization: Bearer <key> with each request.
This endpoint takes no request body.
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request GET \
-H "Authorization: Bearer $MINEXON_API_KEY" \
"${MINEXON_BASE_URL}/api/v1/operations"Response
HTTP 200 · application/json
| Field | Type | Requirement | Description |
|---|---|---|---|
data | object | Required | Map from group and scope to method and path. |
captcha | object | Required | Provider, site_key and flow keyed by flow. |
data.<group>.<scope>.method | string | Conditional | HTTP method. |
data.<group>.<scope>.path | string | Conditional | API path with any placeholders. |
captcha.<flow> | object | Conditional | CAPTCHA widget object for a permitted flow. |
{
"data": {
"content": {
"content.news": {
"method": "GET",
"path": "/api/v1/{locale}/news"
}
}
},
"captcha": {}
}Flow and error cases
Empty permission groups are omitted. A permitted flow is omitted from captcha when its widget is disabled.