this repo has no description
at main 49 lines 1.2 kB view raw
1{ 2 "lexicon": 1, 3 "id": "social.grain.comment.createComment", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Create a comment. Requires auth.", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": ["text", "subject"], 13 "properties": { 14 "text": { 15 "type": "string", 16 "maxLength": 3000, 17 "maxGraphemes": 300 18 }, 19 "subject": { 20 "type": "string", 21 "format": "at-uri" 22 }, 23 "focus": { 24 "type": "string", 25 "format": "at-uri" 26 }, 27 "replyTo": { 28 "type": "string", 29 "format": "at-uri" 30 } 31 } 32 } 33 }, 34 "output": { 35 "encoding": "application/json", 36 "schema": { 37 "type": "object", 38 "properties": { 39 "commentUri": { 40 "type": "string", 41 "format": "at-uri", 42 "description": "AT URI of the created comment" 43 } 44 } 45 } 46 } 47 } 48 } 49}