Upgrades a project's Layer 2 model to a Layer 3 model.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/projects/{projectName}/modelTier HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| projectName |
string |
Yes |
The name of the project. |
projectA |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| requestId |
string |
The request ID. |
73207140-0FD5-588A-B11A-3CE093924196 |
| httpCode |
integer |
Indicates whether the operation was successful. A value other than 200 indicates that the operation failed. |
200 |
| errorCode |
string |
|
OBJECT_NOT_EXIST |
| errorMsg |
string |
The error message. |
this project is not exist. |
| data |
string |
The data returned. |
"data":{ "data":"success", "requestId":"****" } |
Examples
Success response
JSON format
{
"requestId": "73207140-0FD5-588A-B11A-3CE093924196",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST",
"errorMsg": "this project is not exist.",
"data": "\"data\":{\n\t\t\"data\":\"success\",\n\t\t\"requestId\":\"****\"\n\t}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.