Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
31.7 KB
MD5: bfb7d194f59c94024c0f45d9fb1ebc72
SHA-1: 5534e33e8325098950ee265db7275441b06cf941
SHA-256: 402b7cd732eed219cf46bf2fb106b6c6858fb3f6789debfc45e46b4c20bd573d
Download zip
41.26 KB
MD5: c799251fe51599e341f03a5bee58fbbc
SHA-1: a902da5c184819073dcf2b04bf6873e92630d85a
SHA-256: 4f83dfb9e321eb91e0a043c78a675d33c7a93ab893399bc6eb2e006407406bea
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.