producthunt / producthunt-api

Product Hunt API
315 stars 29 forks source link

users/USER_ID/collections gives different result than users/USERNAME/collections #47

Closed picsoung closed 8 years ago

picsoung commented 9 years ago

Hi,

As I was playing with the API I found out that users/USER_ID/collections gives another result than users/USERNAME/collections

I assumed it will give me the same result as, /users/USER_ID and /users/USERNAME are doing the same thing.

Example:

https://api.producthunt.com/v1/users/joerj/collections? gives

{
    "collections": []
}

when https://api.producthunt.com/v1/users/4845/collections

{
    "collections": [
        {
            "id": 9282,
            "name": "Healthcare",
            "title": null,
            "created_at": "2015-02-18T07:27:38.648-08:00",
            "updated_at": "2015-02-18T07:27:38.681-08:00",
            "featured_at": null,
            "background_image_url": null,
...
}]}

Thanks

andreasklinger commented 8 years ago

Untouched for longer time - Archiving