PostliftDevelopers
Documentation menu
API reference

Account

The objects, fields and constraints behind the API.

FieldType & constraints
idrequiredstring
usernamerequiredstring
displayNamerequiredstring
avatarUrlrequiredstring | null
statusrequiredstring
errorCoderequiredstring | null
connectedAtrequiredinteger
View JSON schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "username": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "avatarUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "errorCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "connectedAt": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "username",
    "displayName",
    "avatarUrl",
    "status",
    "errorCode",
    "connectedAt"
  ],
  "additionalProperties": true
}
← All data models