Skip to content
Snippets Groups Projects
Select Git revision
  • 7.x-3.24
  • 5.x default
  • 8.x-4.x
  • 7.x-3.x
  • 6.x-3.x
  • 6.x-2.x
  • 7.x-1.x
  • 5.x-1.x
  • 6.x-1.x
  • 5.0.0-beta10
  • 5.0.0-beta9
  • 5.0.0-beta8
  • 5.0.0-beta7
  • 8.x-4.0-beta7
  • 7.x-3.29
  • 7.x-3.28
  • 8.x-4.0-beta6
  • 7.x-3.27
  • 7.x-3.26
  • 7.x-3.25
  • 8.x-4.0-beta5
  • 7.x-3.23
  • 7.x-3.22
  • 7.x-3.21
  • 7.x-3.20
  • 8.x-4.0-beta4
  • 7.x-3.19
  • 7.x-3.18
28 results

services

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    git authored and Tyler Frankenstein committed
    9ca9bca0
    History
    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.5.1/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.)