Best way to define mutliple get endpoints? #2459
Unanswered
KDederichs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I was wondering if it's possible/what's the best way to define multiple GET endpoints that use different identifiers.
I'd like to have the standard one that operates on the normal ID, but at the same time I'd like one that also works with the unique username (mainly for nice and friendly urls).
Anyone know if that's possible? I already tried adding a second one with a
uriTemplate
but that doesn't seem to work.Beta Was this translation helpful? Give feedback.
All reactions