Closed bmlzootown closed 4 years ago
Login /api/auth/login username password
Logout /api/auth/logout
CheckFor2faLogin /api/auth/checkFor2faLogin token
Signup /api/auth/signup username password email
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
REDACTED
Confirm Email /api/activation/email/confirm username code
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
Request Password Reset /api/user/password/reset/request email
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
Reset Password /api/user/password/reset password key
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
Validate Reset Key /api/user/password/reset/validate key
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
REDACTED
Push Notifications (Worker URL and Firebase Info) /api/push/web/info
__cfduid & sails.sid
Register Push Token /api/push/web/register token
Unregister Push Token /api/push/web/revoke token
Get Users /api/users
Authorization: "Bearer {Auth_Token}"
Get User Meta /api/user/info params { id }
Authorization: "Bearer {Auth_Token}"
"Content-Type": "application/json"
Transcode Connect /api/video/transcode/progress/subscribe?video={videoGUID}
Transcode Disconnect /api/video/transcode/progress/unsubscribe?video={videoGUID}
Post Image /api/image/optimizations?imageType=video_thumbnails /api/image/optimizations?imageType=profile_images /api/user/avatar
Link Discord Bot /api/discord/bot/link?creator={creatorGUID}&redirect=/cms/integrations/discord/callback
connectedLogin /api/connect/{unknown}?redirect=/connect/login/callback&create=true&login=true
onReload /api/connect/refresh id
onDissociate /api/connect/dissociate id
onConnect /api/connect/{key}?redirect=/connect/link/callback
loadConnection /api/connect/list
updateCreatorCover /api/acp/creator/coverImage/uploadCover
updateCreatorCard /api/acp/creator/creatorCard/uploadCard
updateCreatorIcon /api/acp/creator/creatorIcon/uploadIcon
connect /api/sync/connect
disconnect /api/sync/disconnect
Stream Info /api/cdn/delivery?type=live&creator={creatorGUID}
PyFloatplane is a great source for API info in general.
So, at least on the Javascript side of things, they've made some big changes (including more obscured usage of API endpoints). This is gonna take a while to sift through since I'm not too familiar with Javascript usage in this manner. All sorts of functions have shortened names like "e", and function e is defined throughout the code so often that keeping track is kind of painful.
Please tell me a human didn't write this, but if they did, at least tell me that they are receiving proper medical care!
The wiki is where I will continue this endeavor. If you have any suggestions, especially in regard to formatting (as the current is horrible), feel free to re-open this issue, or open a new one.
app.js