social bookmarking for atproto

[lexicons] finish up actor lexicons

hexmani.ac de9c15a8 ce00b6b0

verified
+24
lexdocs/social/clippr/actor/defs.json
··· 38 "format": "datetime" 39 } 40 } 41 } 42 } 43 }
··· 38 "format": "datetime" 39 } 40 } 41 + }, 42 + "preferences": { 43 + "type": "array", 44 + "description": "An array of preference types", 45 + "refs": [ 46 + "#publishingScopesPref" 47 + ] 48 + }, 49 + "publishingScopesPref": { 50 + "type": "object", 51 + "description": "Preferences for an user's publishing scopes", 52 + "required": [ 53 + "defaultScope" 54 + ], 55 + "properties": { 56 + "defaultScope": { 57 + "type": "string", 58 + "knownValues": [ 59 + "public", 60 + "unlisted" 61 + ], 62 + "description": "What publishing scope to mark a clip as by default." 63 + } 64 + } 65 } 66 } 67 }
+29
lexdocs/social/clippr/actor/getPreferences.json
···
··· 1 + { 2 + "lexicon": 1, 3 + "id": "social.clippr.actor.getPreferences", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "Get the private user preferences associated to the account.", 8 + "parameters": { 9 + "type": "params", 10 + "properties": {} 11 + }, 12 + "output": { 13 + "encoding": "application/json", 14 + "schema": { 15 + "type": "object", 16 + "required": [ 17 + "preferences" 18 + ], 19 + "properties": { 20 + "preferences": { 21 + "type": "ref", 22 + "ref": "social.clippr.actor.defs#preferences" 23 + } 24 + } 25 + } 26 + } 27 + } 28 + } 29 + }
+23
lexdocs/social/clippr/actor/putPreferences.json
···
··· 1 + { 2 + "lexicon": 1, 3 + "id": "social.clippr.actor.putPreferences", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "description": "Set the private preferences attached to the account.", 8 + "input": { 9 + "encoding": "application/json", 10 + "schema": { 11 + "type": "object", 12 + "required": ["preferences"], 13 + "properties": { 14 + "preferences": { 15 + "type": "ref", 16 + "ref": "social.clippr.actor.defs#preferences" 17 + } 18 + } 19 + } 20 + } 21 + } 22 + } 23 + }
lexdocs/social/clippr/actor/putProfile.json

This is a binary file and will not be displayed.

+43
lexdocs/social/clippr/actor/searchProfiles.json
···
··· 1 + { 2 + "lexicon": 1, 3 + "id": "social.clippr.actor.searchProfiles", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "Find profiles matching search criteria. Does not require auth.", 8 + "parameters": { 9 + "type": "params", 10 + "properties": { 11 + "q": { 12 + "type": "string", 13 + "description": "Search query string." 14 + }, 15 + "limit": { 16 + "type": "integer", 17 + "minimum": 1, 18 + "maximum": 100, 19 + "default": 25 20 + }, 21 + "cursor": { "type": "string" } 22 + } 23 + }, 24 + "output": { 25 + "encoding": "application/json", 26 + "schema": { 27 + "type": "object", 28 + "required": ["actors"], 29 + "properties": { 30 + "cursor": { "type": "string" }, 31 + "actors": { 32 + "type": "array", 33 + "items": { 34 + "type": "ref", 35 + "ref": "social.clippr.actor.defs#profileView" 36 + } 37 + } 38 + } 39 + } 40 + } 41 + } 42 + } 43 + }