{ "opencollection": "1.0.0", "info": { "name": "Github Authorized API", "version": "1.1.4" }, "items": [ { "info": { "name": "Authorized", "type": "folder" }, "items": [ { "info": { "name": "GitHub Get All Authorized Ssh Keys", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys" }, "docs": "The GET endpoint at /setup/api/settings/authorized-keys in the GitHub Authorization API retrieves a complete list of all authorized SSH keys that have been configured for the system. This endpoint is typically used during setup or administrative operations to audit and review which SSH public keys have been granted access to the GitHub instance, allowing administrators to manage and verify authorized access points for secure shell connections." }, { "info": { "name": "GitHub Add an Authorized Ssh Key", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys", "body": { "type": "form-urlencoded", "data": [ { "name": "authorized_key", "value": "" } ] } }, "docs": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode)." }, { "info": { "name": "GitHub Remove an Authorized Ssh Key", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys", "body": { "type": "form-urlencoded", "data": [ { "name": "authorized_key", "value": "" } ] } }, "docs": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode)." } ] } ], "bundled": true }