Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#34543 closed enhancement (fixed)

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

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

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 10 years ago.

Download all attachments as: .zip

Change History (5)

@lcherpit
10 years ago

#1 @johnbillion
10 years ago

  • Keywords has-patch dev-feedback added

#2 @rmccue
10 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
10 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. :)

Note: See TracTickets for help on using tickets.