contentsholder/series.update

作成した連載を更新

URL

POST /v1.0/contentsholder/series.update

パラメータ

名前 必須 デフォルト値 説明
series_id 必須 - 更新したい連載のID
title 必須 - 連載のタイトル
description 任意 - 連載の説明文

レスポンス

{
        "ok": true,
        "series":{
            "id": "0112345",
            "title": "あいうえお",
            "description": "だだだだ",
            "created_at": "2017-12-06T13:17:17+00:00",
            "updated_at": "2018-03-05T07:32:08+00:00",
            "cover_image": null,
            "unit":{
                "id": "0123456",
                "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/0123456/header_69.png",
                "url_w": 400,
                "url_h": 60,
                "thumb_360": "https://nordot-res.cloudinary.com/t_thumb_360/ch/units/0123456/header_69.png",
                "square_300": "https://nordot-res.cloudinary.com/t_square_300/ch/units/0123456/header_69.png"
            },
            "profile_image": null,
            "publisher":{
                "id": "0012345",
                "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_series_id 不正なseries_idの指定
series_not_found 連載が見つからない
no_update_param 更新するパラメータがひとつも渡されていない
no_title titleがない
invalid_title 不正なtitleの指定
invalid_description 不正なdescriptionの指定

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