{"id":4378,"date":"2023-02-06T09:01:55","date_gmt":"2023-02-06T09:01:55","guid":{"rendered":"https:\/\/uptime.com\/blog\/?post_type=changelog&#038;p=4378"},"modified":"2023-02-03T16:54:09","modified_gmt":"2023-02-03T16:54:09","slug":"api-check-allows-for-variable-interpolation","status":"publish","type":"changelog","link":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation","title":{"rendered":"API Check Allows for Variable Interpolation"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">The API Check now allows for variables to be used as a <\/span><b>variant<\/b><span style=\"font-weight: 400;\"> for the \u201cSet variable <\/span><span style=\"font-weight: 400;\">name<\/span><span style=\"font-weight: 400;\"> to a random value from a comma-separated list\u201d command. Randomly assign previously defined variables for use in subsequent steps. <\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4371 aligncenter\" src=\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png\" alt=\"\" width=\"512\" height=\"262\" srcset=\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png 512w, https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant-510x261.png 510w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">For more information, see our support article on <\/span><a href=\"https:\/\/support.uptime.com\/hc\/en-us\/articles\/5608610773404-API-Check-Commands-Variables-and-Validators#list_value\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">API Check Commands, Variables, and Validators<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n","protected":false},"template":"","meta":{"_acf_changed":false},"class_list":["post-4378","changelog","type-changelog","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Uptime.com | Changelog<\/title>\n<meta name=\"description\" content=\"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Uptime.com | Changelog\" \/>\n<meta property=\"og:description\" content=\"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation\" \/>\n<meta property=\"og:site_name\" content=\"Uptime.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/uptimemonitor\" \/>\n<meta property=\"og:image\" content=\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@UptimeDotCom\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation\",\"url\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation\",\"name\":\"Uptime.com | Changelog\",\"isPartOf\":{\"@id\":\"https:\/\/uptime.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage\"},\"image\":{\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage\"},\"thumbnailUrl\":\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png\",\"datePublished\":\"2023-02-06T09:01:55+00:00\",\"description\":\"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.\",\"breadcrumb\":{\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage\",\"url\":\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png\",\"contentUrl\":\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png\",\"width\":512,\"height\":262},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/uptime.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changelog\",\"item\":\"https:\/\/uptime.com\/blog\/changelog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Check Allows for Variable Interpolation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/uptime.com\/blog\/#website\",\"url\":\"https:\/\/uptime.com\/blog\/\",\"name\":\"Uptime.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/uptime.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/uptime.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/uptime.com\/blog\/#organization\",\"name\":\"Uptime.com\",\"url\":\"https:\/\/uptime.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uptime.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2022\/10\/Uptime.com_Wordmark_Horizontal_Black_Green.png\",\"contentUrl\":\"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2022\/10\/Uptime.com_Wordmark_Horizontal_Black_Green.png\",\"width\":512,\"height\":83,\"caption\":\"Uptime.com\"},\"image\":{\"@id\":\"https:\/\/uptime.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/uptimemonitor\",\"https:\/\/x.com\/UptimeDotCom\",\"https:\/\/www.linkedin.com\/company\/uptime-com\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Uptime.com | Changelog","description":"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation","og_locale":"en_US","og_type":"article","og_title":"Uptime.com | Changelog","og_description":"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.","og_url":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation","og_site_name":"Uptime.com","article_publisher":"https:\/\/www.facebook.com\/uptimemonitor","og_image":[{"url":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@UptimeDotCom","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation","url":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation","name":"Uptime.com | Changelog","isPartOf":{"@id":"https:\/\/uptime.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage"},"image":{"@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage"},"thumbnailUrl":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png","datePublished":"2023-02-06T09:01:55+00:00","description":"Uptime.com shares expertise on all things uptime, availabilty, observability, and website monitoring.","breadcrumb":{"@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#primaryimage","url":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png","contentUrl":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2023\/02\/API-variant.png","width":512,"height":262},{"@type":"BreadcrumbList","@id":"https:\/\/uptime.com\/blog\/changelog\/api-check-allows-for-variable-interpolation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/uptime.com\/blog"},{"@type":"ListItem","position":2,"name":"Changelog","item":"https:\/\/uptime.com\/blog\/changelog"},{"@type":"ListItem","position":3,"name":"API Check Allows for Variable Interpolation"}]},{"@type":"WebSite","@id":"https:\/\/uptime.com\/blog\/#website","url":"https:\/\/uptime.com\/blog\/","name":"Uptime.com","description":"","publisher":{"@id":"https:\/\/uptime.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uptime.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/uptime.com\/blog\/#organization","name":"Uptime.com","url":"https:\/\/uptime.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uptime.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2022\/10\/Uptime.com_Wordmark_Horizontal_Black_Green.png","contentUrl":"https:\/\/uptime.com\/blog\/wp-content\/uploads\/2022\/10\/Uptime.com_Wordmark_Horizontal_Black_Green.png","width":512,"height":83,"caption":"Uptime.com"},"image":{"@id":"https:\/\/uptime.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/uptimemonitor","https:\/\/x.com\/UptimeDotCom","https:\/\/www.linkedin.com\/company\/uptime-com\/"]}]}},"_links":{"self":[{"href":"https:\/\/uptime.com\/blog\/wp-json\/wp\/v2\/changelog\/4378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uptime.com\/blog\/wp-json\/wp\/v2\/changelog"}],"about":[{"href":"https:\/\/uptime.com\/blog\/wp-json\/wp\/v2\/types\/changelog"}],"wp:attachment":[{"href":"https:\/\/uptime.com\/blog\/wp-json\/wp\/v2\/media?parent=4378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}