Comments and Comment Threads

comments#index - Fetch comments of a user (not nested)

Request

Route

GET /v1/users/332/comments

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

Body

{
  "comments" : [
    {
      "id" : 41,
      "body" : "This is like the 71th best comment ever",
      "created_at" : "2017-07-13T13:31:59.210-07:00",
      "parent_comment_id" : null,
      "user_id" : 332,
      "subject_id" : 37,
      "child_comments_count" : 0,
      "url" : "http://www.producthunt.com/posts/awesome-idea-130#comment-41",
      "post_id" : 37,
      "subject_type" : "Post",
      "sticky" : false,
      "votes" : 0,
      "post" : {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 37,
        "name" : "Awesome Idea #130",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:59.174-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-130?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2389+%28ID%3A+39%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/4d1c3364f841e9/37?app_id=39",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 37,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/4b7cefa1-e724-4eff-8ac6-a3ccbe152797?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 339,
          "created_at" : "2017-07-13T13:31:59.156-07:00",
          "name" : "Karl User the 818th",
          "username" : "producthunter814",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter818",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter814",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/339/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      },
      "user" : {}
    },
    {
      "id" : 40,
      "body" : "This is like the 70th best comment ever",
      "created_at" : "2017-07-13T13:31:59.148-07:00",
      "parent_comment_id" : null,
      "user_id" : 332,
      "subject_id" : 36,
      "child_comments_count" : 0,
      "url" : "http://www.producthunt.com/posts/awesome-idea-129#comment-40",
      "post_id" : 36,
      "subject_type" : "Post",
      "sticky" : false,
      "votes" : 0,
      "post" : {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 36,
        "name" : "Awesome Idea #129",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:59.113-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-129?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2389+%28ID%3A+39%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/72145fe381810c/36?app_id=39",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 36,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/eaa60894-c38d-4791-9695-61dee660d5b9?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 336,
          "created_at" : "2017-07-13T13:31:59.097-07:00",
          "name" : "Karl User the 815th",
          "username" : "producthunter811",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter815",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter811",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/336/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      },
      "user" : {}
    },
    {
      "id" : 39,
      "body" : "This is like the 69th best comment ever",
      "created_at" : "2017-07-13T13:31:59.089-07:00",
      "parent_comment_id" : null,
      "user_id" : 332,
      "subject_id" : 35,
      "child_comments_count" : 0,
      "url" : "http://www.producthunt.com/posts/awesome-idea-128#comment-39",
      "post_id" : 35,
      "subject_type" : "Post",
      "sticky" : false,
      "votes" : 0,
      "post" : {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 35,
        "name" : "Awesome Idea #128",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:59.050-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-128?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2389+%28ID%3A+39%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/6367c86c4087c1/35?app_id=39",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 35,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/d734206b-6ee6-4c5d-a375-a2059db76e76?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 333,
          "created_at" : "2017-07-13T13:31:59.031-07:00",
          "name" : "Karl User the 812th",
          "username" : "producthunter808",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter812",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter808",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/333/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      },
      "user" : {}
    }
  ]
}