Hi, you didn’t mention the HTTP verbs. I guess the examples above are using GET. What about POST, DELETE? Can we add icons to a set? Can we remove icons from a set?
So you’d count the number of path elements to differentiate these 2 calls? Or is that handled automatically by jaxrs?
Is that really following REST best practices? (open question, I don’t know if it is or not). I don’t see any REST resource having a path to a given icon. For example: /xwiki/rest/wikis/{wikiName}/iconThemes/{iconTheme}/icon/{iconName}
I had the same question for the localization REST endpoint proposal the other day but I forgot to ask. The general question is: should a REST path be complete and pointing to the resource asked vs having the resource specified as a query string parameter?
Asking just to be sure we’ve thought about it and have a strategy around this and to make sure we have consistent endpoints.
I’m also wondering about REST vs GraphQL.