1.0

1.0

scpcli application-apigateway stage create
--api_id <value>
--stage_name <value>
--deployment_id <value>
[--description <value>]

Description

스테이지를 생성한다

상태 ACTIVE (DEPRECATED)

버전최소 지원 보장일
1.020251231

Parameters

NameTypeDescriptionExample
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
stage_name
required
string이름test-stage
deployment_id
required
string배포 ID27bb070b564349f8a31cc60734cc36a5
description
optional
string설명description

Responses

NameDescriptionExample
active_deployment활성화 배포2024-05-17T00:23:17Z
allow_credentials허용 인증True
allow_headers허용 헤더[‘Content-Type’, ‘Authorization’]
allow_methods허용 메서드[‘GET’, ‘POST’, ‘PUT’, ‘PATCH’]
allow_origins허용 원본[’*’]
api_idApi ID27bb070b564349f8a31cc60734cc36a5
cors_enabledCORS 사용여부False
created_at생성 일시
deployment_id배포 ID27bb070b564349f8a31cc60734cc36a5
expose_headers노출 헤더[’test1’, ’test2’]
invoke_url호출 URLhttp://test.com/stg
ip_restriction_enabledIP 접근제어 사용여부False
jwt_enabledJWT 사용여부False
max_age최대 캐시 기간3600
name스테이지명test-stage