- Abuses
- Accounts
- Video Channels
- Config
- Homepage
- Feeds
- Job
- Session
- Plugins
- Search
- Account Blocks
- Server Blocks
- Instance Follows
- List instances following the server
- Remove or reject a follower to your server
- Accept a pending follower to your server
- Reject a pending follower to your server
- List instances followed by the server
- Follow a list of actors (PeerTube instance, channel or account)
- Unfollow an actor (PeerTube instance, channel or account)
- Video Mirroring
- Instance Redundancy
- Users
- My User
- My History
- My Notifications
- My Subscriptions
- Video Playlists
- Videos
- Video
- List videos of a video channel
- List videos
- List available video categories
- Import a video
- List available video languages
- List available video licences
- List available video privacy policies
- Upload a video
- Cancel the resumable upload of a video, deleting any data uploaded so far
- Initialize the resumable upload of a video
- Send chunk for the resumable upload of a video
- Delete a video
- Get a video
- Update a video
- Get complete video description
- Add a view to a video
- Set watching progress of a video
- Video Blocks
- Live Videos
- Video Ownership Change
- Video Captions
- Video Comments
- Video Rates
Update a plugin
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
POST
/plugins/update
Plugins
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://peertube2.cpy.re/api/v1/plugins/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"npmName": "peertube-plugin-auth-ldap"
}'
Response Response Example
204 - Example 1
{}
Request
Body Params application/json
optional
One of
npmName
stringÂ
required
Example:
peertube-plugin-auth-ldap
Examples
Responses
🟢204successful operation
application/json
Body
object {0}
🟠400should have either `npmName` or `path` set
🟠404existing plugin not found
Modified at 2022-09-10 22:29:49