Disaster Recovery

Get the recovery allowances

curl https://api.subscriby.net/v1/recovery/allowances \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN"

One row per kind, plus the window they are counted in.

  • self_service_remaining is what the rolling window still allows on its own; grant_remaining is what support has released on top and not yet spent. remaining is their sum and allowed whether a recovery of that kind would start right now.
  • uses_grant is true when the next recovery would spend a support grant rather than the self-service allowance.
  • next_self_service_at is when the self-service allowance returns, null while it is available. last_used_at is when the kind was last recovered inside the window.

See Allowances and support review for the rule and what support audits before releasing a grant.

get/v1/recovery/allowances

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/recovery/allowances
  • Auth: HTTP bearer

Response

Array of RecoveryAllowanceResource

Example response

{
  "data": [
    {
      "kind": "account",
      "kind_label": "Telegram Account",
      "self_service_remaining": 1,
      "remaining": 1,
      "allowed": true
    }
  ],
  "meta": {
    "window_days": 90,
    "self_service_uses": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.