Skip to main content

Interface: Label

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:18

Metadata tag on an atproto resource (eg, repo or record).

Properties​

$type?​

optional $type: "com.atproto.label.defs#label"

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:19


cid?​

optional cid: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:27

Optionally, CID specifying the specific version of 'uri' resource this label applies to.


cts​

cts: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:33

Timestamp when this label was created.


exp?​

optional exp: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:35

Timestamp at which this label expires (no longer applies).


neg?​

optional neg: boolean

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:31

If true, this is a negation label, overwriting a previous label.


sig?​

optional sig: Uint8Array

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:37

Signature of dag-cbor encoded label.


src​

src: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:23

DID of the actor who created this label.


uri​

uri: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:25

AT URI of the record, repository (account), or other resource that this label applies to.


val​

val: string

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:29

The short string name of the value or type of this label.


ver?​

optional ver: number

Defined in: web/lib/api/generated/types/com/atproto/label/defs.ts:21

The AT Protocol version of the label object.