Plugin WordPress untuk custom REST API endopoint untuk post, page, dan search. Plugin ini melakukan custom endpoint URL pada response REST API berikut:
- List post
- Single post
- Search post
- Single page
- List post:
{site}/wp-json/wca/v1/posts/{category}/{post_per_page}/{offset}
- Single post:
{site}/wp-json/wca/v1/posts/{slug}
- Search post:
{site}/wp-json/wca/v1/search/{category}/{search}/{offset}
- Single page:
{site}/wp-json/wca/v1/pages/{slug}
Keterangan:
category: int
post_per_page: int
offiset: int
slug: string [a-zA-Z0-9-]
search: string
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
v1.0
: 12 Mei 2024v1.1
: 22 Mei 2024v1.2
: 19 Juni 2024v1.3
: 30 Juli 2024v1.4
: 30 Juli 2024