contentsholder/topics.create

Creates a topic in your Content Owner Media Unit

URL

POST /v1.0/contentsholder/topics.create

Parameters

Argument Required Default Value Example Description
unit_id Required - 12345678912345 ID of your Content Owner Media Unit
title Required - Sakura Special 2015. Title of the topic.

Responses

{
    "ok": true,
    "topic":{
        "id": "0123456",
        "title": "Sakura2018",
        "created_at": "2018-03-05T16:28:24+00:00",
        "updated_at": "2018-03-05T16:28:24+00:00",
            "unit":{
                "id": "1234567",
                "name": "Nordot Post",
                "status": "public",
                "signature_color": "0f0f0f",
                "header_type": "background",
                "header_position": "center",
                "copyright_owner": "Nordot Post Inc.",
                "default_post_expire_days": 0,
                "created_at": "2015-11-16T19:06:46+00:00",
                "updated_at": "2018-03-05T05:45:25+00:00",
                "header_image":{
                "url": "https://nordot-res.cloudinary.com/ch/units/1234567/header_1.png",
                "url_w": 400,
                "url_h": 60,
                "thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/ch/units/1234567/header_1.png",
                "square_300": "https://nordot-res.cloudinary.com/t_square_300/ch/units/1234567/header_1.png"
            },
            "profile_image": null,
            "publisher":{
                "id": "0012345",
                "name": "Nordot Post Inc.",
                "created_at": "2015-11-16T19:02:38+00:00",
                "updated_at": "2018-02-06T17:29:41+00:00"
            },
            "language": "en-US",
            "timezone": "Asia/Tokyo"
        }
    }
}

If successful, the method returns generated data. For more details, please refer to the “contentsholder topic” object.

Errors

Error Code Description
no_unit_id Value for "unit_id" is not specified.
invalid_unit_id Value passed for “unit_id" is invalid.
unit_not_found The Media Unit cannot be found.
no_title Value for “title” is not specified.
invalid_title Value passed for “title" is invalid.

For other error codes, refer to the Common Errors section of this document.