Get Package List
    • PDF

    Get Package List

    • PDF

    Article Summary

    Available in Classic and VPC

    Views the list of Cloud Functions packages.

    Requests

    Describes parameters, headers, and body information for the request.

    Request URL

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

    Request parameters

    Request parameters are as follows:

    Parameter nameTypeRequirement statusDescriptionRestrictions
    platformStringNPlatform type
    - options: vpc/classic
    - default: vpc

    Responses

    Response bodies

    Field nameTypeDescriptionRemarks
    content[].nameStringPackage name
    content[].descriptionStringPackage description

    Error codes

    HTTP status codeError codesError messageDescription
    40381002SUB_ACC_NO_PERMISSIONResource view permission error

    Examples

    Request examples

    curl -X GET "https://cloudfunctions.apigw.ntruss.com/ncf/api/v2/packages?platform=vpc"
    -H "x-ncp-iam-access-key: Y0Z9EG0lKoeWAQCSHRtM"
    -H "x-ncp-apigw-timestamp: 1546398302273"
    -H "x-ncp-apigw-signature-v2: VXjaLhHB2CdowCrqDNYg7w7GR3TYxZzM2eIZ+i3IH0Q="
    

    Response examples

    {
        "content": [
            {
                "description": "My package",
                "name": "mypackage"
            }
        ]
    }
    

    Was this article helpful?

    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.