GeoDirectory Rest API Endpoints

namespace : geodir/v1
ENDPOINT                ROUTE                                                   EXAMPLE
Base                    /wp-json/geodir/v1                                      https://wpgeo.directory/rest-api/wp-json/geodir/v1
Listings Archive        /wp-json/geodir/v1/POST_TYPE_SLUG                       https://wpgeo.directory/rest-api/wp-json/geodir/v1/places/
Listing Single          /wp-json/geodir/v1/POST_TYPE_SLUG/ID                    https://wpgeo.directory/rest-api/wp-json/geodir/v1/places/310
Listing Reviews         /wp-json/geodir/v1/reviews?post=LISTING_ID              https://wpgeo.directory/rest-api/wp-json/geodir/v1/reviews?post=275
Listing Categories      /wp-json/geodir/v1/CAT_TAXONOMY?post=LISTING_ID         https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory?post=277
Listing Tags            /wp-json/geodir/v1/TAG_TAXONOMY?post=LISTING_ID         https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_place_tags?post=277

Categories Archive      /wp-json/geodir/v1/CAT_TAXONOMY                         https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory
Category Single         /wp-json/geodir/v1/CAT_TAXONOMY/ID                      https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory/12
Category Listings       /wp-json/geodir/v1/POST_TYPE_SLUG?CAT_TAXONOMY=CAT_ID   https://wpgeo.directory/rest-api/wp-json/geodir/v1/places?gd_placecategory=12

Tags Archive            /wp-json/geodir/v1/TAG_TAXONOMY                         https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_place_tags
Tag Single              /wp-json/geodir/v1/TAG_TAXONOMY/ID                      https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_place_tags/31
Tag Listings            /wp-json/geodir/v1/POST_TYPE_SLUG?TAG_TAXONOMY=TAG_ID   https://wpgeo.directory/rest-api/wp-json/geodir/v1/places?gd_place_tags=31

Taxonomies Archive      /wp-json/geodir/v1/taxonomies                           https://wpgeo.directory/rest-api/wp-json/geodir/v1/taxonomies
Taxonomies Single       /wp-json/geodir/v1/taxonomies/TAXONOMY                  https://wpgeo.directory/rest-api/wp-json/geodir/v1/taxonomies/gd_placecategory

Post Types Archive      /wp-json/geodir/v1/types                                https://wpgeo.directory/rest-api/wp-json/geodir/v1/types
Post Type Single        /wp-json/geodir/v1/types/POST_TYPE                      https://wpgeo.directory/rest-api/wp-json/geodir/v1/types/gd_place

Reviews Archive         /wp-json/geodir/v1/reviews                              https://wpgeo.directory/rest-api/wp-json/geodir/v1/reviews
Review Single           /wp-json/geodir/v1/reviews/ID                           https://wpgeo.directory/rest-api/wp-json/geodir/v1/reviews/283

All Countries Archive   /wp-json/geodir/v1/countries                            https://wpgeo.directory/rest-api/wp-json/geodir/v1/countries
Country Single          /wp-json/geodir/v1/countries/ID                         https://wpgeo.directory/rest-api/wp-json/geodir/v1/countries/253

Location Types Archive  /wp-json/geodir/v1/locations                            https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations

Countries Archive       /wp-json/geodir/v1/locations/countries                  https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/countries
Country Single          /wp-json/geodir/v1/locations/countries/SLUG             https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/countries/india
Country Listings        /wp-json/geodir/v1/POST_TYPE_SLUG?country=COUNTRY_SLUG  https://wpgeo.directory/rest-api/wp-json/geodir/v1/places?country=india

Regions Archive         /wp-json/geodir/v1/locations/regions                    https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/regions
Region Single           /wp-json/geodir/v1/locations/regions/SLUG/(country=COUNTRY_SLUG)   https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/regions/gujarat?country=india
Region Listings         /wp-json/geodir/v1/POST_TYPE_SLUG?country=COUNTRY_SLUG&region=REGION_SLUG  https://wpgeo.directory/rest-api/wp-json/geodir/v1/places?country=india&region=gujarat

Cities Archive          /wp-json/geodir/v1/locations/cities                     https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/cities
City Single             /wp-json/geodir/v1/locations/cities/SLUG/(country=SLUG&region=SLUG)    https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/cities/ahmedabad?country=india&region=gujarat
City Listings           /wp-json/geodir/v1/POST_TYPE_SLUG?country=COUNTRY_SLUG&region=REGION_SLUG&city=CITY_SLUG  https://wpgeo.directory/rest-api/wp-json/geodir/v1/places?country=india&region=gujarat&city=ahmedabad

Location Single         /wp-json/geodir/v1/locations/cities/ID                  https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/cities/1

Neighbourhoods Archive  /wp-json/geodir/v1/locations/neighbourhoods             https://wpgeo.directory/rest-api/wp-json/geodir/v1/locations/neighbourhoods
Neighbourhood Single    /wp-json/geodir/v1/locations/neighbourhoods/SLUG/(country=SLUG&region=SLUG&city=SLUG)
Neighbourhood Listings  /wp-json/geodir/v1/POST_TYPE_SLUG?country=COUNTRY_SLUG&region=REGION_SLUG&city=CITY_SLUG&neighbourhood=NEIGHBOURHOOD_SLUG