History - AppleGamer22/scr-web GitHub Wiki
- Document ID
- String object
- key of
_id
- format of
${type}/${owner}/${post}
- type can be
"instagram", "highlight", "story", "tiktok" or "vsco"
- Array of URLs (Array of String objects)
- User ID (key of
U_ID, String object)
- Social network type (
"instagram" or "vsco")
Server API
- Accepts HTTP header with JWT in the Authorisation field,
- returns an Array of History documents with the type specified.
- Accepts HTTP header with JWT in the Authorisation field and an HTTP body of
{history: History, urlToDelete: String},
- Removes the specified URL from the specified History document.