Reference – REST API Handbook | Developer.WordPress.org
The WordPress REST API is organized around REST, and is designed to have predictable, resource-oriented URLs and to use HTTP response codes…