1.0
1.0
scpcli application-apigateway method create
--resource_id <value>
--api_id <value>
--method_type <value>
--integration_type <value>
[--api_key_required <value>]
[--endpoint_url <value>]
[--function_id <value>]
[--privatelink_endpoint_id <value>]
[--query_strings <value>]
[--request_headers <value>]
Description
메서드를 생성한다
상태 ACTIVE (DEPRECATED)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| resource_id required | string | 리소스 ID | 27bb070b564349f8a31cc60734cc36a5 |
| api_id required | string | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| method_type required | string | 메서드 유형 | GET |
| integration_type required | string | 메서드 통합 유형 | HTTP |
| api_key_required optional | boolean | API Key 사용여부 | False |
| endpoint_url optional | string | 메서드 엔드포인트 URL | https://127.0.0.1:8000 |
| function_id optional | string | Cloud Function ID | 27bb070b564349f8a31cc60734cc36a5 |
| privatelink_endpoint_id optional | string | PrivateLink 엔드포인트 ID | 27bb070b564349f8a31cc60734cc36a5 |
| query_strings optional | object | 메서드 쿼리 문자열 | {'param1': 'value1', 'param2': 'value2'} |
| request_headers optional | object | 메서드 요청 헤더 | {'test1' : True} |
Responses
| Name | Description | Example |
|---|---|---|
| endpoint_url | 메서드 엔드포인트 URL | https://127.0.0.1:8000 |
| function_id | Cloud Function ID | 27bb070b564349f8a31cc60734cc36a5 |
| integration_type | 메서드 통합 유형 | HTTP |
| method_type | 메서드 유형 | GET |
| query_strings | 메서드 쿼리 문자열 | {‘param1’: ‘value1’, ‘param2’: ‘value2’} |
| request_headers | 메서드 요청 헤더 | {’test1’ : True} |
| request_path | 메서드 요청 경로 | {users} |
| srn | SRN | srn:dev2::9b7653f6f47a42e38055934a0575a813:kr-west1::apiateway:method/151a6c15922747faaaae7f70/*/GET/test |