You are here

README.txt in Services 7.3

Same filename and directory in other branches
  1. 5 README.txt
  2. 6.3 README.txt
  3. 6 README.txt
  4. 6.2 README.txt
  5. 7 README.txt
Goals
==============
- Create a unified Drupal API for web services to be exposed in a variety of
  different server formats.
- Provide a service browser to be able to test methods.
- Allow distribution of API keys for developer access.

Documentation
==============
http://drupal.org/node/109782

Installation
============
If you are using the rest server you will need to download the latest version of SPYC:
wget https://raw.github.com/mustangostang/spyc/0.6.2/Spyc.php -O sites/all/libraries/spyc/spyc.php

Once downloaded you need to add spyc.php to the rest_server/lib folder which exists under
the location you have installed services in.

Documentation files
===================
You can find these files in /docs folder.
services.authentication.api.php -- hooks related to authentication plugins
services.servers.api.php -- servers definition hooks
services.services.api.php -- definition of new services
services.versions.api.php -- how to write versioned resources

Settings via variables
======================

'services_{$resource}_index_page_size' -- this variable controls maximum number of results that
will be displayed by index query. See services_resource_build_index_query() for more information.

'services_generate_error_body' -- boolean denoting whether a message body should be included with
certain HTTP error-related status codes. (According to IETF's RFC2616, 204 and 304 responses must
not include bodies.)

File

README.txt
View source
  1. Goals
  2. ==============
  3. - Create a unified Drupal API for web services to be exposed in a variety of
  4. different server formats.
  5. - Provide a service browser to be able to test methods.
  6. - Allow distribution of API keys for developer access.
  7. Documentation
  8. ==============
  9. http://drupal.org/node/109782
  10. Installation
  11. ============
  12. If you are using the rest server you will need to download the latest version of SPYC:
  13. wget https://raw.github.com/mustangostang/spyc/0.6.2/Spyc.php -O sites/all/libraries/spyc/spyc.php
  14. Once downloaded you need to add spyc.php to the rest_server/lib folder which exists under
  15. the location you have installed services in.
  16. Documentation files
  17. ===================
  18. You can find these files in /docs folder.
  19. services.authentication.api.php -- hooks related to authentication plugins
  20. services.servers.api.php -- servers definition hooks
  21. services.services.api.php -- definition of new services
  22. services.versions.api.php -- how to write versioned resources
  23. Settings via variables
  24. ======================
  25. 'services_{$resource}_index_page_size' -- this variable controls maximum number of results that
  26. will be displayed by index query. See services_resource_build_index_query() for more information.
  27. 'services_generate_error_body' -- boolean denoting whether a message body should be included with
  28. certain HTTP error-related status codes. (According to IETF's RFC2616, 204 and 304 responses must
  29. not include bodies.)