Item API : List items similar to an item

GET /api/1/items/:item_id/similar.json

指定したアイテムに関連するアイテム一覧を返却する。 関連度の強い順になっている。 なお、有効期間が過ぎているアイテムは含まれない。 (始まる前のアイテムは含まれる) (参考 : アイテムの有効期間について

Parameters

Key Value デフォルト値
item_id 取得対象アイテムのID
page 取得するページ番号。1 <= page 1
limit 1ページに含む要素の数。 1 <= limit <= 100 100

Request

Route

GET /api/1/items/919271622/similar.json

Headers

Host: example.org
Cookie: 
Origin: 

Response

Headers

Content-Type: application/json; charset=utf-8
Set-Cookie: guest_distinct_id=98f79c2c-ce8f-478c-a7c8-d96e44d362e6; expires=Mon, 09-Jan-2023 01:54:10 GMT
THIS_IS_SESSION_COOKIE_KEY_FOR_SPEC=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTk3ODYyMGMyM2VlZjIxNTFjMjdiNDQxNmUzNmFmY2Q0BjsAVEkiGGtwaV9wcmV2X2NvbnRyb2xsZXIGOwBGSSIWYXBpL2l0ZW1zI3NpbWlsYXIGOwBG--f02c470625b24084d42d23a41f8572948d5f9a55; path=/; HttpOnly
X-Ua-Compatible: IE=Edge,chrome=1
E-Tag: "0225e30e6a3f861f7f3a575f84fa6025"
Cache-Control: max-age=0, private, must-revalidate
X-Request: 0d987d1fc53ea01b77782fd574ba0fd0
X-Runtime: 0.035117
Content-Length: 5692

Status

200 OK

Body

フォーマット: items/paginated_list
{
  "total": 2,
  "page": 1,
  "limit": 100,
  "items": [
    {
      "id": 919271623,
      "title": "秋葉原駅のトイレでぼやが出たらしい",
      "reclip_from_id": null,
      "reclip_count": 0,
      "like_count": 0,
      "origin_id": null,
      "link_url": "http://hilll.name/index.html",
      "created_at": "2013-01-09T01:54:10Z",
      "updated_at": "2013-01-09T01:54:10Z",
      "description": "Est et odio excepturi et iste dolorum repellat. Et modi occaecati quia inventore nihil quidem. Ratio",
      "starting_date": null,
      "ending_date": null,
      "image_urls": [
        {
          "original": "http://not-real.s3.amazonaws.com/images/original/f72a75c77675cb0f3452b176cd0232c12ccab759.png?1357696443",
          "crop_S": "http://not-real.s3.amazonaws.com/images/crop_S/967f6ad0e57b9cdc251676fa6a89ac2a26e7b6b6.jpg?1357696443",
          "crop_M": "http://not-real.s3.amazonaws.com/images/crop_M/0078d956d348c740241a5f81a50c0fbd7abe65b4.jpg?1357696443",
          "crop_M1": "http://not-real.s3.amazonaws.com/images/crop_M1/93c649fc2462a2cb87d82d608f2cef5c015d0883.jpg?1357696443",
          "crop_M2": "http://not-real.s3.amazonaws.com/images/crop_M2/dd53d388a6a6c06cb6a38de3e645443778e38973.jpg?1357696443",
          "crop_L": "http://not-real.s3.amazonaws.com/images/crop_L/ba1e73a5d5c95b6683f18f217adccb09e5bb3dc6.jpg?1357696443",
          "crop_LL": "http://not-real.s3.amazonaws.com/images/crop_LL/d553d7013c1bbc39a963b1bda6d834b25fb8d4a5.jpg?1357696443",
          "normal_L": "http://not-real.s3.amazonaws.com/images/normal_L/4a6dd79cb1be896e2c70e5b1bae5dd86743fde6d.jpg?1357696443",
          "normal_LL": "http://not-real.s3.amazonaws.com/images/normal_LL/736c95fda936e55fdc881fa36d41872a1d39fed5.jpg?1357696443"
        }
      ],
      "site_url": "http://tab.do/items/919271623",
      "user": {
        "id": 487523643,
        "screen_name": "CP HONDA",
        "profile_image_url": {
          "original": "http://sc2-items-dev.s3.amazonaws.com/profile_images/original/missing.png?t=1",
          "crop_S": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_S/missing.png?t=1",
          "crop_M": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M/missing.png?t=1",
          "crop_M1": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M1/missing.png?t=1",
          "crop_M2": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M2/missing.png?t=1",
          "crop_L": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_L/missing.png?t=1",
          "crop_LL": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_LL/missing.png?t=1",
          "normal_L": "http://sc2-items-dev.s3.amazonaws.com/profile_images/normal_L/missing.png?t=1",
          "normal_LL": "http://sc2-items-dev.s3.amazonaws.com/profile_images/normal_LL/missing.png?t=1"
        }
      },
      "places": [
        {
          "id": 899949659,
          "name": "Tonchidot Park (Ueno)",
          "address": null,
          "description": null,
          "lon": 139.773994,
          "lat": 35.713921,
          "created_at": "2013-01-09T01:54:04Z",
          "updated_at": "2013-01-09T01:54:04Z"
        }
      ],
      "area": {
        "id": 353863419,
        "name": "東京23区"
      },
      "stream": {
        "id": 723634142,
        "title": "CP HONDAのstream",
        "followers_count": 0,
        "description": "CP HONDAのstreamのdescription",
        "latest_used": "2013-01-09T01:54:10Z"
      }
    },
    {
      "id": 919271624,
      "title": "秋葉原駅で火事",
      "reclip_from_id": null,
      "reclip_count": 0,
      "like_count": 0,
      "origin_id": null,
      "link_url": "http://dooley.com/index.html",
      "created_at": "2013-01-09T01:54:10Z",
      "updated_at": "2013-01-09T01:54:10Z",
      "description": "Dolorem possimus maxime nesciunt recusandae temporibus. Nisi ea quasi sunt quas ex et deleniti.",
      "starting_date": null,
      "ending_date": null,
      "image_urls": [
        {
          "original": "http://not-real.s3.amazonaws.com/images/original/2fefeccee80abfd8263f5fb8316e0d7b00f0060a.png?1357696443",
          "crop_S": "http://not-real.s3.amazonaws.com/images/crop_S/415cfb5c98e4142193c345d9f137b550866b26ea.jpg?1357696443",
          "crop_M": "http://not-real.s3.amazonaws.com/images/crop_M/55acdd40c8800595b313f08a12fd5f0d88922464.jpg?1357696443",
          "crop_M1": "http://not-real.s3.amazonaws.com/images/crop_M1/a98f453ff1217058e9aab8d0c65d021680f3560b.jpg?1357696443",
          "crop_M2": "http://not-real.s3.amazonaws.com/images/crop_M2/1297448963b0ebc0d16c19aa552a12b41a0e78a8.jpg?1357696443",
          "crop_L": "http://not-real.s3.amazonaws.com/images/crop_L/fdcd6c17701aaae0b491a3bcc95e46cb8b21d814.jpg?1357696443",
          "crop_LL": "http://not-real.s3.amazonaws.com/images/crop_LL/c181c7aac3876deee20360c89156d5ad7f4a85b0.jpg?1357696443",
          "normal_L": "http://not-real.s3.amazonaws.com/images/normal_L/fa024eccdd363cc23c30980620f8c247478afae4.jpg?1357696443",
          "normal_LL": "http://not-real.s3.amazonaws.com/images/normal_LL/235f722cdec3f642a426ecff2123216c293b0c1a.jpg?1357696443"
        }
      ],
      "site_url": "http://tab.do/items/919271624",
      "user": {
        "id": 601598545,
        "screen_name": "CP TOYOTA",
        "profile_image_url": {
          "original": "http://sc2-items-dev.s3.amazonaws.com/profile_images/original/missing.png?t=1",
          "crop_S": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_S/missing.png?t=1",
          "crop_M": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M/missing.png?t=1",
          "crop_M1": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M1/missing.png?t=1",
          "crop_M2": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_M2/missing.png?t=1",
          "crop_L": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_L/missing.png?t=1",
          "crop_LL": "http://sc2-items-dev.s3.amazonaws.com/profile_images/crop_LL/missing.png?t=1",
          "normal_L": "http://sc2-items-dev.s3.amazonaws.com/profile_images/normal_L/missing.png?t=1",
          "normal_LL": "http://sc2-items-dev.s3.amazonaws.com/profile_images/normal_LL/missing.png?t=1"
        }
      },
      "places": [
        {
          "id": 47930264,
          "name": "頓智・オフィス",
          "address": "東京都新宿区新宿2-5-12",
          "description": "株式会社頓智ドット\n新宿御苑の近く",
          "lon": 139.707314372,
          "lat": 35.689448168,
          "created_at": "2013-01-09T01:54:04Z",
          "updated_at": "2013-01-09T01:54:04Z"
        }
      ],
      "area": {
        "id": 379213350,
        "name": "新宿"
      },
      "stream": {
        "id": 725726490,
        "title": "CP TOYOTAのstream",
        "followers_count": 0,
        "description": "CP TOYOTAのstreamのdescription",
        "latest_used": "2013-01-09T01:54:10Z"
      }
    }
  ]
}