com.atproto.admin.get_subject_status#
- pydantic model atproto.xrpc_client.models.com.atproto.admin.get_subject_status.Params#
Bases:
ParamsModelBase
Parameters model for
com.atproto.admin.getSubjectStatus
.Show JSON schema
{ "title": "Params", "description": "Parameters model for :obj:`com.atproto.admin.getSubjectStatus`.", "type": "object", "properties": { "blob": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Blob" }, "did": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Did" }, "uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uri" } }, "additionalProperties": false }
- field blob: Optional[str] = None#
Blob.
- field did: Optional[str] = None#
Did.
- field uri: Optional[str] = None#
Uri.
- class atproto.xrpc_client.models.com.atproto.admin.get_subject_status.ParamsDict#
Bases:
TypedDict
- blob: typing_extensions.NotRequired[Optional[str]]#
Blob.
- did: typing_extensions.NotRequired[Optional[str]]#
Did.
- uri: typing_extensions.NotRequired[Optional[str]]#
Uri.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.get_subject_status.Response#
Bases:
ResponseModelBase
Output data model for
com.atproto.admin.getSubjectStatus
.Show JSON schema
{ "title": "Response", "description": "Output data model for :obj:`com.atproto.admin.getSubjectStatus`.", "type": "object", "properties": { "subject": { "discriminator": { "mapping": { "com.atproto.admin.defs#repoBlobRef": "#/$defs/RepoBlobRef", "com.atproto.admin.defs#repoRef": "#/$defs/RepoRef", "com.atproto.repo.strongRef": "#/$defs/Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/Main" }, { "$ref": "#/$defs/RepoBlobRef" } ], "title": "Subject" }, "takedown": { "anyOf": [ { "$ref": "#/$defs/StatusAttr" }, { "type": "null" } ], "default": null } }, "$defs": { "Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" }, "RepoBlobRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "did": { "title": "Did", "type": "string" }, "recordUri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Recorduri" }, "$type": { "const": "com.atproto.admin.defs#repoBlobRef", "default": "com.atproto.admin.defs#repoBlobRef", "title": "$Type" } }, "required": [ "cid", "did" ], "title": "RepoBlobRef", "type": "object" }, "RepoRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoRef", "default": "com.atproto.admin.defs#repoRef", "title": "$Type" } }, "required": [ "did" ], "title": "RepoRef", "type": "object" }, "StatusAttr": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "applied": { "title": "Applied", "type": "boolean" }, "ref": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Ref" }, "$type": { "const": "com.atproto.admin.defs#statusAttr", "default": "com.atproto.admin.defs#statusAttr", "title": "$Type" } }, "required": [ "applied" ], "title": "StatusAttr", "type": "object" } }, "additionalProperties": false, "required": [ "subject" ] }
- Fields:
- field subject: Union[models.ComAtprotoAdminDefs.RepoRef, models.ComAtprotoRepoStrongRef.Main, models.ComAtprotoAdminDefs.RepoBlobRef][Union[models.ComAtprotoAdminDefs.RepoRef, models.ComAtprotoRepoStrongRef.Main, models.ComAtprotoAdminDefs.RepoBlobRef]] [Required]#
- field takedown: Optional[models.ComAtprotoAdminDefs.StatusAttr] = None#
Takedown.