contentsholder/topics.info

作成したトピックの情報を取得

URL

GET /v1.0/contentsholder/topics.info

パラメータ

名前 必須 デフォルト値 説明
topic_id 必須 - 作成したトピックのID

レスポンス

{
    "ok": true,
    "topic":{
        "id": "0123456",
        "title": "桜特集;",
        "created_at": "2017-08-25T10:37:53+00:00",
        "updated_at": "2017-08-25T10:37:53+00:00",
        "unit":{
            "id": "1234567",
            "name": "ノアドット新聞",
            "status": "public",
            "signature_color": "0f0f0f",
            "header_type": "background",
            "header_position": "center",
            "copyright_owner": "株式会社ノアドット新聞",
            "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_2.png",
                "square_300": "https://nordot-res.cloudinary.com/t_square_300/ch/units/1234567/header_2.png"
            },
            "profile_image": null,
            "publisher":{
                "id": "39063055987918325",
                "name": "株式会社ノアドット新聞",
                "created_at": "2015-11-16T19:02:38+00:00",
                "updated_at": "2018-02-06T17:29:41+00:00"
            },
            "language": "en-US",
            "timezone": "Asia/Tokyo"
        }
    }
}

topicには、条件に一致したcontentsholder topicオブジェクトが入っています。詳細は、 contentsholder topicオブジェクトを参照してください。

エラー

エラーコード 説明
no_topic_id topic_idが必須なのに渡されていない
invalid_topic_id 不正なtopic_idの指定
topic_not_found トピックが見つからない

上記以外のエラーは、共通エラーの項目を参照してください。