Collections

collection#show - Get details of a collection

Parameters

Name Description
id required The numeric ID of the Collection you want to fetch

Request

Route

GET /v1/collections/144

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com

Response

Status

200 OK

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
ETag: "7b0ad9a08bca7654925fbb7b4d606e65"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 14674

Body

{
  "collection": {
    "id": 144,
    "name": "Awesome Collection #151",
    "title": "Best new collection ever",
    "created_at": "2017-09-14T06:02:32.059-07:00",
    "updated_at": "2017-09-14T06:02:32.298-07:00",
    "featured_at": null,
    "subscriber_count": 0,
    "background_image_url": null,
    "category_id": null,
    "collection_url": "http://www.producthunt.com/@producthunter646/collections/awesome-collection-151?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2372+%28ID%3A+22%29",
    "color": "blue",
    "posts_count": 3,
    "user": {
      "id": 168,
      "created_at": "2017-09-14T06:02:32.046-07:00",
      "name": "Karl User the 650th",
      "username": "producthunter646",
      "headline": "Product Hunter",
      "twitter_username": "hunter650",
      "website_url": "http://awesome.io",
      "profile_url": "http://www.producthunt.com/@producthunter646",
      "image_url": {
        "30px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
        "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
        "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
        "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
        "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
        "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
        "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
        "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
        "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
        "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
        "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
        "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
      }
    },
    "posts": [
      {
        "comments_count": 0,
        "day": "2017-09-14",
        "id": 2,
        "name": "Awesome Idea #96",
        "product_state": "default",
        "tagline": "Great new search engine",
        "ios_featured_at": null,
        "category_id": null,
        "created_at": "2017-09-14T06:02:32.100-07:00",
        "current_user": {},
        "discussion_url": "http://www.producthunt.com/posts/awesome-idea-96?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2372+%28ID%3A+22%29",
        "exclusive": null,
        "featured": true,
        "maker_inside": false,
        "makers": [],
        "platforms": [],
        "redirect_url": "http://www.producthunt.com/r/879734e024e343/2?app_id=22",
        "screenshot_url": {
          "300px": "http://placehold.it/850x850.png",
          "850px": "http://placehold.it/850x850.png"
        },
        "thumbnail": {
          "id": 2,
          "media_type": "image",
          "image_url": "https://ph-files.imgix.net/67c6a09c-da0d-4850-ad6f-71178332c85d?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
          "metadata": {}
        },
        "topics": [],
        "user": {
          "id": 169,
          "created_at": "2017-09-14T06:02:32.071-07:00",
          "name": "Karl User the 651th",
          "username": "producthunter647",
          "headline": "Product Hunter",
          "twitter_username": "hunter651",
          "website_url": "http://awesome.io",
          "profile_url": "http://www.producthunt.com/@producthunter647",
          "image_url": {
            "30px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
          }
        },
        "votes_count": 0
      },
      {
        "comments_count": 0,
        "day": "2017-09-14",
        "id": 3,
        "name": "Awesome Idea #97",
        "product_state": "default",
        "tagline": "Great new search engine",
        "ios_featured_at": null,
        "category_id": null,
        "created_at": "2017-09-14T06:02:32.167-07:00",
        "current_user": {},
        "discussion_url": "http://www.producthunt.com/posts/awesome-idea-97?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2372+%28ID%3A+22%29",
        "exclusive": null,
        "featured": true,
        "maker_inside": false,
        "makers": [],
        "platforms": [],
        "redirect_url": "http://www.producthunt.com/r/fc9a813bb16353/3?app_id=22",
        "screenshot_url": {
          "300px": "http://placehold.it/850x850.png",
          "850px": "http://placehold.it/850x850.png"
        },
        "thumbnail": {
          "id": 3,
          "media_type": "image",
          "image_url": "https://ph-files.imgix.net/f268666f-b6b3-42d0-a088-1470d19d1a51?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
          "metadata": {}
        },
        "topics": [],
        "user": {
          "id": 172,
          "created_at": "2017-09-14T06:02:32.147-07:00",
          "name": "Karl User the 654th",
          "username": "producthunter650",
          "headline": "Product Hunter",
          "twitter_username": "hunter654",
          "website_url": "http://awesome.io",
          "profile_url": "http://www.producthunt.com/@producthunter650",
          "image_url": {
            "30px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
          }
        },
        "votes_count": 0
      },
      {
        "comments_count": 0,
        "day": "2017-09-14",
        "id": 4,
        "name": "Awesome Idea #98",
        "product_state": "default",
        "tagline": "Great new search engine",
        "ios_featured_at": null,
        "category_id": null,
        "created_at": "2017-09-14T06:02:32.225-07:00",
        "current_user": {},
        "discussion_url": "http://www.producthunt.com/posts/awesome-idea-98?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2372+%28ID%3A+22%29",
        "exclusive": null,
        "featured": true,
        "maker_inside": false,
        "makers": [],
        "platforms": [],
        "redirect_url": "http://www.producthunt.com/r/0a0b16e1de7bcc/4?app_id=22",
        "screenshot_url": {
          "300px": "http://placehold.it/850x850.png",
          "850px": "http://placehold.it/850x850.png"
        },
        "thumbnail": {
          "id": 4,
          "media_type": "image",
          "image_url": "https://ph-files.imgix.net/3408ac69-d0e4-4d74-b92b-3c82f807da42?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
          "metadata": {}
        },
        "topics": [],
        "user": {
          "id": 175,
          "created_at": "2017-09-14T06:02:32.206-07:00",
          "name": "Karl User the 657th",
          "username": "producthunter653",
          "headline": "Product Hunter",
          "twitter_username": "hunter657",
          "website_url": "http://awesome.io",
          "profile_url": "http://www.producthunt.com/@producthunter653",
          "image_url": {
            "30px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
            "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
            "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
            "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
          }
        },
        "votes_count": 0
      }
    ]
  }
}