A decentralized music tracking and discovery platform built on AT Protocol 馃幍
at feat/pgpull 41 lines 1.0 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.rocksky.apikey.updateApikey", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Update an existing API key for the authenticated user", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": [ 13 "id", 14 "name" 15 ], 16 "properties": { 17 "id": { 18 "type": "string", 19 "description": "The ID of the API key to update." 20 }, 21 "name": { 22 "type": "string", 23 "description": "The new name of the API key." 24 }, 25 "description": { 26 "type": "string", 27 "description": "A new description for the API key." 28 } 29 } 30 } 31 }, 32 "output": { 33 "encoding": "application/json", 34 "schema": { 35 "type": "ref", 36 "ref": "app.rocksky.apikey.defs#apiKey" 37 } 38 } 39 } 40 } 41}