Upload a file
The body is the file's bytes, with its media type as Content-Type, up to the app's file size limit. Upload a file before the record that names it.
Authorization
SyncToken A SyncPilled token from POST /v1/apps/{app}/auth/token, valid for one hour.
In: header
Path Parameters
The app's id.
The lowercase hex SHA-256 of the file's bytes.
^[0-9a-f]{64}$Request Body
application/octet-stream
TypeScript Definitions
Use the request body type in TypeScript.
binaryResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/apps/string/files/string" \ -H "Content-Type: application/octet-stream" \ -d 'string'Check whether a file is stored
Check whether a file is stored (HEAD /v1/apps/{app}/files/{sha256}) in the SyncPilled API. Accepts a SyncPilled token from the app's sign-in.
Delete the person's account in the app, for good
Delete the person's account in the app, for good (DELETE /v1/apps/{app}/me) in the SyncPilled API. Accepts a SyncPilled token from the app's sign-in.