{ "opencollection": "1.0.0", "info": { "name": "PeerTube Abuses Watched Words API", "version": "8.1.0" }, "items": [ { "info": { "name": "Watched Words", "type": "folder" }, "items": [ { "info": { "name": "List account watched words", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/watched-words/accounts/:accountName/lists", "params": [ { "name": "accountName", "value": "", "type": "path", "description": "account name to list watched words" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Add account watched words", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/watched-words/accounts/:accountName/lists", "params": [ { "name": "accountName", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Update account watched words", "type": "http" }, "http": { "method": "PUT", "url": "https://peertube2.cpy.re/api/v1/watched-words/accounts/:accountName/lists/:listId", "params": [ { "name": "accountName", "value": "", "type": "path" }, { "name": "listId", "value": "", "type": "path", "description": "list of watched words to update" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Delete account watched words", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/watched-words/accounts/:accountName/lists/:listId", "params": [ { "name": "accountName", "value": "", "type": "path" }, { "name": "listId", "value": "", "type": "path", "description": "list of watched words to delete" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "List server watched words", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/watched-words/server/lists", "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Add server watched words", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/watched-words/server/lists", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Update server watched words", "type": "http" }, "http": { "method": "PUT", "url": "https://peertube2.cpy.re/api/v1/watched-words/server/lists/:listId", "params": [ { "name": "listId", "value": "", "type": "path", "description": "list of watched words to update" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" }, { "info": { "name": "Delete server watched words", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/watched-words/server/lists/:listId", "params": [ { "name": "listId", "value": "", "type": "path", "description": "list of watched words to delete" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.2**" } ] } ], "bundled": true }