GeoDirectory REST API

Get Started

The GeoDirectory REST API reference provides information on the specific endpoints available through the API, their parameters, and their response data format.

API Endpoints #

Resource Base Route
CPT /geodir/v1/CPT
Taxonomies /geodir/v1/taxonomies
Categories /geodir/v1/CPT_CATEGORY_TAXONOMY
Tags /geodir/v1/CPT_TAGS_TAXONOMY
Reviews /geodir/v1/reviews
Post Types /geodir/v1/types

CPT #

List CPT #

Route /geodir/v1/CPT
Example /geodir/v1/places

Retrieve a CPT #

Route /geodir/v1/CPT/ID
Example /geodir/v1/places/275

Taxonomies #

List Taxonomies #

Route /geodir/v1/taxonomies

Retrieve a Taxonomy #

Route /geodir/v1/taxonomies/CPT_TAXONOMY
Example /geodir/v1/taxonomies/gd_placecategory

Categories #

List Categories #

Route /geodir/v1/CPT_CATEGORY_TAXONOMY
Example /geodir/v1/gd_placecategory

Retrieve a Category #

Route /geodir/v1/CPT_CATEGORY_TAXONOMY/ID
Example /geodir/v1/gd_placecategory/18

Tags #

List Tags #

Route /geodir/v1/CPT_TAGS_TAXONOMY
Example /geodir/v1/gd_place_tags

Retrieve a Tag #

Route /geodir/v1/CPT_TAGS_TAXONOMY/ID
Example /geodir/v1/gd_place_tags/31

Reviews #

List Reviews #

Route /geodir/v1/reviews

Retrieve a Review #

Route /geodir/v1/reviews/ID
Example /geodir/v1/reviews/283

PostTypes #

List PostTypes #

Route /geodir/v1/types

Retrieve a Post Type #

Route /geodir/v1/types/CPT_NAME
Example /geodir/v1/types/gd_place

Leave a Comment

Your email address will not be published. Required fields are marked *