Documentation Index
Fetch the complete documentation index at: https://docs.tktchurch.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires authentication and the viewFiles permission.
Path Parameters
The storage provider. One of:
s3: Amazon S3 storage
local: Local file storage
The storage key/path of the file
Query Parameters
Number of minutes until the signed URL expires (default: 60)
Response
Returns a string containing the signed URL that can be used to access the file.
Error Responses
Error details when the request fails
Error message explaining why the request failed
Common error cases:
- 400 Bad Request: Invalid provider or key
- 401 Unauthorized: Missing or invalid access token
- 403 Forbidden: Missing required permission
- 404 Not Found: File not found
curl -X GET "https://api.tktchurch.com/v1/files/provider/s3/signed-url/uploads/abc123.jpg?expires=30" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."
https://storage.example.com/uploads/abc123.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...