Cpy Peertube
PeerTube is an open-source federated video hosting and sharing platform.
- Base URL:
https://peertube2.cpy.re - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
getabuses— GET /api/v1/abuses — List abusesget_api_v1_abuses_abuseid_messages— GET /api/v1/abuses/{abuseId}/messages — List messages of an abusegetaccounts— GET /api/v1/accounts — List accountsgetaccount— GET /api/v1/accounts/{name} — Get an accountgetaccountfollowers— GET /api/v1/accounts/{name}/followers — List followers of an accountget_api_v1_accounts_name_ratings— GET /api/v1/accounts/{name}/ratings — List ratings of an account
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getabuses
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: getabuses, get_api_v1_abuses_abuseid_messages, getaccounts, getaccount, getaccountfollowers, get_api_v1_accounts_name_ratings |
abuseId |
string | no | — | Path parameter abuseId (required by some operations). |
name |
string | no | — | Path parameter name (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |