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}
    

    요청 경로 파라미터

    파라미터명타입필수 여부설명제약 사항
    packageNameStringY패키지 이름
    - 패키지에 속하지 않은 액션을 조회하는 경우 붙임표( - )를 입력
    actionNameStringY액션 이름

    요청 파라미터

    요청 파라미터는 다음과 같습니다.

    파라미터명타입필수 여부설명제약 사항
    pageSizeIntegerN조회 결과 페이지 크기
    - default: 20
    pageNoIntegerN조회 결과 페이지 번호
    - default: 1
    startIntegerN조회 시작 시간 Timestamp (ms)
    - default: 요청 시각의 1개월 이전 시점
    endIntegerN조회 종료 시간 Timestamp (ms)
    - default: 요청 시각

    응답

    응답 바디

    필드명타입설명비고
    content.totalCountInteger실행 결과 개수
    content.activationsObject[]실행 결과 리스트
    content.activations[].activationIdString액션 실행 결과 ID
    content.activations[].durationInteger액션 실행 시간 (ms)
    content.activations[].statusString액션 상태

    오류 코드

    HTTP 상태 코드오류 코드오류 메시지설명
    40080000INTERNAL_EXCEPTION잘못된 요청 파라미터
    40380002SUB_ACC_NO_PERMISSION상세 권한 오류
    40480301ACTION_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"
                }
            ]
        }
    }
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.