Справочник APIConsumerConsumer.devices
Fetch the authenticated device's issued HTTPS certs
Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.
Returns every issued per-device dns-01 HTTPS cert (PEM chain + private key) for the device's mesh names. Authenticated with the device session bearer token; the token's device must match the path.
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Device ID
Format
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/consumer/v1/devices/55555555-5555-5555-5555-555555555555/certs"{ "certs": [ { "cert_chain_pem": "string", "expires_at": "string", "fqdn": "string", "not_before": "string", "private_key_pem": "string" } ]}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}