- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- Logistics
- Depot
- Fleet Management
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
List all S3Files
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/s3files
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
parent_type
string
optional
Example:
Logistics::Loading
parent_id
string
optional
Example:
9093ab21-1926-409e-a82f-3a6b1d7a4921
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.modaltrans.com/api/v1/s3files?parent_type=Logistics::Loading&parent_id=9093ab21-1926-409e-a82f-3a6b1d7a4921'
Responses
🟢200OK
application/json
Body
array of:
id
integer
optional
name
string
optional
file_data
string
optional
size
string
optional
file_type
null
optional
created_at
string
optional
parent_type
string
optional
parent_id
integer
optional
document_url
string
optional
user_id
integer
optional
user_name
string
optional
file_class
string
optional
Example
[
{
"id": 0,
"name": "string",
"file_data": "string",
"size": "string",
"file_type": null,
"created_at": "string",
"parent_type": "string",
"parent_id": 0,
"document_url": "string",
"user_id": 0,
"user_name": "string",
"file_class": "string"
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-26 10:32:02