Clarity on REST API guidelines #12701
alechenninger
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
@alechenninger an update to the REST API guidelines would be more than welcome. @pedroigor did a stellar job working on it. From my understanding, it is considered best practice to follow the approach using hyphens. That means "word-word". My reference is https://restfulapi.net/resource-naming/ which contains a lot of best practices for REST endpoints. Based on the section 2.2.3 hyphens are recommended to improve readability and underscores avoided. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Keycloak API guidelines are draft, but we try to exercise them anyway as a starting point.
Referring to API groups in a URL path, these say "Group names should be in lowercase and a single word name." but as far as I can tell, keycloak admin API uses dashes to separate words. Should a multi-word API group it be "word-word" or "wordword" or "word_word"?
Happy to submit a PR to clarify a stance here if there is some consensus.
Beta Was this translation helpful? Give feedback.
All reactions