Drive Sharing
62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.
POST/api/v1/drive/shared/files/{fileId}/users/{userId}/shareShare file to user
- Pfad
/api/v1/drive/shared/files/{fileId}/users/{userId}/share- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/files/{fileId}/users/{userId}/share \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/files/{fileId}/users/{userId}/share", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/drive/shared/files/{fileId}/users/{userId}/unshareUnshare file from user
- Pfad
/api/v1/drive/shared/files/{fileId}/users/{userId}/unshare- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/files/{fileId}/users/{userId}/unshare \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/files/{fileId}/users/{userId}/unshare", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/drive/shared/files/{id}Get shared file
- Pfad
/api/v1/drive/shared/files/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/files/{id} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/files/{id}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/drive/shared/folders/{folderId}/itemsGet folder share items
- Pfad
/api/v1/drive/shared/folders/{folderId}/items- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/items \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/items", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/drive/shared/folders/{folderId}/users/{userId}/shareShare folder to user
- Pfad
/api/v1/drive/shared/folders/{folderId}/users/{userId}/share- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/users/{userId}/share \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/users/{userId}/share", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/drive/shared/folders/{folderId}/users/{userId}/unshareUnshare folder from user
- Pfad
/api/v1/drive/shared/folders/{folderId}/users/{userId}/unshare- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/users/{userId}/unshare \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/folders/{folderId}/users/{userId}/unshare", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/drive/shared/folders/{id}Get shared folder
- Pfad
/api/v1/drive/shared/folders/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/folders/{id} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/folders/{id}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/drive/shared/itemsGet shared drive items
- Pfad
/api/v1/drive/shared/items- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/items \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/items", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();DELETE/api/v1/drive/shared/{id}/access/{accessId}Delete share access
- Pfad
/api/v1/drive/shared/{id}/access/{accessId}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/{id}/access/{accessId} \
-X DELETE \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/{id}/access/{accessId}", {
method: "DELETE",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PATCH/api/v1/drive/shared/{id}/access/{accessId}/updateUpdate share access
- Pfad
/api/v1/drive/shared/{id}/access/{accessId}/update- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/{id}/access/{accessId}/update \
-X PATCH \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/{id}/access/{accessId}/update", {
method: "PATCH",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PATCH/api/v1/drive/shared/{id}/updateUpdate share
- Pfad
/api/v1/drive/shared/{id}/update- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/drive/shared/{id}/update \
-X PATCH \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/drive/shared/{id}/update", {
method: "PATCH",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();