Upload debug log entries
POST/api/v1/gateways/:gatewayId/logs
Accepts a batch of SDK debug log entries and queues them for storage. Used for remote debugging when triggered by FCM or a config flag.
A gateway an administrator has disabled is refused with 403
gateway_disabled. Disabling also revokes its tokens, so it normally
sees 401 token_revoked first; the 403 is what it gets if a token
survived. Uploads can still be accepted for up to 30 seconds
after a disable.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 429
- 503
Log batch accepted and queued.
Invalid request.
Invalid or expired credentials.
Gateway is disabled.
Gateway not found (gateway_not_found): the path gatewayId is not a
UUID, does not match the gateway the bearer token was issued to, or has
no registration. Not retryable.
Rate limited.
Service temporarily unavailable.