Appearance
Query OSS Output Config List
API Information
- Request Path:
/market/ossOutput/list - Request Method:
POST - Content-Type:
application/json
Request Headers
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | String | Yes | User authentication token |
| Content-Type | String | Yes | Must be set to application/json |
Request Body Structure
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| pageNumber | Integer | No | Page number | Default from server when omitted |
| pageSize | Integer | No | Page size | Default from server when omitted |
Request Body Example
json
{
"pageNumber": 1,
"pageSize": 10
}Response Body Structure
CommonResponse Object
| Field | Type | Description |
|---|---|---|
| code | Integer | Response status code |
| message | String | Response message |
| data | OssOutputListResp | Response data |
OssOutputListResp Object
| Field | Type | Description |
|---|---|---|
| total | Long | Total count |
| content | List<OssOutputListItemResp> | Config list |
OssOutputListItemResp Object
| Field | Type | Description |
|---|---|---|
| id | Long | Config ID |
| name | String | Config name |
| endPoint | String | Endpoint |
| accessPath | String | Access path |
| ctime | Long | Create timestamp |
| mtime | Long | Modify timestamp |
Response Examples
Success Response
json
{
"code": 200,
"message": "success",
"data": {
"total": 1,
"content": [
{
"id": 2001,
"name": "default-output",
"storageType": "S3",
"endPoint": "https://s3.example.com",
"bucket": "eo-result",
"folderPath": "/market/orders",
"accessPath": "https://s3.example.com/eo-result/market/orders",
"accessRelativePath": "/eo-result/market/orders",
"ctime": 1775728800,
"mtime": 1775728800
}
]
}
}Failure Response
json
{
"code": 400,
"message": "Invalid parameters",
"data": null
}Error Code Description
| Error Code | Description |
|---|---|
| 200 | Success |
| 400 | Request parameter error |
| 401 | Unauthorized |
| 500 | Server internal error |
Usage Instructions
- This API is used to query current user's output storage configurations.
- User authentication is required.
- Supports pagination parameters.
Notes
- Sensitive keys are not returned in this API.