Querying a Technology Stack Based on the Technology Stack ID
Function
This API is used to query a technology stack based on the technology stack ID.
URI
GET /v3/{project_id}/cas/runtimestacks/{runtimestack_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Tenant's project ID. See Obtaining a Project ID. |
runtimestack_id |
Yes |
String |
Technology stack ID. See Querying a Runtime System Stack. |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
Yes |
String |
Message body type (format). Default value: application/json;charset=utf8. |
X-Auth-Token |
Yes |
String |
API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain the token, see Authentication. |
Response
Parameter |
Type |
Description |
---|---|---|
id |
String |
Technology stack ID. |
name |
String |
Runtime system name. |
project_id |
String |
Tenant's project ID. |
deploy_mode |
String |
Deployment mode.
|
version |
String |
Version number. |
type |
String |
Technology stack type. Value: Nodejs, Java, Tomcat, Python, Docker, or Php. |
version |
String |
Technology stack version. |
spec |
Object |
Technology stack parameters. See Table 4. |
system |
Integer |
Whether the stack is a system technology stack.
|
status |
String |
Technology stack status.
|
creator |
String |
Creator. |
create_time |
Integer |
Creation time. |
update_time |
Integer |
Update time. |
component_count |
Integer |
Number of components associated with the technology stack. |
Example Request
None
Example Response
{ "id": "cf4727f0-0d6f-43d5-b1b8-f2c1f09d1611", "name": "test", "project_id": "578ac30b81034b89a7255b3af26db9c9", "deploy_mode": "virtualmachine", "type": "Java", "version": "1.0.0", "description": null, "spec": { "os": null, "sdk": null, "parameters": { "jdk_url": "obs://cyf/bisheng-jdk-8u412-linux-aarch64.tar.gz" } }, "system": 0, "status": "Disable", "creator": "cyf", "create_time": 1722934506431, "update_time": 1722934506431 }
Status Code
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
404 |
Not Found |
409 |
Conflict |
500 |
Internal Server Error |
Error Code
The error code format is SVCSTG.00100.[Error_ID], for example, SVCSTG.00100400. For details, see ServiceStage Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot