{"id":13085,"date":"2016-06-22T08:51:13","date_gmt":"2016-06-22T13:51:13","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=13085"},"modified":"2022-08-01T14:14:36","modified_gmt":"2022-08-01T19:14:36","slug":"api-version","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_requests\/api-version\/","title":{"rendered":"Selecting a Version of an API Call"},"content":{"rendered":"<p>As the device API evolves and new features are added, maintain backwards compatibility by setting the desired API version within the request. Set the API version with the <strong>version<\/strong> URI parameter, or in the URL path as shown below. If a request has only one version, this value is ignored.<\/p>\n<h3>Examples<\/h3>\n<p>To use version 1 of the API, make all API requests using the following:<\/p>\n<p><strong>URL path option<\/strong>: <code>https:\/\/[device_ip]\/api\/v1\/[request_path]<\/code><br \/>\n<strong>URI parameter option<\/strong>: <code>https:\/\/[device_ip]\/api\/[request_path]?version=1<\/code><\/p>\n<p>If no version is specified, the request\u00a0is executed using the latest API version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the device API evolves and new features are added, maintain backwards compatibility by setting the desired API version within the request. Set the API version with the version URI parameter, or in the URL path as shown below. If a request has only one version, this value is ignored. Examples To use version 1 [&hellip;]<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":12979,"menu_order":6,"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-13085","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13085","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\/1872"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=13085"}],"version-history":[{"count":10,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13085\/revisions"}],"predecessor-version":[{"id":13642,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13085\/revisions\/13642"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12979"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=13085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}