Get Action's Activation List
- 인쇄
- PDF
Get Action's Activation List
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
Cloud Functions 액션의 실행 결과 리스트를 조회합니다. 한 달 이내에 실행한 결과만 조회 가능합니다.
요청
요청을 위한 파라미터, 헤더, 바디 정보를 설명합니다.
요청 URL
GET {CLOUD_FUNCTIONS_API_URL}/packages/{packageName}/actions/{actionName}/activations
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
요청 경로 파라미터
파라미터명 | 타입 | 필수 여부 | 설명 | 제약 사항 |
---|---|---|---|---|
packageName | String | Y | 패키지 이름 - 패키지에 속하지 않은 액션을 조회하는 경우 붙임표( - )를 입력 | |
actionName | String | Y | 액션 이름 |
요청 파라미터
요청 파라미터는 다음과 같습니다.
파라미터명 | 타입 | 필수 여부 | 설명 | 제약 사항 |
---|---|---|---|---|
pageSize | Integer | N | 조회 결과 페이지 크기 - default: 20 | |
pageNo | Integer | N | 조회 결과 페이지 번호 - default: 1 | |
start | Integer | N | 조회 시작 시간 Timestamp (ms) - default: 요청 시각의 1개월 이전 시점 | |
end | Integer | N | 조회 종료 시간 Timestamp (ms) - default: 요청 시각 |
응답
응답 바디
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
content.totalCount | Integer | 실행 결과 개수 | |
content.activations | Object[] | 실행 결과 리스트 | |
content.activations[].activationId | String | 액션 실행 결과 ID | |
content.activations[].duration | Integer | 액션 실행 시간 (ms) | |
content.activations[].status | String | 액션 상태 |
오류 코드
HTTP 상태 코드 | 오류 코드 | 오류 메시지 | 설명 |
---|---|---|---|
400 | 80000 | INTERNAL_EXCEPTION | 잘못된 요청 파라미터 |
403 | 80002 | SUB_ACC_NO_PERMISSION | 상세 권한 오류 |
404 | 80301 | ACTION_NOT_FOUND | 액션을 찾을 수 없음 |
예시
요청 예시
curl -X GET "https://cloudfunctions.apigw.fin-ntruss.com/ncf/api/v2/packages/-/actions/myaction/activations"
-H "x-ncp-iam-access-key: Y0Z9EG0lKoeWAQCSHRtM"
-H "x-ncp-apigw-timestamp: 1546398302273"
-H "x-ncp-apigw-signature-v2: VXjaLhHB2CdowCrqDNYg7w7GR3TYxZzM2eIZ+i3IH0Q="
응답 예시
{
"content": {
"totalCount": 2,
"activations": [
{
"activationId": "32236a0d37a64b11a36a0d37a66b11c6",
"duration": 10,
"status": "success"
},
{
"activationId": "7c7e5dbf802d4ebabe5dbf802d0ebad9",
"duration": 23,
"status": "success"
}
]
}
}
이 문서가 도움이 되었습니까?