Sign in

Create file

documented

Upload or create a new file/folder in a project.

POST /filesFilesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://redbooth.com/api/3/files" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -F "asset=@{{$asset_path}}" \
  -F "project_id={{$project_id}}" \
  -F "target_id={{$target_id}}" \
  -F "parent_id={{$parent_id}}" \
  -F "pinned={{$pinned}}" \
  -F "is_dir={{$is_dir}}" \
  -F "name={{$name}}" \
  -F "type={{$type}}" \
  -H "Accept: application/json"