tech.waow.brand.getIcon
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "tech.waow.brand.getIcon",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidNamespace"
9
9
}
10
10
],
11
11
"output": {
12
12
"encoding": "*/*"
13
13
},
14
14
"parameters": {
15
15
"type": "params",
16
16
"required": [
17
17
"namespace"
18
18
],
19
19
"properties": {
20
20
"namespace": {
21
21
"type": "string",
22
22
"maxLength": 317,
23
-
"description": "The namespace or NSID to resolve, e.g. 'app.bsky.feed.post'. Shorter prefixes such as 'app.bsky' are accepted too, which is why this is not format 'nsid'."
23
+
"description": "A namespace, NSID, handle or DID to resolve. A namespace is reverse-DNS ('fm.plyr.song'); a handle is not ('plyr.fm'). Both are accepted and are distinguished exactly, since a namespace cannot resolve as an identity."
24
24
}
25
25
}
26
26
},
27
-
"description": "The icon for a namespace, as an image. Unlike getBrand this returns bytes, so the endpoint URL can be used directly as an <img> src with no client code. Always succeeds for a well-formed namespace, falling back to a generated monogram. The X-Brand-Source header carries the provenance getBrand would have reported. Does not require auth; results are not personalized."
27
+
"description": "The icon for a namespace, as an image. Unlike getBrand this returns bytes, so the endpoint URL can be used directly as an <img> src with no client code. Always succeeds for a well-formed namespace or identity, falling back to a generated monogram. The X-Brand-Source header carries the provenance getBrand would have reported. Does not require auth; results are not personalized."
28
28
}
29
29
},
30
30
"$type": "com.atproto.lexicon.schema",
31
31
"lexicon": 1
32
32
}