К содержимому

BrowserAuthSession ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
modeДаstringenum: ["api_only","saml","anonymous"]
authenticatedДаboolean
read_accessДаboolean
userДаobject / nulladditionalProperties: false
expires_atДаstring / nullformat: "date-time"

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "mode",
    "authenticated",
    "read_access",
    "user",
    "expires_at"
  ],
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "api_only",
        "saml",
        "anonymous"
      ]
    },
    "authenticated": {
      "type": "boolean"
    },
    "read_access": {
      "type": "boolean"
    },
    "user": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "display_name"
      ],
      "properties": {
        "display_name": {
          "type": "string"
        }
      }
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

Все схемы · HTTP API