Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
rest.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2014 at 18:14 UTC
Updated:
16 Oct 2014 at 16:47 UTC
Jump to comment: Most recent
Comments
Comment #1
sourcesoft commentedI know how Hypermedia tries to fix Server URI scheme changes so it doesn't break clients code, But it's always not the best solution using HAL.
Comment #2
vijaycs85not sure how much it is particle, but yeah, we need version system.
Comment #3
sourcesoft commentedAs you mentioned yourself it's been discussed here too: https://drupal.org/node/1046470
And as a best practice: http://stackoverflow.com/questions/389169/best-practices-for-api-versioning
Comment #4
clemens.tolboomI vaguely remember from @DrupalCon a discussion about adding the API version into the request header. Not sure though. [edit]Discussed also in #1046470-5: Prepare for versioned services[/edit]
Related to this is #1925618: Ensure Drupal's web services are self-documenting: Swagger support OR rest_api_doc to Drupal core as an experimental module?
Comment #5
Crell commentedI think we made the conscious decision to NOT use URI versioning. As of yet we don't have any header-based versioning. We can look into adding that in D8, or just start doing so in D9 when there's actually a change. :-) I think I'd rather discuss that over in #1046470: Prepare for versioned services
Maybe won't-fix this?
Comment #6
Crell commentedClosing per discussion in IRC. We should restart the discussion in #1046470: Prepare for versioned services