{"id":2225,"date":"2022-10-15T14:58:07","date_gmt":"2022-10-15T13:58:07","guid":{"rendered":"https:\/\/mywindsock.com\/page\/?page_id=2225"},"modified":"2022-10-16T20:17:01","modified_gmt":"2022-10-16T19:17:01","slug":"response","status":"publish","type":"page","link":"https:\/\/mywindsock.com\/page\/api\/metrics-api-documentation\/response\/","title":{"rendered":"Response"},"content":{"rendered":"\n<p>Every request will return a response. The following objects and values are returned upon a successful request. See an example <a href=\"https:\/\/mywindsock.com\/page\/api\/metrics-api-documentation\/metrics-api-example-response\/\" data-type=\"page\" data-id=\"2196\">request response<\/a>.<\/p>\n\n\n\n<h2>response<\/h2>\n\n\n\n<p>0 = error, 1 = success<\/p>\n\n\n\n<h2>message<\/h2>\n\n\n\n<p>A description of any error that occurred. Returns &#8216;success&#8217; on a successful request.<\/p>\n\n\n\n<h2>va Object<\/h2>\n\n\n\n<p>A Virtual Athlete Object is returned with every request. <\/p>\n\n\n\n<h2>course Object<\/h2>\n\n\n\n<p>The course Object contains the objects describing the course and its conditions.<\/p>\n\n\n\n<h3>averages Object<\/h3>\n\n\n\n<p>Averages of all values.<\/p>\n\n\n\n<h3>minvalues Object<\/h3>\n\n\n\n<p>Minimum values, each as an Object containing the value and the id within the data.<\/p>\n\n\n\n<h3>maxvalues Object<\/h3>\n\n\n\n<p>Maximum values, each as an Object containing the value and the id within the data.<\/p>\n\n\n\n<h3>totals Object<\/h3>\n\n\n\n<p>Contains total values<\/p>\n\n\n\n<h2>stream Object<\/h2>\n\n\n\n<p>If any of the streams have been requested they will be included in their own array under the &#8216;stream&#8217; object.<\/p>\n\n\n\n<h2>tz<\/h2>\n\n\n\n<p>Timezone offset in hours<\/p>\n\n\n\n<h2>timestamp<\/h2>\n\n\n\n<p>The timestamp for the forecast start date and time.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every request will return a response. The following objects and values are returned upon a successful request. See an example request response. response 0 = error, 1 = success message A description of any error that occurred. Returns &#8216;success&#8217; on a successful request. va Object A Virtual Athlete Object is returned with every request. course &hellip; <a href=\"https:\/\/mywindsock.com\/page\/api\/metrics-api-documentation\/response\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Response&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2204,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/pages\/2225"}],"collection":[{"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/comments?post=2225"}],"version-history":[{"count":3,"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/pages\/2225\/revisions"}],"predecessor-version":[{"id":2236,"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/pages\/2225\/revisions\/2236"}],"up":[{"embeddable":true,"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/pages\/2204"}],"wp:attachment":[{"href":"https:\/\/mywindsock.com\/page\/wp-json\/wp\/v2\/media?parent=2225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}