search/contentsholder/units.list

作成されたコンテンツホルダー・ユニットの一覧を取得

URL

GET /v1.0/search/contentsholder/units.list

パラメータ

名前 必須 デフォルト値 説明
offset 任意 0 取得開始位置。0~1000の範囲で指定。
limit 任意 10 取得件数。1~100の範囲で指定。

レスポンス

{
    "ok": true,
    "units": [
        {
            "id": "0123456",
            "name": "ノアドット新聞",
            "created_at": "2015-11-10T20:09:31+00:00",
            "updated_at": "2015-12-25T18:58:10+00:00",
            "header_image": {
                "url": "https://img.nordot.jp/ch/units/0123456/header_1.png",
                "url_w": 360,
                "url_h": 54,
                "thumb_360": "https://img.nordot.jp/t_thumb_360/ch/units/0123456/header_1.png"
            },
            "profile_image":{
              "url": "https://nordot-res.cloudinary.com/ch/units/0123456/profile_1.jpg",
              "square_200": "https://nordot-res.cloudinary.com/ch/units/0123456/profile_1.jpg"
            },
            "publisher":{
              "id": "1234567",
              "name": "株式会社ノアドット新聞",
              "created_at": "2018-02-11T13:32:52+00:00",
              "updated_at": "2018-02-13T04:41:19+00:00"
            }
        },
        ...
    ],
    "paging": {
        "count": 10,
        "offset": 0,
        "limit": 10,
        "has_next": true,
        "total": 300
    }
}

unitsには、条件に一致したsearch contentsholder unitオブジェクトの配列が入っています。詳細は、search contentsholder unitオブジェクトとpagingオブジェクトを参照してください。

totalは、10000件以上の場合は“10000”になります。

エラー

エラーコード 説明
invalid_offset 不正なoffsetの指定
invalid_limit 不正なlimitの指定