All Known Implementing Classes:
TaxonomyApiClientModule

public interface TaxonomyAPIs
Defines operations for retrieving WordPress taxonomies through the WordPress REST API.

This interface provides methods for retrieving a single WpTaxonomyInfo resource and listing available taxonomy resources.

Implementations are expected to communicate with the /wp-json/wp/v2/taxonomies endpoint or compatible APIs.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name)
    Retrieves a taxonomy by its alphanumeric identifier.
    Retrieves the list of available taxonomies.
  • Method Details

    • get

      Retrieves a taxonomy by its alphanumeric identifier.

      The identifier corresponds to the taxonomy slug, for example category or post_tag.

      Parameters:
      name - the taxonomy identifier; must not be null
      Returns:
      the matching WpTaxonomyInfo
    • list

      Retrieves the list of available taxonomies.
      Returns:
      the available WpTaxonomyInfo resources