Search schema list
    • PDF

    Search schema list

    • PDF

    Article summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Search an entire schema list.

    GET https://aitems.apigw.ntruss.com/api/v1/schemas?datasetType={datasetType}
    

    Request

    Parameter nameRequirement statusTypeRestrictionsDescription
    datasetTypeNoStringuser, item, interactionAvailable dataset types

    Response

    Field nameTypeDescriptionRemarks
    schemas[].datasetTypeStringAvailable dataset types
    schemas[].nameStringSchema name
    schemas[].createdDateStringSchema creation date

    Response status

    HTTP StatusDesc
    200OK (Successfully searched)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    Examples

    Request example

    GET /api/v1/schemas
    
    Host: aitems.apigw.ntruss.com
    accept: application/json
    x-ncp-iam-access-key: {Access key}
    x-ncp-apigw-signature-v2: {API GW signature}
    x-ncp-apigw-timestamp: {timestamp}
    

    Response example

    {
      "schemas": [
        {
          "datasetType": "user",
          "name": "book_user",
          "createdDate": "2021-09-29T11:13:19.08"
        },
        {
          "datasetType": "item",
          "name": "movie_item",
          "createdDate": "2021-09-29T11:11:41.121"
        },
        {
          "datasetType": "user",
          "name": "user_info",
          "createdDate": "2021-09-14T18:01:02.47"
        }
      ]
    }
    

    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.