full diff

at.happyproto.registry.putStatus

happyproto.at +4 −0
From
bafyreihjmpcok36b2lasrdnwsyjqcc5hsylluwdv5vos6cb575ywzmeyxa indexed 2026-10-26 21:34 UTC View this version
To
bafyreieqcghpwd5je6kc7cnnfrlp5uzhegeziezyvrsb6suvw7ydncookm indexed 2026-11-01 21:46 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Add a software.release.status record about one of the caller's projects or versions. Statuses are never edited or deleted: to cancel one, add another with status `withdrawn` that names it in `withdraws`.",
66 "errors": [
77 {
88 "description": "The caller's identity could not be determined, so there is no repo to write to.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The registry has no identity configured. An operator problem, not a caller's.",
1313 "name": "NotConfigured"
1414 },
1515 {
1616 "description": "The input breaks a rule the registry applies, so it would refuse the records. The message names the field.",
1717 "name": "InvalidRecord"
1818 },
1919 {
20 "description": "The input breaks the method's lexicon, such as a field of the wrong format or past its length, and HappyView refused it before the registry saw it. The message names the field.",
21 "name": "InvalidRequest"
22 },
23 {
2024 "description": "A record could not be written to the caller's repo. Records written before the failure stay, and the same call can be made again.",
2125 "name": "Upstream"
2226 },
2327 {
2428 "description": "The subject, or the status named in withdraws, is not an indexed record of the caller's.",
2529 "name": "SubjectNotFound"
2630 },
2731 {
2832 "description": "The status is missing a field it requires, such as supersededBy or withdraws, or names one that is not valid.",
2933 "name": "InvalidStatus"
3034 }
3135 ],
3236 "input": {
3337 "encoding": "application/json",
3438 "schema": {
3539 "properties": {
3640 "kind": {
3741 "description": "Why, as a category a client can act on.",
3842 "knownValues": [
3943 "security",
4044 "broken",
4145 "superseded"
4246 ],
4347 "maxLength": 64,
4448 "type": "string"
4549 },
4650 "reason": {
4751 "description": "Why, in words shown to operators.",
4852 "maxGraphemes": 300,
4953 "maxLength": 3000,
5054 "type": "string"
5155 },
5256 "status": {
5357 "description": "An ECMA-428 event type. `endOfDevelopment`, `endOfSupport` and `supersededBy` deprecate the subject; `endOfDistribution` makes it unavailable; `endOfLife` retires it; `withdrawn` cancels the status named in `withdraws`.",
5458 "knownValues": [
5559 "endOfDevelopment",
5660 "endOfSupport",
5761 "supersededBy",
5862 "endOfDistribution",
5963 "endOfLife",
6064 "withdrawn"
6165 ],
6266 "maxLength": 64,
6367 "type": "string"
6468 },
6569 "subject": {
6670 "description": "The caller's software.release.project or software.release.version the status is about.",
6771 "format": "at-uri",
6872 "type": "string"
6973 },
7074 "supersededBy": {
7175 "description": "Required when status is `supersededBy`: the version of the same project to use instead.",
7276 "maxLength": 64,
7377 "minLength": 1,
7478 "type": "string"
7579 },
7680 "withdraws": {
7781 "description": "Required when status is `withdrawn`: the caller's software.release.status record to cancel.",
7882 "format": "at-uri",
7983 "type": "string"
8084 }
8185 },
8286 "required": [
8387 "subject",
8488 "status"
8589 ],
8690 "type": "object"
8791 }
8892 },
8993 "output": {
9094 "encoding": "application/json",
9195 "schema": {
9296 "properties": {
9397 "cid": {
9498 "format": "cid",
9599 "type": "string"
96100 },
97101 "uri": {
98102 "description": "The software.release.status written.",
99103 "format": "at-uri",
100104 "type": "string"
101105 }
102106 },
103107 "required": [
104108 "uri",
105109 "cid"
106110 ],
107111 "type": "object"
108112 }
109113 },
110114 "type": "procedure"
111115 }
112116 },
113117 "id": "at.happyproto.registry.putStatus",
114118 "lexicon": 1
115119}

Compare other versions