Skip to content

5.1. Default Endpoints (1.x)

Benji Fisher edited this page Oct 22, 2016 · 3 revisions

The RESTful module and the RESTful example modules provide the following endpoints. Some of these can be enabled or disabled in your Drupal site's config at admin/config/services/restful

URL Description
api API discovery
api/v1.0/role-name Content per role
api/v1.0/users export the "User" entity
api/v1.0/login login a user and return a JSON along with the authentication cookie
api/file-upload file upload wrapped with RESTful
api/session/token Export the CSRF token unique for each user
api/v1.0/variables Expose site variables to the REST API
api/v1.0/tags Export taxonomy terms
api/v1.0/watchdog Expose watchdog entries to the REST API
api/v1.0/node_user Expose the content along with the author name
api/login-token Authenticate a REST call using a token
api/refresh-token Refresh the authentication token
Clone this wiki locally