vals
Update a file's content
put/v2/vals/{val_id}/files
Request
- Base URLhttps://api.val.town
- URLhttps://api.val.town/v2/vals/{val_id}/files
- Authnone declared
Path parameters
val_idstring uuid required
Id of a val
Query parameters
branch_idstring uuid
The specified branch of the resource. Defaults to main if not provided.
pathstring required
Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Request body
Response
A File or Directory's Metadata
Changes
- breaking
request body became required
- breaking
- breaking
the
/request property type changed fromstringto no type - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status
- breaking