Automate CPY PeerTube
HumDay reads CPY PeerTube’s own published API description and derives 185 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What CPY PeerTube is
The PeerTube API is built on HTTP(S) and is RESTful. You can use your favorite HTTP/REST library for your programming language to use PeerTube. The spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice - we generate some client SDKs automatically: - [Python
API host: peertube2.cpy.re
What HumDay can do in CPY PeerTube
102 documented operations change something in CPY PeerTube. The 52 most useful are listed here.
- POSTResend user verification link
/api/v1/users/ask-send-verify-email - POSTAdd subscription to my user
/api/v1/users/me/subscriptions - POSTCreate a user
/api/v1/users - POSTCreate a video channel
/api/v1/video-channels - POSTCreate a synchronization for a video channel
/api/v1/video-channel-syncs - POSTVerify a user
/api/v1/users/{id}/verify-email - POSTAdd message to an abuse
/api/v1/abuses/{abuseId}/messages - POSTResend verification link to registration email
/api/v1/users/registrations/ask-send-verify-email - POSTCreate a thread
/api/v1/videos/{id}/comment-threads - PUTUpdate my user information
/api/v1/users/me - POSTRegister a user
/api/v1/users/register - POSTFollow a list of actors (PeerTube instance, channel or account)
/api/v1/server/following - PUTSend chunk for the resumable upload of a video
/api/v1/videos/upload-resumable - DELETEDelete a user
/api/v1/users/{id} - PUTUpdate a user
/api/v1/users/{id} - DELETEDelete my avatar
/api/v1/users/me/avatar - DELETEDelete subscription of my user
/api/v1/users/me/subscriptions/{subscriptionHandle} - DELETEDelete a comment or a reply
/api/v1/videos/{id}/comments/{commentId} - DELETEDelete a video channel
/api/v1/video-channels/{channelHandle} - PUTUpdate a video channel
/api/v1/video-channels/{channelHandle} - PUTUpdate my notification settings
/api/v1/users/me/notification-settings - DELETEDelete a video channel synchronization
/api/v1/video-channel-syncs/{channelSyncId} - POSTNotify user is watching a video
/api/v1/videos/{id}/views - POSTCreate a video playlist
/api/v1/video-playlists - POSTUpdate my user avatar
/api/v1/users/me/avatar/pick - POSTMark all my notification as read
/api/v1/users/me/notifications/read-all - POSTLogin
/api/v1/users/token - POSTCreate a live
/api/v1/videos/live - DELETEDelete channel avatar
/api/v1/video-channels/{channelHandle}/avatar - DELETEDelete channel banner
/api/v1/video-channels/{channelHandle}/banner - POSTUpload a video
/api/v1/videos/upload - POSTTriggers the channel synchronization job, fetching all the videos from the remote channel
/api/v1/video-channel-syncs/{channelSyncId}/sync - POSTCreate playback metrics
/api/v1/metrics/playback - POSTLogout
/api/v1/users/revoke-token - POSTCreate a studio task
/api/v1/videos/{id}/studio/edit - POSTImport videos in channel
/api/v1/video-channels/{channelHandle}/import-videos - DELETECancel the resumable upload of a video, deleting any data uploaded so far
/api/v1/videos/upload-resumable - POSTInitialize the resumable upload of a video
/api/v1/videos/upload-resumable - POSTUpdate channel avatar
/api/v1/video-channels/{channelHandle}/avatar/pick - POSTUpdate channel banner
/api/v1/video-channels/{channelHandle}/banner/pick - POSTSend client log
/api/v1/server/logs/client - POSTReply to a thread of a video
/api/v1/videos/{id}/comments/{commentId} - POSTVerify a registration email
/api/v1/users/registrations/{registrationId}/verify-email - POSTReport an abuse
/api/v1/abuses - POSTRequest registration
/api/v1/users/registrations/request - DELETEDelete video HLS files
/api/v1/videos/{id}/hls - DELETEDelete an abuse message
/api/v1/abuses/{abuseId}/messages/{abuseMessageId} - POSTGet video source file metadata
/api/v1/videos/{id}/source - DELETEDelete video WebTorrent files
/api/v1/videos/{id}/webtorrent - POSTCreate a transcoding job
/api/v1/videos/{id}/transcoding - DELETEUnfollow an actor (PeerTube instance, channel or account)
/api/v1/server/following/{hostOrHandle} - POSTMark notifications as read by their id
/api/v1/users/me/notifications/read
What HumDay can read from CPY PeerTube
These are the operations a schedule or a trigger can watch.
- GETList users
/api/v1/users - GETList video channels
/api/v1/video-channels - GETList threads of a video
/api/v1/videos/{id}/comment-threads - GETGet my user information
/api/v1/users/me - GETList videos of subscriptions of my user
/api/v1/users/me/subscriptions/videos - GETList the synchronizations of video channels of an account
/api/v1/accounts/{name}/video-channel-syncs - GETList videos of a video channel
/api/v1/video-channels/{channelHandle}/videos - GETGet public WebTorrent video file
/static/webseed/{filename} - GETList followers of a video channel
/api/v1/video-channels/{channelHandle}/followers - GETList comments on videos
/feeds/video-comments.{format} - GETList registrations
/api/v1/users/registrations - GETSearch channels
/api/v1/search/video-channels - GETList playlists of a channel
/api/v1/video-channels/{channelHandle}/video-playlists - GETGet a user
/api/v1/users/{id} - GETList my abuses
/api/v1/users/me/abuses - GETGet videos of my user
/api/v1/users/me/videos - GETGet subscription of my user
/api/v1/users/me/subscriptions/{subscriptionHandle} - GETGet private WebTorrent video file
/static/webseed/private/{filename} - GETList my notifications
/api/v1/users/me/notifications - GETGet my user subscriptions
/api/v1/users/me/subscriptions - GETGet a video channel
/api/v1/video-channels/{channelHandle} - GETList abuses
/api/v1/abuses - GETList videos
/api/v1/videos - GETList plugins
/api/v1/plugins - GETList accounts
/api/v1/accounts - GETGet public HLS video file
/static/streaming-playlists/hls/{filename} - GETList video playlists
/api/v1/video-playlists - GETList messages of an abuse
/api/v1/abuses/{abuseId}/messages - GETList watched videos history
/api/v1/users/me/history/videos - GETGet video imports of my user
/api/v1/users/me/videos/imports - GETList video channels of an account
/api/v1/accounts/{name}/video-channels - GETGet if subscriptions exist for my user
/api/v1/users/me/subscriptions/exist - GETList videos
/feeds/videos.{format} - GETSearch videos
/api/v1/search/videos - GETList available video licences
/api/v1/videos/licences - GETList instances following the server
/api/v1/server/followers - GETList instances followed by the server
/api/v1/server/following - GETList video blocks
/api/v1/videos/blacklist - GETList available video languages
/api/v1/videos/languages - GETList video ownership changes
/api/v1/videos/ownership - GETList available video privacy policies
/api/v1/videos/privacies - GETList videos of subscriptions tied to a token
/feeds/subscriptions.{format} - GETList available plugins
/api/v1/plugins/available - GETList available video categories
/api/v1/videos/categories - GETGet private HLS video file
/static/streaming-playlists/hls/private/{filename} - GETSearch playlists
/api/v1/search/video-playlists - GETList available playlist privacy policies
/api/v1/video-playlists/privacies - GETList instance jobs
/api/v1/jobs/{state}
How automating CPY PeerTube works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live CPY PeerTube account.
- Grant access, then go live. You approve the specific CPY PeerTube operations it may use — and only those.
Automate CPY PeerTube with these
- Discord242 operations
- Mastodon Specification (https //github.com/mastodon/mastodon)127 operations
- spoonacular99 operations
- Discourse Documentation84 operations
- Twitter80 operations
- Trashnothing trash nothing76 operations
- Contribly44 operations
- Clubhouseapi Clubhouse41 operations
- Semantria41 operations
- DEV Forem40 operations
- Medium32 operations
- Instagram24 operations
Categories
Questions about CPY PeerTube automation
- Can HumDay connect to CPY PeerTube?
- Yes. HumDay reads CPY PeerTube's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 185 operations are documented.
- Do I need to write code to automate CPY PeerTube?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your CPY PeerTube account.
- What can HumDay do in CPY PeerTube?
- 102 of the 185 documented operations change something in CPY PeerTube, and 83 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my CPY PeerTube account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to CPY PeerTube is held behind that approval.
Where this came from
The operations above are read from a published API description for CPY PeerTube at raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/doc/api/openapi.yaml. Descriptions are the provider’s own words, not ours. Last published 2023-03-06.