Creates a package.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/v1/projects/{projectName}/packages
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
projectName | string | Yes | The name of the MaxCompute project. | projectA |
isInstall | boolean | No | Specifies whether to install the package. | false |
body | string | No | The request body parameters. | { "name": "test_packege", "resourceList": { "table": [ { "name": "table_name", "actions": [ "Describe", "Select" ] }, { "name": "table_name", "actions": [ "Describe", "Select" ] } ], "resource": [ { "name": "", "actions": [] }, { "name": "", "actions": [] } ], "function": [ { "name": "", "actions": [] }, { "name": "", "actions": [] } ] } } |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "0bc3b4ab16684833172127321e2c25",
"data": "success"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history