[GH-ISSUE #65] Routes are non-standard #29

Closed
opened 2026-09-04 00:21:41 +02:00 by Stone_Red · 1 comment
Owner

Originally created by @stephan418 on GitHub (Jun 1, 2022).
Original GitHub issue: https://github.com/detleph/server/issues/65

https://github.com/detleph/server/blob/eff81e32f1b2ce6c30f2128d439c5b16550f1f84/src/Routes/participant.routes.ts#L16

The PID is specified after /teams but represents a participant?
Wouldn't /participants/:pid or /teams/:teamPid/participants/:pid make more sense?

Also: please use participants instead of participant (collections are always plural)

Originally created by @stephan418 on GitHub (Jun 1, 2022). Original GitHub issue: https://github.com/detleph/server/issues/65 https://github.com/detleph/server/blob/eff81e32f1b2ce6c30f2128d439c5b16550f1f84/src/Routes/participant.routes.ts#L16 The PID is specified after /teams but represents a participant? Wouldn't /participants/:pid or /teams/:teamPid/participants/:pid make more sense? Also: please use participants instead of participant (collections are always plural)
Author
Owner

@Flexla54 commented on GitHub (Jun 6, 2022):

Done

<!-- gh-comment-id:1147667659 --> @Flexla54 commented on GitHub (Jun 6, 2022): Done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: detleph/server#29