Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

History

Omri Bornstein edited this page Dec 13, 2020 · 2 revisions
  • 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

  1. Accepts HTTP header with JWT in the Authorisation field,
  2. returns an Array of History documents with the type specified.
  1. Accepts HTTP header with JWT in the Authorisation field and an HTTP body of {history: History, urlToDelete: String},
  2. Removes the specified URL from the specified History document.