Sign in

Create file (v2)

documented

Creates a file (v2).

POST /drive/v2/filesDriveno 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://www.googleapis.com/drive/v2/files" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "mimeType": "{{$mime_type}}", "parents": [{"id": "{{$parent_id}}"}]}'