JsonApiSpec::RESERVED_QUERY_PARAMETERS

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::RESERVED_QUERY_PARAMETERS
  2. 10 core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::RESERVED_QUERY_PARAMETERS
  3. 11.x core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::RESERVED_QUERY_PARAMETERS

The reserved (official) query parameters.

File

core/modules/jsonapi/src/JsonApiSpec.php, line 93

Class

JsonApiSpec
Defines constants used for compliance with the JSON:API specification.

Namespace

Drupal\jsonapi

Code

const RESERVED_QUERY_PARAMETERS = [
    'filter',
    'sort',
    'page',
    'fields',
    'include',
];

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