Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Consistently show the context param as an endpoint argument for GET requests #1706

@rachelbaker

Description

@rachelbaker

In WP_REST_Controller->get_collection_params() we define the top-level collection params:

  • page
  • per_page
  • search

We should add to that the context param as well, so we have it consistently in the collection params.

Additionally, I don't think we define the params for our single item endpoints. We should communicate the context param there as well.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions