Link Search Menu Expand Document

Fetch All

/api/v2/link/fetch

Post

links

jwt

pgn


Purpose

To allow a user to fetch all links to his/her uploaded media files.

Body Content [input]

{
    uid: string
}

Returns if valid [output]

{
    links: {
        uid: string,
        linkID: string,
        link: string
    }[],
    error: 0,
    amount: int
}

What the API does

  • Fetches all the records from the links collection having the same value for their uid field as that passed and appends them to a list before returning it.