Namespace: /api/v1


FUNCTION: LIST

METHOD: GET

ENDPOINT: /FILES

To retrieve a list of files, pass the same parameters you would in the liquid tags. eg. {'tag': 'featured'}

FUNCTION: GET

METHOD: GET

ENDPOINT: /FILES/:ID

To retrieve a single file, accepts both the ID and UID fields for the ID parameter.

FUNCTION: CREATE

METHOD: POST

ENDPOINT: /FILES

To create a single file, minimum required fields are:
  1. Title
  2. Type
  3. Permalink

FUNCTION: UPDATE

METHOD: PATCH/PUT

ENDPOINT: /FILES/:ID

To update a single file.

FUNCTION: DELETE

METHOD: DELETE

ENDPOINT: /FILES/:ID

To remove a single file.