Request
Route
DELETE /v1/posts/1472/collect
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com
Body
{
"collection_id": 1167
}
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
Content-Type: application/json; charset=utf-8
ETag: W/"4b6c023302cb3d1f3b9d1888b3829108"
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 11128
Body
{
"collected_post": {
"id": 132,
"post_id": 1472,
"collection_id": 1167,
"collection": {
"id": 1167,
"name": "Awesome Collection #6",
"title": "Best new collection ever",
"created_at": "2021-05-05T04:39:11.322-07:00",
"updated_at": "2021-05-05T04:39:11.535-07:00",
"featured_at": null,
"subscriber_count": 0,
"background_image_url": null,
"category_id": null,
"collection_url": "http://www.producthunt.com/@producthunter346/collections/awesome-collection-6?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2338+%28ID%3A+1228%29",
"color": "blue",
"posts_count": 2,
"user": {
"id": 9822,
"created_at": "2021-05-05T04:39:11.313-07:00",
"name": "Karl User the 346th",
"username": "producthunter346",
"headline": "Product Hunter",
"twitter_username": "hunter346",
"website_url": "http://awesome.io",
"profile_url": "http://www.producthunt.com/@producthunter346",
"image_url": {
"30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
}
},
"posts": [
{
"comments_count": 0,
"id": 1473,
"name": "Awesome Idea #64",
"product_state": "default",
"tagline": "Great new search engine",
"slug": "awesome-idea-64",
"votes_count": 0,
"day": "2021-05-05",
"category_id": null,
"created_at": "2021-05-05T04:39:11.416-07:00",
"current_user": {
"voted_for_post": false,
"commented_on_post": false
},
"discussion_url": "http://www.producthunt.com/posts/awesome-idea-64?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2338+%28ID%3A+1228%29",
"exclusive": null,
"featured": true,
"ios_featured_at": false,
"maker_inside": false,
"makers": [],
"platforms": [],
"redirect_url": "http://www.producthunt.com/r/501767e2d668da/1473?app_id=1228",
"screenshot_url": {
"300px": "http://placehold.it/850x850.png",
"850px": "http://placehold.it/850x850.png"
},
"thumbnail": {
"id": 1529,
"media_type": "image",
"image_url": "https://ph-files.imgix.net/9842092d-0c8f-4fc6-ad47-c634f534d979?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
"metadata": {}
},
"topics": [],
"user": {
"id": 9826,
"created_at": "2021-05-05T04:39:11.390-07:00",
"name": "Karl User the 350th",
"username": "producthunter350",
"headline": "Product Hunter",
"twitter_username": "hunter350",
"website_url": "http://awesome.io",
"profile_url": "http://www.producthunt.com/@producthunter350",
"image_url": {
"30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
}
}
},
{
"comments_count": 0,
"id": 1474,
"name": "Awesome Idea #65",
"product_state": "default",
"tagline": "Great new search engine",
"slug": "awesome-idea-65",
"votes_count": 0,
"day": "2021-05-05",
"category_id": null,
"created_at": "2021-05-05T04:39:11.474-07:00",
"current_user": {
"voted_for_post": false,
"commented_on_post": false
},
"discussion_url": "http://www.producthunt.com/posts/awesome-idea-65?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%2338+%28ID%3A+1228%29",
"exclusive": null,
"featured": true,
"ios_featured_at": false,
"maker_inside": false,
"makers": [],
"platforms": [],
"redirect_url": "http://www.producthunt.com/r/add519ee03620d/1474?app_id=1228",
"screenshot_url": {
"300px": "http://placehold.it/850x850.png",
"850px": "http://placehold.it/850x850.png"
},
"thumbnail": {
"id": 1530,
"media_type": "image",
"image_url": "https://ph-files.imgix.net/3828c090-1853-4b8c-9043-6aaf2680aee7?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
"metadata": {}
},
"topics": [],
"user": {
"id": 9829,
"created_at": "2021-05-05T04:39:11.451-07:00",
"name": "Karl User the 353th",
"username": "producthunter353",
"headline": "Product Hunter",
"twitter_username": "hunter353",
"website_url": "http://awesome.io",
"profile_url": "http://www.producthunt.com/@producthunter353",
"image_url": {
"30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
"original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
}
}
}
]
}
}
}