Closed picsoung closed 8 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
users/USER_ID/collections
users/USERNAME/collections
I assumed it will give me the same result as, /users/USER_ID and /users/USERNAME are doing the same thing.
/users/USER_ID
/users/USERNAME
Example:
https://api.producthunt.com/v1/users/joerj/collections? gives
https://api.producthunt.com/v1/users/joerj/collections?
{ "collections": [] }
when https://api.producthunt.com/v1/users/4845/collections
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
Untouched for longer time - Archiving
Hi,
As I was playing with the API I found out that
users/USER_ID/collections
gives another result thanusers/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?
giveswhen
https://api.producthunt.com/v1/users/4845/collections
Thanks