Get a parameter
Spaces method and path for this operation:
get /s/{space_id}/api/synthetics/params/{id}
Refer to Spaces for more information.
Get a parameter from the Synthetics app. You must have read
privileges for the Synthetics feature in the Observability section of the Kibana feature privileges.
GET /api/synthetics/params/{id}
curl \ --request GET 'https://localhost:5601/api/synthetics/params/{id}' \ --header "Authorization: $API_KEY"
Response examples (200)
Read access
A successful response for a user with read-only permissions to get a single parameter.
{ "id": "unique-parameter-id", "key": "your-api-key", "description": "Param to use in browser monitor", "tags": ["authentication", "security"], "namespaces": ["namespace1", "namespace2"] }
A successful response for a user with write permissions to get a single parameter.
{ "id": "unique-parameter-id", "key": "your-param-key", "description": "Param to use in browser monitor", "tags": ["authentication", "security"], "namespaces": ["namespace1", "namespace2"], "value": "your-param-value" }