-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UUID / Url Templating #45
Comments
+1 On 7 March 2013 05:13, Morten Olav Hansen notifications@github.com wrote:
|
Very similar in spirit to what I was proposing before. Only proposed addition, should the URL map to something in the identifiers Otherwise, +1. Matt On Thu, Mar 7, 2013 at 11:08 AM, bobjolliffe notifications@github.comwrote:
|
I think Morten and Chris have just put forward another proposal re the uuid On 7 March 2013 10:11, Matt Berg notifications@github.com wrote:
|
Yes, no assumption should be made about the url/href field.
|
I think that it's good practice for URLs to be intuitive, but I think it's better if clients stick to using the url field directly. To me that's simpler and less error prone, as well as giving API designers and implementors more flexibility when linking between things. The way that DHIS2 does it at the moment is to put the DHIS2 id in the identifiers block, and use that in the URL. That keeps things neat and makes sense for that implementation, but I think it would be a bit complex to have a URL templating rule telling the client which member of the identifiers block to use - better to just let the server make the URL and have the client go where it's directed. Cheers. |
+1
|
+1 with the new comments from @edjez |
Agreed. Morten On Thu, Mar 7, 2013 at 7:31 PM, edjez notifications@github.com wrote:
|
agreed |
+1 |
+1 |
reached consensus on this on the march 7 call. note that the above proposal still allows users to include version numbers (major/minor/etc) in the URL if they want, but does not mandate this. |
agreed (again) |
I would say it makes sense to include the version number. Since this is the On Thu, Mar 7, 2013 at 7:38 PM, rowenaluk notifications@github.com wrote:
|
+1 This is excellent. It nicely balances the value of standardization of ID for federation/merging, with the desire/need for flexibility in implementation. The requirements around URLs (that the same URL retrieve the same resource from a given implementation) and explicit LACK of requirements (that URLs may, but are not required to, be patterned on IDs) is very much in line with REST. |
Updated please check and let me know if it looks ok. |
Hi Matt A few points ... Firstly we discussed a lot on the previous call the authenticity of the rst I don't think the wikipedia reference is necessary. Its sufficient to Suggest changing: On the href section: Bob On 13 March 2013 12:39, Matt Berg notifications@github.com wrote:
|
Chris and I (Morten) are suggesting two new changes to the API.
Encouraging clients to use the provided url is simpler and less-error prone, as well as giving us as API designers more flexibility as to how we link a facilities registry with a broader system.
We would then have two fields, each with a clear purpose and semantics - url for locating a facility, and uuid for identity.
The text was updated successfully, but these errors were encountered: