Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Querying Stack Input

Updated on 2023-08-14 GMT+08:00

Function

This API is used to query stack input.

URI

GET /v2/stacks/{stack_id}/inputs

Table 1 Parameter description

Parameter

Mandatory

Description

stack_id

Yes

Stack ID, which has a length of 1 to 64 characters

Request

N/A

Response

  • Response parameters
    Table 2 Response parameters

    Parameter

    Type

    Description

    inputs

    Object

    Stack input information. For each key-value pair, the key indicates the input name. The value indicates the input value.

    NOTE:

    When the input parameter is defined as of the secret/password type in the template input, the input value returned in the query interface is encrypted.

  • Example response
    {
        "inputs": {
            "provison_mysql_passwd": "******",
            "publish_image_name": "10.175.9.211:20202/aos-team/mysql:latest"
        }
    }

Status Code

  • Normal
    Table 3 Status code

    Status Code

    Description

    200

    Querying the stack input information is successful.

  • Abnormal
    Table 4 Status code

    Status Code

    Description

    404

    The stack does not exist.

    500

    The server fails to process the request due to an unexpected condition.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback