full diff

fyi.opensocial.applyLabel

From
bafyreihunwnfmvlhc2px6jl2ecgegurhily3v267g6rextvjpacugjtr3i indexed 2026-10-17 02:20 UTC View this version
To
bafyreiarqf5wpuqon3vcwjp6r4s2mhewvxubvx5vuvptqviveptrleteli indexed 2026-11-05 16:25 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.applyLabel:input.val", sort: "maxLength", value: "128" }

Migration guidance

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.applyLabel:input.val", sort: "maxLength", value: "128" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown. On the host's own queue, a template, a version of one or a like of one is labelled by the host: !hide leaves it out of where people look for things to add, and unsafe, on a version, sends every tab on it back to the last version that isn't.",
5 "description": "Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown.",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "group": {
11 "description": "The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.",
11 "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
1212 "format": "did",
1313 "type": "string"
1414 },
1515 "rule": {
1616 "format": "at-uri",
1717 "type": "string"
1818 },
1919 "subject": {
2020 "refs": [
2121 "com.atproto.admin.defs#repoRef",
2222 "com.atproto.repo.strongRef"
2323 ],
2424 "type": "union"
2525 },
2626 "val": {
27 "maxLength": 128,
2728 "type": "string"
2829 }
2930 },
3031 "required": [
3132 "group",
3233 "subject",
3334 "val"
3435 ],
3536 "type": "object"
3637 }
3738 },
3839 "output": {
3940 "encoding": "application/json",
4041 "schema": {
41 "description": "The label record a group's label is; nothing for the host's own, which it keeps itself.",
42 "description": "The label record written.",
4243 "properties": {
4344 "cid": {
4445 "format": "cid",
4546 "type": "string"
4647 },
4748 "uri": {
4849 "format": "at-uri",
4950 "type": "string"
5051 }
5152 },
5253 "type": "object"
5354 }
5455 },
5556 "type": "procedure"
5657 }
5758 },
5859 "id": "fyi.opensocial.applyLabel",
5960 "lexicon": 1
6061}

Compare other versions