Get Trigger List
- 인쇄
- PDF
Get Trigger List
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
Cloud Functions 트리거 리스트를 조회합니다.
요청
요청을 위한 파라미터, 헤더, 바디 정보를 설명합니다.
요청 URL
GET {CLOUD_FUNCTIONS_API_URL}/triggers
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
응답
응답 바디
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
content.triggers | Object[] | 트리거 리스트 | |
content.triggers[].name | String | 트리거 이름 | |
content.triggers[].type | String | 트리거 타입 |
오류 코드
HTTP 상태 코드 | 오류 코드 | 오류 메시지 | 설명 |
---|---|---|---|
403 | 80002 | SUB_ACC_NO_PERMISSION | 상세 권한 오류 |
예시
요청 예시
curl -X GET "https://cloudfunctions.apigw.fin-ntruss.com/ncf/api/v2/triggers"
-H "x-ncp-iam-access-key: Y0Z9EG0lKoeWAQCSHRtM"
-H "x-ncp-apigw-timestamp: 1546398302273"
-H "x-ncp-apigw-signature-v2: VXjaLhHB2CdowCrqDNYg7w7GR3TYxZzM2eIZ+i3IH0Q="
응답 예시
{
"content": {
"triggers": [
{
"name": "my_basic_trigger",
"type": "basic"
},
{
"name": "my_cron_trigger",
"type": "cron"
}
]
}
}
이 문서가 도움이 되었습니까?