Initialize a new download session
Initialize a file download session. Verifies file ACLs and returns a sealed download session token and metadata.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/files/downloadsession/init" \ -H "Content-Type: application/json" \ -d '{ "file_id": "string" }'{ "session_id": "string", "file_name": "string", "file_size": 0, "mime_type": "string"}