Drive · team
3 routes. Paths are relative to https://api.intersink.com/v1.
- GET/drive/channels/{channelId}/filesThe channel's team files, newest first
- POST/drive/channels/{channelId}/filesUpload a team file (multipart: source_type=team, then file)
- DELETE/drive/channels/{channelId}/files/{id}Delete a team file
The channel's team files, newest first
GET/drive/channels/{channelId}/files
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
Upload a team file (multipart: source_type=team, then file)
POST/drive/channels/{channelId}/files
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
201. The payload in data is of type object.
Delete a team file
DELETE/drive/channels/{channelId}/files/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path | |
| idrequired | number, path |
Response
200. The payload in data is not described in the spec yet.