Music streaming on ATProto!
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(lexicons): actor.getProfile

+98 -9
+28
packages/lexicons/defs/sh/comet/v0/actor/getProfile.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.comet.v0.actor.getProfile", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "Get the profile view of an actor.", 8 + "parameters": { 9 + "type": "params", 10 + "required": ["actor"], 11 + "properties": { 12 + "actor": { 13 + "type": "string", 14 + "format": "at-identifier", 15 + "description": "Handle or DID of account to fetch profile of." 16 + } 17 + } 18 + }, 19 + "output": { 20 + "encoding": "application/json", 21 + "schema": { 22 + "type": "ref", 23 + "ref": "sh.comet.v0.actor.profile#view" 24 + } 25 + } 26 + } 27 + } 28 + }
+67 -4
packages/lexicons/defs/sh/comet/v0/actor/profile.json
··· 31 31 "accept": ["image/png", "image/jpeg"], 32 32 "maxSize": 1000000 33 33 }, 34 - "featured": { 34 + "banner": { 35 + "type": "blob", 36 + "description": "Larger horizontal image to display behind profile view.", 37 + "accept": ["image/png", "image/jpeg"], 38 + "maxSize": 1000000 39 + }, 40 + "featuredItems": { 35 41 "type": "array", 36 42 "description": "Pinned items to be shown first on the user's profile.", 37 43 "maxLength": 5, ··· 41 47 } 42 48 } 43 49 }, 44 - "view": {}, 45 - "viewBasic": { 50 + "view": { 51 + "type": "object", 52 + "required": ["did", "handle"], 53 + "properties": { 54 + "did": { "type": "string", "format": "did" }, 55 + "handle": { "type": "string", "format": "handle" }, 56 + "displayName": { 57 + "type": "string", 58 + "maxGraphemes": 64, 59 + "maxLength": 640 60 + }, 61 + "description": { 62 + "type": "string", 63 + "maxGraphemes": 256, 64 + "maxLength": 2560 65 + }, 66 + "descriptionFacets": { 67 + "type": "ref", 68 + "ref": "sh.comet.v0.richtext.facet" 69 + }, 70 + "avatar": { "type": "string", "format": "uri" }, 71 + "indexedAt": { "type": "string", "format": "datetime" }, 72 + "createdAt": { "type": "string", "format": "datetime" }, 73 + "viewer": { "type": "unknown", "description": "TODO" } 74 + } 75 + }, 76 + "viewFull": { 46 77 "type": "object", 47 - "properties": {} 78 + "required": ["did", "handle"], 79 + "properties": { 80 + "did": { "type": "string", "format": "did" }, 81 + "handle": { "type": "string", "format": "handle" }, 82 + "displayName": { 83 + "type": "string", 84 + "maxGraphemes": 64, 85 + "maxLength": 640 86 + }, 87 + "description": { 88 + "type": "string", 89 + "maxGraphemes": 256, 90 + "maxLength": 2560 91 + }, 92 + "descriptionFacets": { 93 + "type": "ref", 94 + "ref": "sh.comet.v0.richtext.facet" 95 + }, 96 + "avatar": { "type": "string", "format": "uri" }, 97 + "banner": { "type": "string", "format": "uri" }, 98 + "followersCount": { "type": "integer" }, 99 + "followsCount": { "type": "integer" }, 100 + "tracksCount": { "type": "integer" }, 101 + "playlistsCount": { "type": "integer" }, 102 + "indexedAt": { "type": "string", "format": "datetime" }, 103 + "createdAt": { "type": "string", "format": "datetime" }, 104 + "featuredItems": { 105 + "type": "array", 106 + "maxLength": 5, 107 + "items": { "type": "string", "format": "at-uri" } 108 + }, 109 + "viewer": { "type": "unknown", "description": "TODO" } 110 + } 48 111 } 49 112 } 50 113 }
-2
packages/lexicons/defs/sh/comet/v0/feed/defs.json
··· 31 31 "properties": { 32 32 "like": { "type": "string", "format": "at-uri" }, 33 33 "repost": { "type": "string", "format": "at-uri" } 34 - // TODO: pinned items 35 - // TODO: maybe what personal playlists it's in? 36 34 } 37 35 } 38 36 }
+1 -1
packages/lexicons/defs/sh/comet/v0/feed/playlist.json
··· 37 37 "descriptionFacets": { 38 38 "type": "ref", 39 39 "description": "Annotations of the playlist's description.", 40 - "ref": "sh.comet.v0.richtext.facets" 40 + "ref": "sh.comet.v0.richtext.facet" 41 41 }, 42 42 "type": { 43 43 "type": "string",
+2 -2
packages/lexicons/defs/sh/comet/v0/feed/track.json
··· 38 38 "descriptionFacets": { 39 39 "type": "ref", 40 40 "description": "Annotations of the track's description.", 41 - "ref": "sh.comet.v0.richtext.facets" 41 + "ref": "sh.comet.v0.richtext.facet" 42 42 }, 43 43 "tags": { 44 44 "type": "array", ··· 64 64 "properties": { 65 65 "uri": { "type": "string", "format": "at-uri" }, 66 66 "cid": { "type": "string", "format": "cid" }, 67 - "author": { "type": "ref", "ref": "TODO" }, 67 + "author": { "type": "unknown", "description": "TODO" }, 68 68 "audio": { 69 69 "type": "string", 70 70 "format": "uri",