Based on #1351 and the proposed PRs (#1352 & #1375) to fix name clashes a more general question arose.
What is the best way to generate URLs for hosted things?
At the moment, we use slugify to create human-readable URLs based on the given name of a thing.
In the case of name clashes, we add a suffix like _2 to differentiate them.
In the case of many sensors with the same name, these artifacts might happen very often...
In a discussion with @relu91 we also talked about using the given id or create UUIDs if the id is not given. Unfortunately this make it hard to predict URLs like we do in some examples (causes problems for humans)

Having said that, I think we need a more general discussion how URLs should look like and whether they might differ depending on the protocol.
Feel free to comment and share you view!
Based on #1351 and the proposed PRs (#1352 & #1375) to fix name clashes a more general question arose.
What is the best way to generate URLs for hosted things?
At the moment, we use slugify to create human-readable URLs based on the given name of a thing.
In the case of name clashes, we add a suffix like
_2to differentiate them.In the case of many sensors with the same name, these artifacts might happen very often...
In a discussion with @relu91 we also talked about using the given
idor create UUIDs if the id is not given. Unfortunately this make it hard to predict URLs like we do in some examples (causes problems for humans)Having said that, I think we need a more general discussion how URLs should look like and whether they might differ depending on the protocol.
Feel free to comment and share you view!