Creates an OSS import task in a specified project.
Try it now
Test
RAM authorization
Request syntax
POST /ossingestions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The project name. |
ali-test-project |
| body |
object |
No |
The configuration of the OSS import job. |
|
| description |
string |
No |
The job description. |
任务描述 |
| displayName |
string |
Yes |
The display name. |
OSS导入 |
| schedule | Schedule |
No |
The scheduling configuration. This parameter is optional. To meet specific timing requirements, such as importing data at 8:00 AM every Monday, use a cron expression. |
|
| configuration | OSSIngestionConfiguration |
Yes |
The OSS import configuration. |
|
| name |
string |
Yes |
The job name. The naming conventions are as follows: The job name must be unique within the project.
|
ingest-oss-123456 |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | AuthorizationRequired | Authorization Required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.