From a2e2fd1b89a341bac5232cb4b3d98be5ce4618be Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 23 Dec 2022 11:08:30 +0700 Subject: [PATCH] add missing trailing / for endpoints docs --- tubearchivist/api/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tubearchivist/api/README.md b/tubearchivist/api/README.md index e26978b5..f6c5aea6 100644 --- a/tubearchivist/api/README.md +++ b/tubearchivist/api/README.md @@ -89,12 +89,12 @@ DELETE: /api/video/\/ /api/video/\/similar/ ## Video Progress View -/api/video/\/progress +/api/video/\/progress/ Progress is stored for each user. ### Get last player position of a video -GET /api/video/\/progress +GET /api/video/\/progress/ ```json { "youtube_id": "", @@ -104,7 +104,7 @@ GET /api/video/\/progress ``` ### Post player position of video -POST /api/video/\/progress +POST /api/video/\/progress/ ```json { "position": 100 @@ -112,7 +112,7 @@ POST /api/video/\/progress ``` ### Delete player position of video -DELETE /api/video/\/progress +DELETE /api/video/\/progress/ ## Sponsor Block View @@ -267,7 +267,7 @@ Remove this snapshot from index ## Login View Return token and user ID for username and password: -POST /api/login +POST /api/login/ ```json { "username": "tubearchivist", @@ -406,7 +406,7 @@ Returns search results from your query. ## Ping View Validate your connection with the API -GET /api/ping +GET /api/ping/ When valid returns message with user id: ```json