MENU
      Get subject activity list

        Get subject activity list


        Article summary

        Available in Classic and VPC

        Get the subject activity list. You can check the detailed usage history of certificates with the same subject.

        Request

        This section describes the request format. The method and URI are as follows:

        MethodURI
        GET/api/v1/subjects/{subjectId}/credentials

        Request headers

        For information about the headers common to all Sub Account APIs, see Sub Account request headers.

        Request path parameters

        You can use the following path parameters with your request:

        FieldTypeRequiredDescription
        subjectIdStringRequiredSubject ID

        Request query parameters

        You can use the following query parameters with your request:

        FieldTypeRequiredDescription
        pageIntegerOptionalPage number
        • 0-N (default: 0)
        sizeIntegerOptionalPage output count
        • 1-N (default: 20)

        Request example

        The request example is as follows:

        curl --location --request GET 'https://externalaccess.apigw.ntruss.com/api/v1/subjects/c2dea79b-****-****-****-c162618da17d/credentials?page=0&size=20' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
        --header 'Accept: application/json'
        Shell

        Response

        This section describes the response format.

        Response body

        The response body includes the following data:

        FieldTypeRequiredDescription
        pageNoInteger-Page number
        totalElementsInteger-Number of response results
        pageSizeInteger-Page output count
        contentArray-Certificate usage history list

        content

        The following describes content.

        FieldTypeRequiredDescription
        issuerString-Certificates issuer
        serialNumberString-Certificate number
        x509CertificateDataString-X.509 certificate data
        failedBoolean-Authentication success status
        • true | false
          • true: failed
          • false: succeeded
        seenTimeString-Authentication date and time
        • ISO 8601 format

        Response status codes

        For information about the HTTP status codes common to all Sub Account APIs, see Sub Account status codes.

        Response example

        The response example is as follows:

        {
            "pageNo": 0,
            "totalElements": 10,
            "pageSize": 20,
            "content": [
                {
                    "issuer": "CN=QA_Root_CA, OU=IAM Service, O=NAVER Cloud Corp., L=Seongnam-si, ST=Gyeonggi-do, C=KR",
                    "serialNumber": "***************099216805457609290***************",
                    "x509CertificateData": "{x509CertificateData}",
                    "failed": false,
                    "seenTime": "2024-12-12T18:09:05.705+09:00"
                },
                // (Omitted)
            ]
        }
        JSON

        Was this article helpful?

        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.