{ "opencollection": "1.0.0", "info": { "name": "PeerTube Abuses Config API", "version": "8.1.0" }, "items": [ { "info": { "name": "Config", "type": "folder" }, "items": [ { "info": { "name": "Get instance public configuration", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/config" }, "docs": "Get instance public configuration" }, { "info": { "name": "Get instance \"About\" information", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/config/about" }, "docs": "Get instance \"About\" information" }, { "info": { "name": "Get instance runtime configuration", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/config/custom", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get instance runtime configuration" }, { "info": { "name": "Set instance runtime configuration", "type": "http" }, "http": { "method": "PUT", "url": "https://peertube2.cpy.re/api/v1/config/custom", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Set instance runtime configuration" }, { "info": { "name": "Delete instance runtime configuration", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/config/custom", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete instance runtime configuration" }, { "info": { "name": "Update instance banner", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/config/instance-banner/pick", "body": { "type": "multipart-form", "data": [ { "name": "bannerfile", "type": "text", "value": "" } ] }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update instance banner" }, { "info": { "name": "Delete instance banner", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/config/instance-banner", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete instance banner" }, { "info": { "name": "Update instance avatar", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/config/instance-avatar/pick", "body": { "type": "multipart-form", "data": [ { "name": "avatarfile", "type": "text", "value": "" } ] }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update instance avatar" }, { "info": { "name": "Delete instance avatar", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/config/instance-avatar", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete instance avatar" }, { "info": { "name": "Update instance logo", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/config/instance-logo/:logoType/pick", "params": [ { "name": "logoType", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "logofile", "type": "text", "value": "" } ] }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update instance logo" }, { "info": { "name": "Delete instance logo", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/config/instance-logo/:logoType", "params": [ { "name": "logoType", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete instance logo" } ] } ], "bundled": true }