the-grid / apidocs

API documentation for The Grid
https://developer.thegrid.io
44 stars 9 forks source link

/user for api.thegrid.io #32

Closed paulyoung closed 7 years ago

paulyoung commented 9 years ago

Apparently there is an endpoint at api.thegrid.io/user that returns different information than passport.thegrid.io/api/user

I assume that this means that the page on Passport is now out of date.

Should all user operations should be made against https://api.thegrid.io instead of https://passport.thegrid.io?

bergie commented 9 years ago

Passport's user endpoint is the canonical one. The user endpoint on api.thegrid.io enhances this with some additional details related to the user's Grid plan

paulyoung commented 9 years ago

I think you're saying that GET /user is the only request that is valid for api.thegrid.io.

Any preference on how best to document this?