GET /wp-json/clanbite/v1/public-teamGET
Return basic public data for a published team by slug or by parsing a profile URL.
Public. Anyone can call this endpoint.
| Argument | Type | Default | Description |
|---|---|---|---|
slug | string | Team post slug (cp_team post_name). | |
url | string | Full URL to a team profile page on a Clanbite site. |
Handled by handle_public_team()
Example
curl -X GET 'https://example.com/wp-json/clanbite/v1/public-team'Defined in inc/class-public-rest.php