mirror of
https://github.com/tubearchivist/docs.git
synced 2026-03-24 23:04:21 +00:00
[GH-ISSUE #48] Docs don't specify how to use POST: /api/playlist/<playlist_id>/ #12
Labels
No labels
enhancement
invalid
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/docs#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @douglasg14b on GitHub (Oct 20, 2024).
Original GitHub issue: https://github.com/tubearchivist/docs/issues/48
It seems like this endpoint expects an object, but the docs do not appear to elaborate on what that is
The endpoint appears to be here:
github.com/tubearchivist/tubearchivist@cfe94c8dac/tubearchivist/api/views.py (L532C1-L557C75)@douglasg14b commented on GitHub (Oct 20, 2024):
Been trying to get this endpoint working for a bit, but I can't seem to get videos added to custom playlists 🤔
The data structure is unknown to me, but it appears as though it's expecting something like:
This seems to trigger the
GETendpoint, as the response returns metadata bout the playlist with a200, but not the response I'd expect from here:github.com/tubearchivist/tubearchivist@cfe94c8dac/tubearchivist/api/views.py (L557)Regardless of the body, even if I omit the body entirely, I still get the
GETresponse. And not the expectedPOSTresponse. No logs appear to be generated for this endpoint 🤔How is this endpoint supposed to be used?
@douglasg14b commented on GitHub (Oct 20, 2024):
Looks like the trailing
/is required for these endpoints for some reason. Wonky routing?@bbilly1 commented on GitHub (Nov 8, 2024):
added to the docs.