rest.settings.yml in Zircon Profile 8
Same filename and directory in other branches
core/modules/rest/config/install/rest.settings.yml
3 string references to 'rest.settings'
- RequestHandler::handle in core/
modules/ rest/ src/ RequestHandler.php - Handles a web API request.
- ResourceTest::setUp in core/
modules/ rest/ src/ Tests/ ResourceTest.php - Sets up a Drupal site for running functional and integration tests.
- RESTTestBase::enableService in core/
modules/ rest/ src/ Tests/ RESTTestBase.php - Enables the REST service interface for a specific entity type.
File
core/modules/rest/config/install/rest.settings.ymlView source
- # Enable all methods on nodes.
- # You must install Hal and Basic_auth modules for this to work. Also, if you are
- # going to use Basic_auth in a production environment then you should consider
- # setting up SSL.
- # There are alternatives to Basic_auth in contrib such as OAuth module.
- resources:
- entity:node:
- GET:
- supported_formats:
- - hal_json
- supported_auth:
- - basic_auth
- POST:
- supported_formats:
- - hal_json
- supported_auth:
- - basic_auth
- PATCH:
- supported_formats:
- - hal_json
- supported_auth:
- - basic_auth
- DELETE:
- supported_formats:
- - hal_json
- supported_auth:
- - basic_auth
-
- # Multiple formats and multiple authentication providers can be defined for a
- # resource:
- #
- # resources:
- # entity:node:
- # GET:
- # supported_formats:
- # - json
- # - hal_json
- # - xml
- # supported_auth:
- # - cookie
- # - basic_auth
- #
- # hal_json is the only format supported for POST and PATCH methods.
- #
- # The full documentation is located at
- # https://www.drupal.org/documentation/modules/rest.
-
- # Set the domain for REST type and relation links.
- # If left blank, the site's domain will be used.
- link_domain: ~