Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Consumers should not issue GET requests to /@entity_type/@id
with HTTP Accept headers set to the expected format aynmore, since that could interfere with Drupal's page cache. HTML might be returned from that URLs that could break clients.
Example of URLs that are deprecated and should not be used anymore:
GET /node/1
Accept: application/json
GET /user/1
Accept: application/xml
Examples of URLs that should be used instead:
GET /node/1.json
GET /user/1.xml
This release also contains a minor API change to the RestWSFormatInterface. If you implement a custom format class you need to add the public getName() method that simply returns the format machine name (json, xml, rdf, etc.).
Changes since 7.x-2.0-alpha4:
- Fixed page caching problem.
- #1946042 by greggles: Improved description of basic auth submodule.