{ "opencollection": "1.0.0", "info": { "name": "Google Colab Notebooks via Drive Files Permissions API", "version": "v3" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Permissions", "type": "folder" }, "items": [ { "info": { "name": "Google Colab List notebook permissions", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/drive/v3/files/:fileId/permissions", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the notebook file" } ] }, "docs": "Lists the sharing permissions for a Colab notebook." }, { "info": { "name": "Google Colab Share a notebook", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/drive/v3/files/:fileId/permissions", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the notebook file" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a sharing permission for a Colab notebook." } ] } ], "bundled": true }