{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create an Uptime check, send a POST request to `/v2/uptime/checks` specifying the attributes\nin the table below in the JSON body.\n","properties":{"body":{"type":"object","allOf":[{"$ref":"#/definitions/check_updatable"}],"required":["name","method","target","regions","type","enabled"]}},"required":["body"],"additionalProperties":false,"definitions":{"check_updatable":{"type":"object","properties":{"name":{"type":"string","description":"A human-friendly display name.","examples":["Landing page check"]},"type":{"type":"string","enum":["ping","http","https"],"description":"The type of health check to perform.","examples":["https"]},"target":{"type":"string","format":"url","description":"The endpoint to perform healthchecks on.","examples":["https://www.landingpage.com"]},"regions":{"type":"array","items":{"type":"string","enum":["us_east","us_west","eu_west","se_asia"]},"description":"An array containing the selected regions to perform healthchecks from.","examples":[["us_east","eu_west"]]},"enabled":{"type":"boolean","default":true,"description":"A boolean value indicating whether the check is enabled/disabled.","examples":[true]}}}}},"name":"Create a New Check","id":"digitalocean.uptime_create_check","example":{"body":{"name":"Landing page check","method":"example","target":"https://www.landingpage.com","regions":["us_east","eu_west"],"type":"https","enabled":true}},"maxRequests":1,"summary":false}}