Document


GET api/documents

This route grabs the documents from the user's Google docs drive, and returns the data onto the page.

Expected Header:

"Authorization": "Bearer <token>"

Expected Response:

[
  {
    "_id": "58f5a7cdc0fc830554454e9e",
    "googleID": "1ep8bQ6ZjB68EsYqmo2wdSworXKxlSWwwalfXrgOe-lw",
    "name": "Project",
    "user": "58f5a7cdc0fc830554454e9b",
    "link": "<document link>",
    "__v": 0
  }
]

results matching ""

    No results matching ""