Documentation v2
Last Updated: 2 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
https://api.starfiles.co/2.0/files
Method: GET
Optional Endpoints
extension
// Filter files by extensiongroup
// Group files (Possible values; hash, id)
public
// Show public filesfolder
// Restrict files to a certain folderFiles
Public File List
https://api.starfiles.co/2.0/public/File ID/star/true
Method: POST
Required Endpoints
private_key
Required Permissions
You must own the file.
Star File
https://api.starfiles.co/2.0/file/File ID/star/true
Method: POST
Required Endpoints
private_key
Required Permissions
You must own the file.
Unstar File
https://api.starfiles.co/2.0/file/File ID/star/false
Method: POST
Required Endpoints
private_key
Required Permissions
You must own the file.
Trash File
https://api.starfiles.co/2.0/file/File ID/trash/true
Method: POST
Required Endpoints
private_key
Required Permissions
You must own the file.
Untrash File
https://api.starfiles.co/2.0/file/File ID/trash/false
Method: POST
Required Endpoints
private_key
Required Permissions
You must own the file.
Folders
Short URLs
Webhooks
Create Discord Webhook
https://api.starfiles.co/2.0/user/create_discord_webhook
Method: POST
Required Endpoints
private_key