Uploads (temporary storage)
Lists the uploaded documents. The documents are kept for 24 hours. The list includes the filenames of the documents. The filenames can be used to reference the documents in request payloads. When a document is referenced, Rialto will copy the document to a permanent storage. During the copy operation, a key referencing the document in the final destination will be generated. See the S3 documentation for more information on S3 pre-signed URLs.
GET /api/client/v1/uploads HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Accept: */*
[
{
"filename": "file1.pdf",
"updatedAt": "2023-03-01T00:00:00Z"
}
]
Generates pre-signed URLs for uploading documents. The uploaded documents are kept for 24 hours. For each file, a pre-signed URL is generated. Each pre-signed URL is valid for 5 minutes. The filenames can be used to reference the documents in request payloads. When a document is referenced, Rialto will copy the document to a permanent storage. During the copy operation, a key referencing the document in the final destination will be generated. See the S3 documentation for more information on S3 pre-signed URLs.
The list of filenames for which to generate pre-signed URLs. It must only contain the following characters: - alphanumeric characters (a-z, A-Z, 0-9) - special characters: - _ . * ' ( ) & $ @ = ; / : space.
POST /api/client/v1/uploads/request-batch-upload HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"filenames": [
"file1.pdf"
]
}
[
{
"filename": "file1.pdf",
"preSignedUrl": "https://rialto-bridge.s3.amazonaws.com/91e5bd3c-0e13-4e6e-a673-3c0842b7f370_abc/file1.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJZ6Z6Z6Z6Z6Z6Z6Z%2F20220301%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220301T000000Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
]