vals
Download file content
get/v2/vals/{val_id}/files/content
Request
- Base URLhttps://api.val.town
- URLhttps://api.val.town/v2/vals/{val_id}/files/content
- Authnone declared
Path parameters
val_idstring uuid required
Id of a val
Query parameters
versioninteger
Specific branch version to query
branch_idstring uuid
Id to query
pathstring required
Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Headers
If-Matchstring
If-Unmodified-Sincestring
If-None-Matchstring
If-Modified-Sincestring
Cache-Controlstring
Response
Contents of the file
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info