Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CredentialListResponse

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CredentialListResponse",
  "type": "object",
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Credential"
      }
    },
    "user_id": {
      "type": "integer",
      "format": "int64"
    }
  },
  "required": [
    "user_id",
    "keys"
  ],
  "$defs": {
    "Credential": {
      "type": "object",
      "properties": {
        "backup_eligibility": {
          "type": "boolean"
        },
        "backup_state": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "credential_type": {
          "type": "string"
        },
        "fingerprint": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "last_used_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "sign_count": {
          "type": "integer",
          "format": "int64"
        },
        "transports": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "user_verified": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "fingerprint",
        "credential_type",
        "sign_count",
        "user_verified",
        "transports",
        "backup_eligibility",
        "backup_state",
        "created_at"
      ]
    }
  }
}