{"swagger":"2.0","info":{"title":"playground-api","description":"Sample API to play with Apibuilder","contact":{"name":"Michal Kowaliszyn","url":"https://github.com/mkows"},"license":{"name":"MIT","url":"http://opensource.org/licenses/MIT"},"version":"0.0.1-dev"},"host":"mkows.github.io","basePath":"/","schemes":["https"],"consumes":["application/json"],"produces":["application/json"],"paths":{"/_internal_/healthcheck":{"get":{"parameters":[],"responses":{"200":{"description":"200 response","schema":{"$ref":"#/definitions/healthcheck"}}}}},"/_internal_/healthcheck/test_form_params_json":{"post":{"parameters":[{"name":"param1","in":"form","required":true,"type":"string"}],"responses":{"204":{"description":"204 response"}}}},"/_internal_/healthcheck/{id}":{"get":{"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"200 response","schema":{"$ref":"#/definitions/healthcheck"}},"400":{"description":"400 response","schema":{"$ref":"#/definitions/error"}},"401":{"description":"401 response"},"403":{"description":"403 response","schema":{"$ref":"#/definitions/string"}},"404":{"description":"404 response"}}}}},"definitions":{"error":{"type":"object","title":"error","required":["code","message"],"properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"string"}}},"healthcheck":{"type":"object","title":"healthcheck","required":["status","created_at"],"properties":{"status":{"example":"healthy","type":"string"},"created_at":{"example":"2014-04-29T11:56:52Z","type":"string","format":"date-time"}}},"item_state":{"type":"object","title":"item_state","allOf":[{"type":"string","enum":["Init","Pending","Completed"]},{"type":"string","enum":["ErrorCause1","ErrorCause2","ErrorCause3"]}]}}}