{ "opencollection": "1.0.0", "info": { "name": "GitHub v3 REST OAUTH Authorizations API", "version": "1.1.4" }, "items": [ { "info": { "name": "Oauth-Authorizations", "type": "folder" }, "items": [ { "info": { "name": "GitHub List Your Grants", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/applications/grants", "params": [ { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"" }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"" }, { "name": "client_id", "value": "12345678", "type": "query", "description": "The client ID of your GitHub app." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.gith" }, { "info": { "name": "GitHub Get a Single Grant", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/applications/grants/:grant_id", "params": [ { "name": "grant_id", "value": "", "type": "path", "description": "The unique identifier of the grant." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://" }, { "info": { "name": "GitHub Delete a Grant", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}/api/v3/applications/grants/:grant_id", "params": [ { "name": "grant_id", "value": "", "type": "path", "description": "The unique identifier of the grant." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.gith" }, { "info": { "name": "GitHub List Your Authorizations", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/authorizations", "params": [ { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"" }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"" }, { "name": "client_id", "value": "12345678", "type": "query", "description": "The client ID of your GitHub app." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://" }, { "info": { "name": "GitHub Create a New Authorization", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}/api/v3/authorizations", "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.githu" }, { "info": { "name": "GitHub Get-or-create an Authorization for a Specific App", "type": "http" }, "http": { "method": "PUT", "url": "{protocol}://{hostname}/api/v3/authorizations/clients/:client_id", "params": [ { "name": "client_id", "value": "", "type": "path", "description": "The client ID of the OAuth app." } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.gith" }, { "info": { "name": "GitHub Get-or-create an Authorization for a Specific App and Fingerprint", "type": "http" }, "http": { "method": "PUT", "url": "{protocol}://{hostname}/api/v3/authorizations/clients/:client_id/:fingerprint", "params": [ { "name": "client_id", "value": "", "type": "path", "description": "The client ID of the OAuth app." }, { "name": "fingerprint", "value": "example_value", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.gith" }, { "info": { "name": "GitHub Get a Single Authorization", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/authorizations/:authorization_id", "params": [ { "name": "authorization_id", "value": "", "type": "path", "description": "The unique identifier of the authorization." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://" }, { "info": { "name": "GitHub Update an Existing Authorization", "type": "http" }, "http": { "method": "PATCH", "url": "{protocol}://{hostname}/api/v3/authorizations/:authorization_id", "params": [ { "name": "authorization_id", "value": "", "type": "path", "description": "The unique identifier of the authorization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.gith" }, { "info": { "name": "GitHub Delete an Authorization", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}/api/v3/authorizations/:authorization_id", "params": [ { "name": "authorization_id", "value": "", "type": "path", "description": "The unique identifier of the authorization." } ] }, "docs": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://" } ] } ], "bundled": true }