Documentation v2
Last Updated: 3 years ago
API v2 will have a staged roll out. Check back as more endpoints are moved to v2.
DO NOT USE API v2 IN PRODUCTION PROJECTS YET. This is a live draft, endpoints listed may be changed without notice.
Public
PublicPublic File List
Files
Star File
Unstar File
Trash File
Untrash File
Folders
Short URLs
Webhooks
WebhooksCreate Discord Webhook
List Files
//api.starfiles.co/2.0/files
Method: GET
Optional Endpoints
Files
Public File List
//api.starfiles.co/2.0/public/File ID/star/true
Method: POST
Required Endpoints
Required Permissions
You must own the file.
Star File
//api.starfiles.co/2.0/file/File ID/star/true
Method: POST
Required Endpoints
Required Permissions
You must own the file.
Unstar File
//api.starfiles.co/2.0/file/File ID/star/false
Method: POST
Required Endpoints
Required Permissions
You must own the file.
Trash File
//api.starfiles.co/2.0/file/File ID/trash/true
Method: POST
Required Endpoints
Required Permissions
You must own the file.
Untrash File
//api.starfiles.co/2.0/file/File ID/trash/false
Method: POST
Required Endpoints
Required Permissions
You must own the file.
Folders
Short URLs
Webhooks
Create Discord Webhook
//api.starfiles.co/2.0/user/create_discord_webhook