{ "opencollection": "1.0.0", "info": { "name": "Hub API Endpoints agentic-provisioning oauth API", "version": "0.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "oauth", "type": "folder" }, "items": [ { "info": { "name": "Register a new OAuth app", "type": "http" }, "http": { "method": "POST", "url": "https://huggingface.co/oauth/register", "body": { "type": "json", "data": "{}" } }, "docs": "Register a new OAuth app" }, { "info": { "name": "Initiate device authorization", "type": "http" }, "http": { "method": "POST", "url": "https://huggingface.co/oauth/device", "body": { "type": "json", "data": "{}" } }, "docs": "Initiate device authorization" }, { "info": { "name": "Get user info", "type": "http" }, "http": { "method": "GET", "url": "https://huggingface.co/oauth/userinfo" }, "docs": "Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app." }, { "info": { "name": "Get user info", "type": "http" }, "http": { "method": "POST", "url": "https://huggingface.co/oauth/userinfo" }, "docs": "Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app." } ] } ], "bundled": true }