File sharing done simple.


Home

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.

List Files

//api.starfiles.co/2.0/files

Method: GET

Optional Endpoints

extension
 // Filter files by extension
group
 // Group files (Possible values; hashid)
public
 // Show public files
folder
 // Restrict files to a certain folder

Files

Public File List

//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

//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

//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

//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

//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

//api.starfiles.co/2.0/user/create_discord_webhook

Method: POST

Required Endpoints

private_key