{"id":20067,"date":"2017-07-14T13:44:54","date_gmt":"2017-07-14T18:44:54","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=20067"},"modified":"2017-07-14T13:44:54","modified_gmt":"2017-07-14T18:44:54","slug":"example-configs","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/devicehq\/account-api\/account-api-examples\/example-configs\/","title":{"rendered":"Example &#8211; Configs"},"content":{"rendered":"<ul>\n<li>GET \/api\/v2\/devices\/(serial or UUID)\/configs\n<ul>\n<li>Returns device configuration file information, and a link to retrieve the .tar.gz file containing it.\n<ul>\n<li>Parameters:\n<ul>\n<li>start_date &#8211; defaults to 10 days ago<\/li>\n<li>end_date &#8211; defaults to tomorrow (so as to get all data)<\/li>\n<li>dates must be YYYY-MM-DD formatted<\/li>\n<\/ul>\n<pre class=\"brush:xml\">{\r\n  \"id\": \"77778332\",\r\n  \"type\": \"devices\",\r\n  \"attributes\": {\r\n    \"config\": {\r\n      \"md5sum\": \"ADFA1341234131341234AFDDDD\",\r\n      \"name\": \"config22\",\r\n      \"description\": \"Config #22\"\r\n    }\r\n  },\r\n  \"links\": {\r\n    \"self\": \"https:\/\/devicehq.com\/api\/v2\/files\/5894cd7f95b54a75e732f952\"\r\n  }\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GET \/api\/v2\/devices\/(serial or UUID)\/configs Returns device configuration file information, and a link to retrieve the .tar.gz file containing it. Parameters: start_date &#8211; defaults to 10 days ago end_date &#8211; defaults to tomorrow (so as to get all data) dates must be YYYY-MM-DD formatted { &#8220;id&#8221;: &#8220;77778332&#8221;, &#8220;type&#8221;: &#8220;devices&#8221;, &#8220;attributes&#8221;: { &#8220;config&#8221;: { &#8220;md5sum&#8221;: &#8220;ADFA1341234131341234AFDDDD&#8221;, &#8220;name&#8221;: [&hellip;]<\/p>\n","protected":false},"author":2082,"featured_media":0,"parent":20000,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-20067","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/20067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/2082"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=20067"}],"version-history":[{"count":5,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/20067\/revisions"}],"predecessor-version":[{"id":32844,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/20067\/revisions\/32844"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/20000"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=20067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}