notes.org
1 #+STARTUP: inlineimages 2 3 * Proxmox 4 ** API :verb: 5 template https://framework-desktop:8006/api2/json 6 # Authorization: Token {{(getenv "PENPOT_ACCESS_TOKEN")}} 7 Content-Type: application/json 8 Accept: application/json 9 10 *** Profile 11 GET /access 12 13 14 * [[https://penpot.app][Penpot]] 15 16 #+ATTR_ORG: :align center 17 [[../assets/penpot.png]] 18 19 20 # https://design.penpot.app/#/workspace? 21 # https://design.penpot.app/api/main/doc/openapi 22 # page-id=9f31952d-2d54-8169-8006-08f1152ee9a2 23 24 ** API :verb: 25 template https://design.penpot.app/api/main/methods 26 Authorization: Token {{(getenv "PENPOT_ACCESS_TOKEN")}} 27 Content-Type: application/json 28 Accept: application/json 29 30 *** Profile 31 POST /get-profile 32 33 {} 34 35 *** get-file-data-for-thumbnail 36 POST /get-file-data-for-thumbnail 37 38 { 39 "fileId": "9f31952d-2d54-8169-8006-08f1152ee9a1" 40 } 41 42 *** get-all-projects 43 POST /get-all-projects 44 45 {} 46 47 *** get-project 48 POST /get-project 49 50 { 51 "id": "029b7a64-19bf-80ba-8006-de32bdedb1fa" 52 } 53 54 *** get-projects 55 POST /get-projects 56 57 { 58 "teamId": "5d3c93f2-4b22-803f-8004-da8afafadb02" 59 } 60 61 *** get-project-files 62 POST /get-project-files 63 64 { 65 "projectId": "029b7a64-19bf-80ba-8006-de32bdedb1fa" 66 } 67 68 *** get-file-summary 69 POST /get-file-summary 70 71 { 72 "id": "9f31952d-2d54-8169-8006-08f1152ee9a1" 73 } 74 75 76 *** get-teams 77 POST /get-teams 78 79 {} 80 81 *** get-owned-teams 82 POST /get-owned-teams 83 84 {} 85 86 87 ** Accounts API :verb: 88 template https://api.accounts.platformio.org/v1 89 Accept: application/json 90 # https://github.com/platformio/platformio-core/blob/73d9f3dbea809f337bdee5be495f4d3b896deef0/platformio/account/client.py#L18 91 92 93 *** Summary 94 get /summary 95 96 *** Orgs 97 :properties: 98 :Verb-Store: orgs-response 99 :end: 100 get /orgs 101 102 **** Owners 103 get /{{(verb-json-get (oref (verb-stored-response "orgs-response") body) 0 'orgname)}}/owners 104 105 **** Teams 106 get /{{(verb-json-get (oref (verb-stored-response "orgs-response") body) 0 'orgname)}}/teams