Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
75
fork

Configure Feed

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

Merge branch 'publish-lexicons'

phil b0c4ead1 2d435146

+114
+57
lexicons/blue.microcosm/identity/resolveMiniDoc.json
··· 1 + { 2 + "$type": "com.atproto.lexicon.schema", 3 + "id": "blue.microcosm.identity.resolveMiniDoc", 4 + "lexicon": 1, 5 + "defs": { 6 + "main": { 7 + "description": "like com.atproto.identity.resolveIdentity but instead of the full DID Doc, returns an atproto-relevant subset", 8 + "output": { 9 + "encoding": "application/json", 10 + "schema": { 11 + "properties": { 12 + "did": { 13 + "description": "DID, bi-directionally verified if a handle was provided in the query", 14 + "format": "did", 15 + "type": "string" 16 + }, 17 + "handle": { 18 + "description": "the validated handle of the account or 'handle.invalid' if the handle did not bi-directionally match the DID document", 19 + "format": "handle", 20 + "type": "string" 21 + }, 22 + "pds": { 23 + "description": "the identity's PDS URL", 24 + "format": "uri", 25 + "type": "string" 26 + }, 27 + "signing_key": { 28 + "description": "the atproto signing key publicKeyMultibase", 29 + "type": "string" 30 + } 31 + }, 32 + "required": [ 33 + "did", 34 + "handle", 35 + "pds", 36 + "signing_key" 37 + ], 38 + "type": "object" 39 + } 40 + }, 41 + "parameters": { 42 + "properties": { 43 + "identifier": { 44 + "description": "handle or DID to resolve", 45 + "format": "at-identifier", 46 + "type": "string" 47 + } 48 + }, 49 + "required": [ 50 + "identifier" 51 + ], 52 + "type": "params" 53 + }, 54 + "type": "query" 55 + } 56 + } 57 + }
+57
lexicons/blue.microcosm/repo/getRecordByUri.json
··· 1 + { 2 + "$type": "com.atproto.lexicon.schema", 3 + "id": "blue.microcosm.repo.getRecordByUri", 4 + "lexicon": 1, 5 + "defs": { 6 + "main": { 7 + "description": "Get a single record from a repository by at-uri", 8 + "errors": [ 9 + { 10 + "name": "RecordNotFound" 11 + } 12 + ], 13 + "output": { 14 + "encoding": "application/json", 15 + "schema": { 16 + "properties": { 17 + "cid": { 18 + "format": "cid", 19 + "type": "string" 20 + }, 21 + "uri": { 22 + "format": "at-uri", 23 + "type": "string" 24 + }, 25 + "value": { 26 + "type": "unknown" 27 + } 28 + }, 29 + "required": [ 30 + "uri", 31 + "value" 32 + ], 33 + "type": "object" 34 + } 35 + }, 36 + "parameters": { 37 + "properties": { 38 + "cid": { 39 + "description": "The CID of the version of the record. If not specified, then return the most recent version. If specified and a newer version of the record exists, returns 404 not found.", 40 + "format": "cid", 41 + "type": "string" 42 + }, 43 + "at_uri": { 44 + "description": "The at-uri of the record. The identifier can be a DID or an atproto handle. The collection and rkey segments must be present.", 45 + "format": "at-uri", 46 + "type": "string" 47 + } 48 + }, 49 + "required": [ 50 + "at_uri" 51 + ], 52 + "type": "params" 53 + }, 54 + "type": "query" 55 + } 56 + } 57 + }