contentsholder/series.create

連載を作成

URL

POST /v1.0/contentsholder/series.create

パラメータ

名前 必須 デフォルト値 説明
unit_id 必須 - コンテンツホルダー・ユニットのID
title 必須 - 連載のタイトル
description 任意 空文字 連載の説明文

レスポンス

{
    "ok": true,
    "series":{
        "id": "0123456",
        "title": "桜舞う",
        "description": "",
        "created_at": "2018-03-05T07:01:28+00:00",
        "updated_at": "2018-03-05T07:01:28+00:00",
        "cover_image": null,
        "unit":{
            "id": "00112233",
            "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/39064096833832437/header_69.png",
                "url_w": 400,
                "url_h": 60,
                "thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/ch/units/39064096833832437/header_69.png",
                "square_300": "https://nordot-res.cloudinary.com/t_square_300/ch/units/39064096833832437/header_69.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"
    }
}

作成されたデータを返します。詳細は、contentsholder seriesオブジェクトを参照してください。

エラー

エラーコード 説明
no_unit_id unit_idが必須なのに渡されていない
invalid_unit_id 不正なunit_idの指定
unit_not_found ユニットが見つからない
no_title titleが必須なのに渡されていない
invalid_title 不正なtitleの指定
invalid_description 不正なdescriptionの指定

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