com.atproto.server.describe_server#

Bases: ModelBase

Definition model for com.atproto.server.describeServer.

Show JSON schema
{
   "title": "Links",
   "description": "Definition model for :obj:`com.atproto.server.describeServer`.",
   "type": "object",
   "properties": {
      "privacyPolicy": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Privacypolicy"
      },
      "termsOfService": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Termsofservice"
      },
      "$type": {
         "const": "com.atproto.server.describeServer#links",
         "default": "com.atproto.server.describeServer#links",
         "title": "$Type"
      }
   },
   "additionalProperties": false
}

Fields:
field privacy_policy: Optional[str] = None (alias 'privacyPolicy')#

Privacy policy.

field py_type: typing_extensions.Literal[com.atproto.server.describeServer#links] = 'com.atproto.server.describeServer#links' (alias '$type')#
field terms_of_service: Optional[str] = None (alias 'termsOfService')#

Terms of service.

pydantic model atproto.xrpc_client.models.com.atproto.server.describe_server.Response#

Bases: ResponseModelBase

Output data model for com.atproto.server.describeServer.

Show JSON schema
{
   "title": "Response",
   "description": "Output data model for :obj:`com.atproto.server.describeServer`.",
   "type": "object",
   "properties": {
      "availableUserDomains": {
         "items": {
            "type": "string"
         },
         "title": "Availableuserdomains",
         "type": "array"
      },
      "inviteCodeRequired": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Invitecoderequired"
      },
      "links": {
         "anyOf": [
            {
               "$ref": "#/$defs/Links"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "Links": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.server.describeServer`.",
         "properties": {
            "privacyPolicy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Privacypolicy"
            },
            "termsOfService": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Termsofservice"
            },
            "$type": {
               "const": "com.atproto.server.describeServer#links",
               "default": "com.atproto.server.describeServer#links",
               "title": "$Type"
            }
         },
         "title": "Links",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "availableUserDomains"
   ]
}

Fields:
field available_user_domains: List[str] [Required] (alias 'availableUserDomains')#

Available user domains.

field invite_code_required: Optional[bool] = None (alias 'inviteCodeRequired')#

Invite code required.

Links.