files

List Files

List files that Chariot stores on your behalf. Create a File Link to download the file's contents.

get/v1/files

Query parameters

limitinteger

Limit the size of the list that is returned. The default (and maximum) is 100 objects.

cursorstring

The cursor to use for pagination. If not set, the first page of results will be returned.

Response

The response for Files.list

next_page_tokenstring

A cursor token to use to retrieve the next page of results by making another API call to the same endpoint with the same parameters (only changing the pageToken). If specified, then more results exist on the server that were not returned, otherwise no more results exist on the server.

Example response

{
  "results": [
    {
      "id": "file_01j8rs605a4gctmbm58d87mvsj",
      "file_name": "donation_receipt.pdf",
      "description": "Donation receipt for donation to the nonprofit",
      "purpose": "manual_upload",
      "content_type": "application/pdf",
      "size_bytes": 20841,
      "created_at": "2020-01-31T23:59:59Z",
      "updated_at": "2020-01-31T23:59:59Z"
    }
  ]
}

Changes

Changed in 1 of the 41 revisions of this API.1