API
API Examples
Common API calls.
List files
curl -H "x-api-key: YOUR_KEY" \
https://your-domain.com/api/v1/filesUpload a file
curl -H "x-api-key: YOUR_KEY" \
-F "file=@/path/to/file.mp4" \
-F "isPublic=true" \
-F "description=Sample" \
https://your-domain.com/api/v1/uploadCreate a bookmark
curl -H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","title":"Example","isPublic":false}' \
https://your-domain.com/api/v1/bookmarks