You are here

README.txt in RESTful Web Services 7.2

--------------------------------------------------------------------------------
                 RESTful Web Services for Drupal (restws)
--------------------------------------------------------------------------------

Example Exports
---------------
This folder contains some example outputs of RestWS. Note that the output
depends on the permissions and the field access of the viewing user. Nodes and
users are used as examples here, but the structure is the same for all entity
types.

Here is a list of the outputs with the URL paths:

- Retrieve a node

  /node/1.json
  node.1.json

  /node/1.xml
  node.1.xml

- Get a list of nodes with a limit of 3 nodes per page and display the second
  page (the first is page=0).

  /node.json?limit=3&page=1
  node.json

  /node.xml?limit=3&page=1
  node.xml

- Retrieve a user

  /user.json
  user.1.json

  /user.xml
  user.1.xml

File

example_exports/README.txt
View source
  1. --------------------------------------------------------------------------------
  2. RESTful Web Services for Drupal (restws)
  3. --------------------------------------------------------------------------------
  4. Example Exports
  5. ---------------
  6. This folder contains some example outputs of RestWS. Note that the output
  7. depends on the permissions and the field access of the viewing user. Nodes and
  8. users are used as examples here, but the structure is the same for all entity
  9. types.
  10. Here is a list of the outputs with the URL paths:
  11. - Retrieve a node
  12. /node/1.json
  13. node.1.json
  14. /node/1.xml
  15. node.1.xml
  16. - Get a list of nodes with a limit of 3 nodes per page and display the second
  17. page (the first is page=0).
  18. /node.json?limit=3&page=1
  19. node.json
  20. /node.xml?limit=3&page=1
  21. node.xml
  22. - Retrieve a user
  23. /user.json
  24. user.1.json
  25. /user.xml
  26. user.1.xml