Posts
Introduction
List
Create
Update
Delete
Introduction
REST API End Points for managing and checking GD Posts.
EndPoints
Output
[ { "id": 871, "slug": "richmore-apartments-test123-food2", "link": "http://local.newwp.test/places/canada/ontario/king/houses/richmore-apartments-test123-food2/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-04-16T13:04:14", "date_gmt": "2019-04-16T13:04:14", "modified": "2019-04-16T13:04:14", "modified_gmt": "2019-04-16T13:04:14", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "3324 19th Sideroad", "country": "Canada", "region": "Ontario", "city": "King", "zip": "L0G 1J0", "latitude": "44.012415575653726", "longitude": "-79.58547458052635", "mapview": "ROADMAP", "mapzoom": "", "timing": "", "phone": "", "email": "", "website": "", "twitter": "", "facebook": "", "video": "", "special_offers": "", "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 5, "rating_count": 2, "featured_media": 0, "featured_image": [], "images": [], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/?post_type=gd_place&p=871" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/871" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=871" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/871/revisions" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=871" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=871" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=871" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 799, "slug": "richmore-apartments", "link": "http://local.newwp.test/places/canada/ontario/king/apartments/richmore-apartments/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:03:06", "date_gmt": "2019-03-06T14:03:06", "modified": "2019-03-14T19:57:20", "modified_gmt": "2019-03-14T19:57:20", "default_category": "117", "post_category": [ { "id": 117, "name": "Apartments", "slug": "apartments" } ], "street": "King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "43.980225694074", "longitude": "-79.589865156145", "mapview": "ROADMAP", "mapzoom": "", "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": "", "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 800, "featured_image": { "id": "72", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf8.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf8-150x150.jpg", "width": 1280, "height": 856 }, "images": [ { "id": "72", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf8.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf8-150x150.jpg", "featured": true, "position": "0" }, { "id": "73", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl2.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl2-150x150.jpg", "featured": false, "position": "1" }, { "id": "74", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psb3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psb3-150x150.jpg", "featured": false, "position": "2" }, { "id": "75", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk-5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-5-150x150.jpg", "featured": false, "position": "3" }, { "id": "76", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-5-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/richmore-apartments/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/799" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=799" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/799/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/800" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=799" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=799" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=799" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 797, "slug": "fraser-suites", "link": "http://local.newwp.test/places/canada/ontario/king/apartments/fraser-suites/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:02:53", "date_gmt": "2019-03-06T14:02:53", "modified": "2019-03-14T20:09:35", "modified_gmt": "2019-03-14T20:09:35", "default_category": "117", "post_category": [ { "id": 117, "name": "Apartments", "slug": "apartments" } ], "street": "King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "44.030107687149", "longitude": "-79.50725730378", "mapview": "ROADMAP", "mapzoom": "7", "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": "", "asdsdsadsad": { "raw": "test", "rendered": "Test" }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 798, "featured_image": { "id": "67", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf7.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf7-150x150.jpg", "width": 1280, "height": 720 }, "images": [ { "id": "67", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf7.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf7-150x150.jpg", "featured": true, "position": "0" }, { "id": "68", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl4-1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl4-1-150x150.jpg", "featured": false, "position": "1" }, { "id": "69", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psb4-1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psb4-1-150x150.jpg", "featured": false, "position": "2" }, { "id": "70", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk-4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-4-150x150.jpg", "featured": false, "position": "3" }, { "id": "71", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-4-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/fraser-suites/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/797" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=797" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/797/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/798" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=797" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=797" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=797" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 795, "slug": "forrest-park", "link": "http://local.newwp.test/places/canada/ontario/king/houses/forrest-park/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:02:41", "date_gmt": "2019-03-06T14:02:41", "modified": "2019-03-06T14:02:41", "modified_gmt": "2019-03-06T14:02:41", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "43.986773665705", "longitude": "-79.702305299537", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 796, "featured_image": { "id": "63", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf6.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf6-150x150.jpg", "width": 1280, "height": 847 }, "images": [ { "id": "63", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf6.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf6-150x150.jpg", "featured": true, "position": "0" }, { "id": "64", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl6.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl6-150x150.jpg", "featured": false, "position": "1" }, { "id": "65", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk-3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-3-150x150.jpg", "featured": false, "position": "3" }, { "id": "66", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-3-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/forrest-park/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/795" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=795" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/795/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/796" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=795" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=795" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=795" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 793, "slug": "springfield-lodge", "link": "http://local.newwp.test/places/canada/ontario/king/houses/springfield-lodge/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:02:26", "date_gmt": "2019-03-06T14:02:26", "modified": "2019-03-06T14:02:26", "modified_gmt": "2019-03-06T14:02:26", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "43.959283307934", "longitude": "-79.602951574071", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 794, "featured_image": { "id": "58", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf5-150x150.jpg", "width": 1280, "height": 857 }, "images": [ { "id": "58", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf5-150x150.jpg", "featured": true, "position": "0" }, { "id": "59", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl5-150x150.jpg", "featured": false, "position": "1" }, { "id": "60", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psb5.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psb5-150x150.jpg", "featured": false, "position": "2" }, { "id": "61", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk-2.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-2-150x150.jpg", "featured": false, "position": "3" }, { "id": "62", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-2.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-2-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/springfield-lodge/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/793" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=793" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/793/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/794" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=793" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=793" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=793" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 791, "slug": "jesmond-mansion", "link": "http://local.newwp.test/places/canada/ontario/king/houses/jesmond-mansion/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:02:13", "date_gmt": "2019-03-06T14:02:13", "modified": "2019-03-06T14:02:13", "modified_gmt": "2019-03-06T14:02:13", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "44.027228770813", "longitude": "-79.540715921723", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 792, "featured_image": { "id": "53", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf4-150x150.jpg", "width": 1280, "height": 856 }, "images": [ { "id": "53", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf4-150x150.jpg", "featured": true, "position": "0" }, { "id": "54", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl4-150x150.jpg", "featured": false, "position": "1" }, { "id": "55", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psb4.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psb4-150x150.jpg", "featured": false, "position": "2" }, { "id": "56", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk-1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-1-150x150.jpg", "featured": false, "position": "3" }, { "id": "57", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-1-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/jesmond-mansion/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/791" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=791" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/791/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/792" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=791" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=791" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=791" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 789, "slug": "northbay-house", "link": "http://local.newwp.test/places/canada/ontario/king/houses/northbay-house/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:01:55", "date_gmt": "2019-03-06T14:01:55", "modified": "2019-03-06T14:01:55", "modified_gmt": "2019-03-06T14:01:55", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "44.046827217255", "longitude": "-79.697610435615", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 790, "featured_image": { "id": "49", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf3-150x150.jpg", "width": 1280, "height": 929 }, "images": [ { "id": "49", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf3-150x150.jpg", "featured": true, "position": "0" }, { "id": "50", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl3.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl3-150x150.jpg", "featured": false, "position": "1" }, { "id": "51", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psk.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psk-150x150.jpg", "featured": false, "position": "3" }, { "id": "52", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psbr.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psbr-150x150.jpg", "featured": false, "position": "4" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/northbay-house/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/789" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=789" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/789/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/790" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=789" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=789" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=789" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 788, "slug": "daisy-street", "link": "http://local.newwp.test/places/canada/ontario/king/houses/daisy-street/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:01:24", "date_gmt": "2019-03-06T14:01:24", "modified": "2019-03-06T14:01:24", "modified_gmt": "2019-03-06T14:01:24", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "44.095333133419", "longitude": "-79.698034108706", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(222) 777-1111", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 0, "featured_image": [], "images": [], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/daisy-street/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/788" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=788" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/788/revisions" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=788" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=788" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=788" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 786, "slug": "eastern-lodge", "link": "http://local.newwp.test/places/canada/ontario/king/houses/eastern-lodge/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-03-06T14:00:56", "date_gmt": "2019-03-06T14:00:56", "modified": "2019-03-06T14:00:56", "modified_gmt": "2019-03-06T14:00:56", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "123 King", "country": "Canada", "region": "Ontario", "city": "King", "zip": "", "latitude": "43.947479830944", "longitude": "-79.491696677947", "mapview": null, "mapzoom": null, "timing": "Viewing Sunday 10 am to 9 pm", "phone": "(111) 677-4444", "email": "[email protected]", "website": "http://example.com/", "twitter": "http://example.com/", "facebook": "http://example.com/", "video": "", "special_offers": null, "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 787, "featured_image": { "id": "47", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf1-150x150.jpg", "width": 1280, "height": 765 }, "images": [ { "id": "47", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psf1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psf1-150x150.jpg", "featured": true, "position": "0" }, { "id": "48", "title": "", "src": "http://local.newwp.test/wp-content/uploads/2019/03/psl1.jpg", "thumbnail": "http://local.newwp.test/wp-content/uploads/2019/03/psl1-150x150.jpg", "featured": false, "position": "1" } ], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/places/eastern-lodge/" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/786" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=786" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/786/revisions" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/media/787" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=786" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=786" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=786" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }, { "id": 9, "slug": "harborough-district-council", "link": "http://local.newwp.test/places/canada/ontario/king/houses/harborough-district-council/", "status": "publish", "type": "gd_place", "author": 1, "date": "2009-01-28T08:43:00", "date_gmt": "2009-01-28T08:43:00", "modified": "2019-04-28T10:04:07", "modified_gmt": "2019-04-28T10:04:07", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "King", "country": "Leicestershire", "region": "Market Harborough", "city": "Adam and Eve Street", "zip": "", "latitude": "52.4785771162", "longitude": "-0.9207540751", "mapview": "ROADMAP", "mapzoom": "", "timing": "", "phone": "01858 828282", "email": "", "website": "", "twitter": "", "facebook": "", "video": "", "special_offers": "", "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 0, "rating_count": 0, "featured_media": 0, "featured_image": [], "images": [], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/harborough-district-council" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/9" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=9" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/9/revisions" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=9" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=9" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=9" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } } ]
EndPoints
/wp-json/geodir/v2/places
Output
List by Post ID in Post Type EndPoints
/wp-json/geodir/v2/places/< id >
/wp-json/geodir/v2/places/1025
Output
{ "id": "871", "slug": "richmore-apartments-test123-food2", "link": "http://local.newwp.test/places/canada/ontario/king/houses/richmore-apartments-test123-food2/", "status": "publish", "type": "gd_place", "author": 1, "date": "2019-04-16T13:04:14", "date_gmt": "2019-04-16T13:04:14", "modified": "2019-05-13T14:38:11", "modified_gmt": "2019-05-13T14:38:11", "default_category": "118", "post_category": [ { "id": 118, "name": "Houses", "slug": "houses" } ], "street": "3324 19th Sideroad", "country": "Canada", "region": "Ontario", "city": "King", "zip": "L0G 1J0", "latitude": "44.012415575653726", "longitude": "-79.58547458052635", "mapview": "ROADMAP", "mapzoom": "", "timing": "", "phone": "", "email": "", "website": "", "twitter": "", "facebook": "", "video": "", "special_offers": "", "asdsdsadsad": { "raw": null, "rendered": null }, "asdasdsd": { "raw": null, "rendered": null }, "featured": false, "rating": 5, "rating_count": 2, "featured_media": 0, "featured_image": [], "images": [], "comment_status": "open", "ping_status": "closed", "meta": [], "guid": { "rendered": "http://local.newwp.test/?post_type=gd_place&p=871" }, "_links": { "self": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/871" } ], "collection": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places" } ], "about": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/types/gd_place" } ], "author": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/reviews?post=871" } ], "version-history": [ { "href": "http://local.newwp.test/wp-json/geodir/v2/places/871/revisions" } ], "wp:attachment": [ { "href": "http://local.newwp.test/wp-json/wp/v2/media?parent=871" } ], "wp:term": [ { "taxonomy": "gd_place_tags", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/tags?post=871" }, { "taxonomy": "gd_placecategory", "embeddable": true, "href": "http://local.newwp.test/wp-json/geodir/v2/places/categories?post=871" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }
Update by Post ID in Post Type EndPoints
/wp-json/geodir/v2/places/< id >
/wp-json/geodir/v2/places/1025
Output
Delete by Post ID in Post Type EndPoints
/wp-json/geodir/v2/places/< id >
/wp-json/geodir/v2/places/1025
Output