filesystem
Create or update a file or directory
Create or update a file or directory
put/filesystem/{path}
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesadmin
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
pathstring required
File or directory path
Request body
Example request
{
"content": "file contents here",
"permissions": "0644"
}Response
Success message
Example response
{
"message": "File created successfully",
"path": "/path/to/file"
}Changes
No recorded changes to this operation across all 1 revision of this API.