Get Action
    • PDF

    Get Action

    • PDF

    Article Summary

    개요

    특정 액션을 조회합니다.

    요청

    요청 URL

    GET {CLOUD_FUNCTIONS_API_URL}/packages/{packageName}/actions/{actionName}
    
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Path Variables

    파라미터필수 여부타입설명
    packageNameYesstring- 패키지 이름
    package에 속하지 않은 action을 조회하는 경우, packageName에 -를 입력
    actionNameYesstring액션 이름

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    platformNostring(classic | vpc)- 플랫폼 타입
    default classic으로 처리됨

    응답

    응답 바디

    Basic Action

    {
        "content": {
            "name": "string",
            "path": "string",
            "description": "string",
            "web": "boolean",
            "raw-http": "boolean",
            "custom-options": "boolean",
            "parameters": {
    
            },
            "exec": {
                "binary": "boolean",
                "code": "string",
                "kind": "string",
                "main": "string"
            },
            "limits": {
                "memory": "number",
                "timeout": "number"
            },
            "vpc" : {
                "vpcNo": "number",
                "subnetNo": "number"
            },
            "resourceId": "string"
        }
    }
    
    항목타입설명비고
    content.namestring액션 이름
    content.pathstring액션의 path
    content.descriptionstring액션 설명
    content.webboolean웹액션 설정
    content.raw-httpbooleanHTTP 원문 사용 여부
    content.custom-optionsboolean헤더 옵션 설정
    content.parametersobject액션의 디폴트 파라미터
    content.exec.binaryboolean코드의 파일 바이너리 여부
    content.exec.codestring소스 코드
    content.exec.kindstring사용 언어
    content.exec.mainstring코드 내의 실행할 함수
    content.limits.memorynumber액션 컨테이너에 할당되는 메모리 크기
    content.limits.timeoutnumber액션이 실행될 수 있는 최대 시간
    content.vpcvpc 정보.platform이 vpc인 경우에만 노출됨
    content.vpc.vpcNonumber연결된 vpc의 No
    content.vpc.subnetNonumber연결된 subnet의 No
    content.resourceIdstring액션의 resourceId

    Sequence Action

    {
        "content": {
            "name": "string",
            "path": "string",
            "description": "string",
            "resourceId": "string",
            "web": "boolean",
            "exec": {
                "kind": "string",
                "components": [
                  "string"
                ]
            }
        }
    }
    
    항목타입설명비고
    content.namestring액션 이름
    content.pathstring액션의 path
    content.descriptionstring액션 설명
    content.resourceIdstring액션의 resourceId
    content.webboolean웹액션 설정
    content.exec.kindstring시퀀스 액션
    content.exec.componentsstring array연결된 액션 리스트

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

    What's Next
    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.