Upload cycle learning data
    • PDF

    Upload cycle learning data

    • PDF

    Article Summary

    Uploads cycle learning data.

    POST https://aitems.apigw.ntruss.com/api/v1/services/{serviceId}/datasets/{datasetId}
    

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    serviceIdYesStringService ID created
    datasetIdYesStringDataset ID set to the service

    Request body

    Parameter nameRequirement statusTypeRestrictionsDescription
    typeYesStringSelect from user, item, or interactionDataset type
    valueYesObject[]Same schema as datasetData to upload

    Response

    Field nameTypeDescriptionRemarks
    -boolean

    Response status

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

    Examples

    Request examples

    POST /api/v1/services/49qkb0fbnar/datasets/3r570daoluf
    
    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}
    
    {
      "type": "item",
      "value": [
        { "ITEM_ID": "1", "CATEGORY": "A"},
        { "ITEM_ID": "5", "CATEGORY": "A"},
        { "ITEM_ID": "6", "CATEGORY": "B"},
        { "ITEM_ID": "11", "CATEGORY": "C"}
      ]
    }
    
    

    Response examples

    true
    

    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.