app.bivri.feed.updateArtwork
Schema Diff
+6 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
+
"errors": [
6
+
{
7
+
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
8
+
"name": "ConsentRequired"
9
+
}
10
+
],
5
11
"input": {
6
12
"encoding": "application/json",
7
13
"schema": {
8
14
"nullable": [
9
15
"description",
10
16
"tags",
11
17
"labels",
12
18
"langs"
13
19
],
14
20
"properties": {
15
21
"description": {
16
22
"description": "Replacement description. Send null to clear it; omit the field to leave it unchanged.",
17
23
"maxGraphemes": 300,
18
24
"maxLength": 3000,
19
25
"type": "string"
20
26
},
21
27
"labels": {
22
28
"description": "Replacement self-label values. Send null to clear them; omit the field to leave them unchanged.",
23
29
"refs": [
24
30
"com.atproto.label.defs#selfLabels"
25
31
],
26
32
"type": "union"
27
33
},
28
34
"langs": {
29
35
"description": "Replacement languages. Send null to clear them; omit the field to leave them unchanged.",
30
36
"items": {
31
37
"format": "language",
32
38
"type": "string"
33
39
},
34
40
"maxLength": 3,
35
41
"type": "array"
36
42
},
37
43
"media": {
38
44
"description": "Replacement images, in display order. Omit the field to leave them unchanged; the artwork cannot be left without any, and the items together may not exceed 200MB — a total this schema cannot express.",
39
45
"items": {
40
46
"ref": "app.bivri.feed.artwork#mediaItem",
41
47
"type": "ref"
42
48
},
43
49
"maxLength": 50,
44
50
"minLength": 1,
45
51
"type": "array"
46
52
},
47
53
"tags": {
48
54
"description": "Replacement set of tags. Send null to clear them; omit the field to leave them unchanged.",
49
55
"items": {
50
56
"maxGraphemes": 64,
51
57
"maxLength": 640,
52
58
"minLength": 1,
53
59
"type": "string"
54
60
},
55
61
"maxLength": 8,
56
62
"type": "array"
57
63
},
58
64
"title": {
59
65
"description": "Replacement title. Omit the field to leave it unchanged; the artwork cannot be left without one.",
60
66
"maxGraphemes": 50,
61
67
"maxLength": 500,
62
68
"minLength": 1,
63
69
"type": "string"
64
70
},
65
71
"uri": {
66
72
"description": "AT URI of the app.bivri.feed.artwork record to edit. It must live in the authenticated member's own repository.",
67
73
"format": "at-uri",
68
74
"type": "string"
69
75
}
70
76
},
71
77
"required": [
72
78
"uri"
73
79
],
74
80
"type": "object"
75
81
}
76
82
},
77
83
"output": {
78
84
"encoding": "application/json",
79
85
"schema": {
80
86
"properties": {
81
87
"cid": {
82
88
"description": "CID the edited record now carries.",
83
89
"format": "cid",
84
90
"type": "string"
85
91
},
86
92
"uri": {
87
93
"description": "AT URI of the edited artwork record.",
88
94
"format": "at-uri",
89
95
"type": "string"
90
96
}
91
97
},
92
98
"required": [
93
99
"uri",
94
100
"cid"
95
101
],
96
102
"type": "object"
97
103
}
98
104
},
99
105
"type": "procedure"
100
106
}
101
107
},
102
108
"description": "Edit an artwork the authenticated member owns. Only the fields present in the request change; the rest of the record is preserved as it stands at the member's PDS.",
103
109
"id": "app.bivri.feed.updateArtwork",
104
110
"lexicon": 1
105
111
}