Clanbite clanbite/v1

GET /wp-json/clanbite/v1/public-team

GET

Return basic public data for a published team by slug or by parsing a profile URL.

Public. Anyone can call this endpoint.

ArgumentTypeDefaultDescription
slugstringTeam post slug (cp_team post_name).
urlstringFull 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