WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#34543 closed enhancement (fixed)

rest-api : Better info of arguments through "OPTIONS" request

Reported by: lcherpit Owned by: rmccue
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: REST API Keywords: has-patch
Focuses: Cc:
PR Number:

Description

It would be nice to be a little more explicit about the values available to filter requests.
For instance, to let user to know which kind of values are available for the request arguments through the OPTIONS HTTP verb.

Attachments (1)

34543.diff (645 bytes) - added by lcherpit 4 years ago.

Download all attachments as: .zip

Change History (5)

@lcherpit
4 years ago

#1 @johnbillion
4 years ago

  • Keywords has-patch dev-feedback added

#2 @rmccue
4 years ago

  • Owner set to rmccue
  • Resolution set to fixed
  • Status changed from new to closed

In 35652:

REST API: Include enum and description in help data.

Props lcherpit.
Fixes #34543.

#3 @rmccue
4 years ago

  • Keywords dev-feedback removed
  • Milestone changed from Awaiting Review to 4.4

Thanks for the patch @lcherpit! Looks like we missed those earlier. :)

#4 @lcherpit
4 years ago

Nice!

Note: See TracTickets for help on using tickets.