Posts

posts#all - See all posts made by a user

Parameters

Name Description
older Cursor-based pagination: Only works with ID. Get records older than the provided id. Note: Sort_by is ignored and applied afterwards.
newer Cursor-based pagination: Only works with ID. Get records newer than the provided id. Note: Sort_by is ignored and applied afterwards.
page Offset-based pagination: Get content of given page, starts at 1
per_page Any kind of pagination: define the amount of records sent per call (max 50)
sort_by Sort api response: Valid options: id, created_at, updated_at
order Sort api response: valid parameters are desc and asc

Request

Route

GET /v1/users/8/products

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: "abfa14e22eeb38c48f4043027b540b62"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 6639

Body

{
  "posts" : [
    {
      "comments_count" : 0,
      "day" : "2017-09-14",
      "id" : 2,
      "name" : "Awesome Idea #48",
      "product_state" : "default",
      "tagline" : "Great new search engine",
      "ios_featured_at" : null,
      "category_id" : null,
      "created_at" : "2017-09-14T06:02:07.629-07:00",
      "current_user" : {},
      "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-48?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2328+%28ID%3A+1%29",
      "exclusive" : null,
      "featured" : true,
      "maker_inside" : true,
      "makers" : [
        {
          "id" : 8,
          "created_at" : "2017-09-14T06:02:07.670-07:00",
          "name" : "Karl User the 194th",
          "username" : "producthunter194",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter194",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter194",
          "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"
          }
        }
      ],
      "platforms" : [],
      "redirect_url" : "http://www.producthunt.com/r/2e694fa36ab8ba/2?app_id=1",
      "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/29a3d1a4-f63d-425c-b455-9ad991f76ff8?auto=format&fit=crop&h=570&w=430",
        "metadata" : {}
      },
      "topics" : [],
      "user" : {
        "id" : 5,
        "created_at" : "2017-09-14T06:02:07.609-07:00",
        "name" : "Karl User the 191th",
        "username" : "producthunter191",
        "headline" : "Product Hunter",
        "twitter_username" : "hunter191",
        "website_url" : "http://awesome.io",
        "profile_url" : "http://www.producthunt.com/@producthunter191",
        "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
    }
  ]
}