C
C#2mo ago
Core

✅ Any practical use to have an endpoint accessing an entity trough a non ID path variable?

Hello, I was browsing Bitly's API documentation, and saw that the endpoint trough which a link can be edited isn't done trough an Id path parameter. I have never seen something like this, what benefit can such a design have?
No description
2 Replies
Jimmacle
Jimmacle2mo ago
is it more convenient for the api user to know the id or the bitlink?
Core
CoreOP2mo ago
I guess it is, but an ID doesn't change, a link does. Interesting design
Want results from more Discord servers?
Add your server