Closed jducoeur closed 3 years ago
The entry point will be /api/user/:id, where :id is the badge number.
/api/user/:id
:id
Returns an enhanced variant of /api/me -- spec from Gail:
/api/me
export interface User { id: string; name: string; badgeNumber: string; zoomHost: boolean; ducks?: string[]; } also will have ribbons?: string[]
Try to make them consistent, and have exactly the same info in both entry points. Possibly migrate /api/me to /api/user, for API consistency.
/api/user
The entry point will be
/api/user/:id
, where:id
is the badge number.Returns an enhanced variant of
/api/me
-- spec from Gail: