Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 19.4 KB
MD5: 5fc1551e09468d47e69fbf96852d1459
SHA-1: db77e8b44695c026482e9ff344b2359bd2d00853
SHA-256: 6806a7e49e1b9f6e78b8a64e0ef4a18ed6955a3ea04adfffbe3ab48d6d509c73
Download zip 23.54 KB
MD5: 3956857e715da366963284c4a4bcd170
SHA-1: f898feaf3e4fd4d65ae9617423f076a08c805861
SHA-256: f7d55b19f0efb1f88bb950778c6ed1fb880611b5f8f71e2aae045f109699285d

Release notes

See SA-CONTRIB-2013-042

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.).

Created by: klausi
Created on: 10 Apr 2013 at 15:37 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Security update
Insecure
Unsupported

Other releases