{"id":758,"date":"2019-05-08T16:56:03","date_gmt":"2019-05-08T16:56:03","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/?post_type=docs&#038;p=758"},"modified":"2019-05-08T16:56:03","modified_gmt":"2019-05-08T16:56:03","slug":"settings","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/api\/settings\/","title":{"rendered":"Settings"},"content":{"rendered":"<p><span class=\"bookmark-index\"><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#endpoint\">Endpoints<\/a><br \/>\n<\/span><\/p>\n<h3><a href=\"#intro\">Introduction<\/a><\/h3>\n<p>REST API End Points for managing and checking GD Settings.<\/p>\n<h3><a href=\"#endpoint\">EndPoints<\/a><\/h3>\n<div class=\"api-endpoint\">\n<div class=\"endpoint-data\">\n        <label class=\"label-get\">GET<\/label><\/p>\n<h6>\/wp-json\/geodir\/v2\/settings<\/h6>\n<\/p><\/div>\n<\/div>\n<p><strong>Output<\/strong><\/p>\n<pre>\r\n[\r\n    {\r\n        \"id\": \"general\",\r\n        \"label\": \"General\",\r\n        \"description\": \"\",\r\n        \"parent_id\": \"\",\r\n        \"sub_groups\": [],\r\n        \"_links\": {\r\n            \"options\": [\r\n                {\r\n                    \"href\": \"http:\/\/local.newwp.test\/wp-json\/geodir\/v2\/settings\/general\"\r\n                }\r\n            ]\r\n        }\r\n    },\r\n    {\r\n        \"id\": \"emails\",\r\n        \"label\": \"Emails\",\r\n        \"description\": \"\",\r\n        \"parent_id\": \"\",\r\n        \"sub_groups\": [],\r\n        \"_links\": {\r\n            \"options\": [\r\n                {\r\n                    \"href\": \"http:\/\/local.newwp.test\/wp-json\/geodir\/v2\/settings\/emails\"\r\n                }\r\n            ]\r\n        }\r\n    },\r\n    {\r\n        \"id\": \"design\",\r\n        \"label\": \"Design\",\r\n        \"description\": \"\",\r\n        \"parent_id\": \"\",\r\n        \"sub_groups\": [],\r\n        \"_links\": {\r\n            \"options\": [\r\n                {\r\n                    \"href\": \"http:\/\/local.newwp.test\/wp-json\/geodir\/v2\/settings\/design\"\r\n                }\r\n            ]\r\n        }\r\n    },\r\n    {\r\n        \"id\": \"import-export\",\r\n        \"label\": \"Import\/Export\",\r\n        \"description\": \"\",\r\n        \"parent_id\": \"\",\r\n        \"sub_groups\": [],\r\n        \"_links\": {\r\n            \"options\": [\r\n                {\r\n                    \"href\": \"http:\/\/local.newwp.test\/wp-json\/geodir\/v2\/settings\/import-export\"\r\n                }\r\n            ]\r\n        }\r\n    },\r\n    {\r\n        \"id\": \"api\",\r\n        \"label\": \"API\",\r\n        \"description\": \"\",\r\n        \"parent_id\": \"\",\r\n        \"sub_groups\": [],\r\n        \"_links\": {\r\n            \"options\": [\r\n                {\r\n                    \"href\": \"http:\/\/local.newwp.test\/wp-json\/geodir\/v2\/settings\/api\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n]\r\n<\/pre>\n","protected":false},"featured_media":0,"parent":750,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/758"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=758"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/758\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/750"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=758"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}