Zum Inhalt springen

Drive

62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.

GET/api/v1/drive/organization-possessedList all drives for the organization
Pfad
/api/v1/drive/organization-possessed
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/organization-possessed \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/drive/{id}Get drive by ID
Pfad
/api/v1/drive/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id} \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/drive/{id}/contentsGet paginated folder contents
Pfad
/api/v1/drive/{id}/contents
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/contents \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/drive/{id}/create-folderCreate folder in drive
Pfad
/api/v1/drive/{id}/create-folder
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/create-folder \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/drive/{id}/foldersGet root-level folders in drive
Pfad
/api/v1/drive/{id}/folders
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/folders \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/drive/{id}/searchSearch within drive
Pfad
/api/v1/drive/{id}/search
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/search \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/drive/{id}/trashGet trashed items in drive
Pfad
/api/v1/drive/{id}/trash
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/trash \
  -H "X-API-Key: $CASHWERK_API_KEY"
DELETE/api/v1/drive/{id}/trash/clearClear drive trash
Pfad
/api/v1/drive/{id}/trash/clear
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/trash/clear \
  -X DELETE \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/drive/{id}/upload/batchBatch upload multiple files
Pfad
/api/v1/drive/{id}/upload/batch
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/upload/batch \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/drive/{id}/upload/chunked/initInitialize chunked upload session
Pfad
/api/v1/drive/{id}/upload/chunked/init
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/upload/chunked/init \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/drive/{id}/upload/directDirect upload for small files
Pfad
/api/v1/drive/{id}/upload/direct
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/upload/direct \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/drive/{id}/upload/direct/initInitialize direct-to-storage upload session
Pfad
/api/v1/drive/{id}/upload/direct/init
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/upload/direct/init \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/drive/{id}/viewGet unified drive view with folders and contents
Pfad
/api/v1/drive/{id}/view
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/{id}/view \
  -H "X-API-Key: $CASHWERK_API_KEY"