Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
47
core/modules/rest/config/schema/rest.schema.yml
Normal file
47
core/modules/rest/config/schema/rest.schema.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Schema for the configuration files of the REST module.
|
||||
|
||||
rest.settings:
|
||||
type: config_object
|
||||
label: 'REST settings'
|
||||
mapping:
|
||||
resources:
|
||||
type: sequence
|
||||
label: 'Resources'
|
||||
sequence:
|
||||
type: rest_resource
|
||||
label: 'Resource'
|
||||
link_domain:
|
||||
type: string
|
||||
label: 'Domain of the relation'
|
||||
|
||||
rest_resource:
|
||||
type: mapping
|
||||
mapping:
|
||||
GET:
|
||||
type: rest_request
|
||||
label: 'GET method settings'
|
||||
POST:
|
||||
type: rest_request
|
||||
label: 'POST method settings'
|
||||
PATCH:
|
||||
type: rest_request
|
||||
label: 'PATCH method settings'
|
||||
DELETE:
|
||||
type: rest_request
|
||||
label: 'DELETE method settings'
|
||||
|
||||
rest_request:
|
||||
type: mapping
|
||||
mapping:
|
||||
supported_formats:
|
||||
type: sequence
|
||||
label: 'Supported format'
|
||||
sequence:
|
||||
type: string
|
||||
label: 'Format'
|
||||
supported_auth:
|
||||
type: sequence
|
||||
label: 'Supported authentication'
|
||||
sequence:
|
||||
type: string
|
||||
label: 'Authentication'
|
34
core/modules/rest/config/schema/rest.views.schema.yml
Normal file
34
core/modules/rest/config/schema/rest.views.schema.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Schema for the views plugins of the REST module.
|
||||
|
||||
views.display.rest_export:
|
||||
type: views_display_path
|
||||
label: 'REST display options'
|
||||
|
||||
views.row.data_field:
|
||||
type: views_row
|
||||
label: 'Field row'
|
||||
mapping:
|
||||
field_options:
|
||||
type: sequence
|
||||
label: 'Options'
|
||||
sequence:
|
||||
type: mapping
|
||||
label: 'Row'
|
||||
mapping:
|
||||
alias:
|
||||
type: string
|
||||
label: 'Alias for ID'
|
||||
raw_output:
|
||||
type: boolean
|
||||
label: 'Raw output for ID'
|
||||
|
||||
views.style.serializer:
|
||||
type: views_style
|
||||
label: 'Serialized output format'
|
||||
mapping:
|
||||
formats:
|
||||
type: sequence
|
||||
label: 'Formats'
|
||||
sequence:
|
||||
type: string
|
||||
label: 'Format'
|
Reference in a new issue