From 2104ba52a8839aa74c6770d3faa0a8caafab8da9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 16 Dec 2023 15:53:41 -0800 Subject: add IMissSomeone-VT --- patchwork-api.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patchwork-api.html') diff --git a/patchwork-api.html b/patchwork-api.html index 32e997e..c8ba135 100644 --- a/patchwork-api.html +++ b/patchwork-api.html @@ -1 +1 @@ - Patchwork Archive API | Project Knowledge Base

Project Knowledge Base Help

Patchwork Archive API

API data from Patchwork Archive is public and no API key is required to access what is publicly available on the frontend.

Below is an offering of what endpoints are available publicly. If you are for whatever reason hosting an instance of Patchwork-Backend please refer to the README in the repository for worker and queuer API endpoints

Gets archived videos from a particular channel

GET method/channel/{channel_id}

Gets a paginated result of archived videos matching a channel id

Request parameters

Responses

Gets archived videos from a particular channel

GET method/channel_name

Gets a paginated result of archived videos matching a channel id

Request parameters

Responses

Get basic information regarding a specific video

GET method/video/{video_id}

Pulls basic information about a video from fallback database only

Request parameters

Responses

Get a singular random video

GET method/random_video

Responses

Get multiple random videos

GET method/discover_videos

Request parameters

Responses

Get paginated search results for some keyword

GET method/search/results

Request parameters

Responses

Get today's daily features videos

GET method/daily_featured_videos

Either 1 or 2 video objects in an array depending on calculated hash

Responses

Get the 6 most recently archived videos

GET method/recently_archived

Responses

Get detailed information about the video if available

GET method/database/video_data/{video_id}

If info.json generated by yt-dlp is available it will be directly delivered here, if not, fallback video data from the database is used instead

Request parameters

Responses

Get the status of the database

GET method/database/status

Responses

Get the status of the database

GET method/storage/status

Gets the number of videos archived and space used in GB

Responses

Last modified: 16 December 2023
\ No newline at end of file + Patchwork Archive API | Project Knowledge Base

Project Knowledge Base Help

Patchwork Archive API

API data from Patchwork Archive is public and no API key is required to access what is publicly available on the frontend.

Below is an offering of what endpoints are available publicly. If you are for whatever reason hosting an instance of Patchwork-Backend please refer to the README in the repository for worker and queuer API endpoints

Gets archived videos from a particular channel

GET method/channel/{channel_id}

Gets a paginated result of archived videos matching a channel id

Request parameters

Responses

Gets archived videos from a particular channel

GET method/channel_name

Gets a paginated result of archived videos matching a channel id

Request parameters

Responses

Get basic information regarding a specific video

GET method/video/{video_id}

Pulls basic information about a video from fallback database only

Request parameters

Responses

Get a singular random video

GET method/random_video

Responses

Get multiple random videos

GET method/discover_videos

Request parameters

Responses

Get paginated search results for some keyword

GET method/search/results

Request parameters

Responses

Get today's daily features videos

GET method/daily_featured_videos

Either 1 or 2 video objects in an array depending on calculated hash

Responses

Get the 6 most recently archived videos

GET method/recently_archived

Responses

Get detailed information about the video if available

GET method/database/video_data/{video_id}

If info.json generated by yt-dlp is available it will be directly delivered here, if not, fallback video data from the database is used instead

Request parameters

Responses

Get the status of the database

GET method/database/status

Responses

Get the status of the database

GET method/storage/status

Gets the number of videos archived and space used in GB

Responses

Last modified: 16 December 2023
\ No newline at end of file -- cgit v1.2.3