Clanbite Forums clanbite-forums/v1

GET | POST | PUT | PATCH | DELETE /wp-json/clanbite-forums/v1/topics/(?P<id>\d+)

GET

Public. Anyone can call this endpoint.

Handled by get_topic()

POST PUT PATCH

Access is checked by require_login().

Handled by update_topic()

DELETE

Access is checked by require_login().

Handled by delete_topic()

Example

curl -X GET 'https://example.com/wp-json/clanbite-forums/v1/topics/(?P<id>\d+)'

Defined in inc/Rest/Rest_Controller.php