atproto pastebin service: https://plonk.li

more of it

+35
lexicons/comment.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "ovh.plonk.comment", 4 + "defs": { 5 + "main": { 6 + "type": "record", 7 + "key": "tid", 8 + "record": { 9 + "type": "object", 10 + "required": [ 11 + "content", 12 + "createdAt", 13 + "post" 14 + ], 15 + "properties": { 16 + "content": { 17 + "type": "string", 18 + "maxLength": 100000, 19 + "maxGraphemes": 10000, 20 + "description": "comment body" 21 + }, 22 + "createdAt": { 23 + "type": "string", 24 + "format": "datetime", 25 + "description": "comment creation timestamp" 26 + }, 27 + "post": { 28 + "type": "ref", 29 + "ref": "com.atproto.repo.strongRef" 30 + } 31 + } 32 + } 33 + } 34 + } 35 + }
+67
lexicons/getRecord.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "com.atproto.repo.getRecord", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "Get a single record from a repository. Does not require auth.", 8 + "parameters": { 9 + "type": "params", 10 + "required": [ 11 + "repo", 12 + "collection", 13 + "rkey" 14 + ], 15 + "properties": { 16 + "repo": { 17 + "type": "string", 18 + "format": "at-identifier", 19 + "description": "The handle or DID of the repo." 20 + }, 21 + "collection": { 22 + "type": "string", 23 + "format": "nsid", 24 + "description": "The NSID of the record collection." 25 + }, 26 + "rkey": { 27 + "type": "string", 28 + "description": "The Record Key." 29 + }, 30 + "cid": { 31 + "type": "string", 32 + "format": "cid", 33 + "description": "The CID of the version of the record. If not specified, then return the most recent version." 34 + } 35 + } 36 + }, 37 + "output": { 38 + "encoding": "application/json", 39 + "schema": { 40 + "type": "object", 41 + "required": [ 42 + "uri", 43 + "value" 44 + ], 45 + "properties": { 46 + "uri": { 47 + "type": "string", 48 + "format": "at-uri" 49 + }, 50 + "cid": { 51 + "type": "string", 52 + "format": "cid" 53 + }, 54 + "value": { 55 + "type": "unknown" 56 + } 57 + } 58 + } 59 + }, 60 + "errors": [ 61 + { 62 + "name": "RecordNotFound" 63 + } 64 + ] 65 + } 66 + } 67 + }
+93
lexicons/listRecords.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "com.atproto.repo.listRecords", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "List a range of records in a repository, matching a specific collection. Does not require auth.", 8 + "parameters": { 9 + "type": "params", 10 + "required": [ 11 + "repo", 12 + "collection" 13 + ], 14 + "properties": { 15 + "repo": { 16 + "type": "string", 17 + "format": "at-identifier", 18 + "description": "The handle or DID of the repo." 19 + }, 20 + "collection": { 21 + "type": "string", 22 + "format": "nsid", 23 + "description": "The NSID of the record type." 24 + }, 25 + "limit": { 26 + "type": "integer", 27 + "minimum": 1, 28 + "maximum": 100, 29 + "default": 50, 30 + "description": "The number of records to return." 31 + }, 32 + "cursor": { 33 + "type": "string" 34 + }, 35 + "rkeyStart": { 36 + "type": "string", 37 + "description": "DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)" 38 + }, 39 + "rkeyEnd": { 40 + "type": "string", 41 + "description": "DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)" 42 + }, 43 + "reverse": { 44 + "type": "boolean", 45 + "description": "Flag to reverse the order of the returned records." 46 + } 47 + } 48 + }, 49 + "output": { 50 + "encoding": "application/json", 51 + "schema": { 52 + "type": "object", 53 + "required": [ 54 + "records" 55 + ], 56 + "properties": { 57 + "cursor": { 58 + "type": "string" 59 + }, 60 + "records": { 61 + "type": "array", 62 + "items": { 63 + "type": "ref", 64 + "ref": "#record" 65 + } 66 + } 67 + } 68 + } 69 + } 70 + }, 71 + "record": { 72 + "type": "object", 73 + "required": [ 74 + "uri", 75 + "cid", 76 + "value" 77 + ], 78 + "properties": { 79 + "uri": { 80 + "type": "string", 81 + "format": "at-uri" 82 + }, 83 + "cid": { 84 + "type": "string", 85 + "format": "cid" 86 + }, 87 + "value": { 88 + "type": "unknown" 89 + } 90 + } 91 + } 92 + } 93 + }