rest.resource.entity.user_2721595.yml

core/modules/rest/tests/fixtures/update/rest.resource.entity.user_2721595.yml

File

core/modules/rest/tests/fixtures/update/rest.resource.entity.user_2721595.yml

View source
  1. id: entity.user
  2. plugin_id: 'entity:user'
  3. granularity: method
  4. configuration:
  5. GET:
  6. supported_formats:
  7. - hal_json
  8. supported_auth:
  9. - basic_auth
  10. # This resource has a method-specific authentication.
  11. # @see \Drupal\rest\Tests\Update\ResourceGranularityUpdateTest
  12. - oauth
  13. POST:
  14. supported_formats:
  15. - hal_json
  16. supported_auth:
  17. - basic_auth
  18. PATCH:
  19. supported_formats:
  20. - hal_json
  21. supported_auth:
  22. - basic_auth
  23. DELETE:
  24. supported_formats:
  25. - hal_json
  26. supported_auth:
  27. - basic_auth
  28. dependencies:
  29. module:
  30. - node
  31. - basic_auth
  32. - hal

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.