{ "opencollection": "1.0.0", "info": { "name": "PeerTube Abuses User Exports API", "version": "8.1.0" }, "items": [ { "info": { "name": "User Exports", "type": "folder" }, "items": [ { "info": { "name": "Request user export", "type": "http" }, "http": { "method": "POST", "url": "https://peertube2.cpy.re/api/v1/users/:userId/exports/request", "params": [ { "name": "userId", "value": "", "type": "path", "description": "User id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Request an archive of user data. An email is sent when the archive is ready." }, { "info": { "name": "List user exports", "type": "http" }, "http": { "method": "GET", "url": "https://peertube2.cpy.re/api/v1/users/:userId/exports", "params": [ { "name": "userId", "value": "", "type": "path", "description": "User id" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.1**" }, { "info": { "name": "Delete a user export", "type": "http" }, "http": { "method": "DELETE", "url": "https://peertube2.cpy.re/api/v1/users/:userId/exports/:id", "params": [ { "name": "userId", "value": "", "type": "path", "description": "User id" }, { "name": "id", "value": "", "type": "path", "description": "Entity id" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/api/v1/users/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "**PeerTube >= 6.1**" } ] } ], "bundled": true }