{"swagger":"2.0","info":{"title":"SetOps API","description":"API for developers to manage stages, apps and services on SetOps","version":"0.0.1"},"host":"api.setops.co","consumes":["application/json","application/xml","application/gob"],"produces":["application/json","application/xml","application/gob"],"paths":{"/":{"get":{"tags":["Root"],"summary":"show Root","operationId":"Root#show","responses":{"301":{"description":"Moved Permanently response.","headers":{"Location":{"type":"string"}}}},"schemes":["https"]}},"/.well-known/health-check":{"get":{"tags":["HealthCheck"],"summary":"show HealthCheck","operationId":"HealthCheck#show","produces":["text/plain"],"responses":{"200":{"description":"OK response.","schema":{"type":"string"}}},"schemes":["https"]}},"/config/{key}":{"get":{"tags":["Config"],"summary":"get Config","operationId":"Config#get","parameters":[{"name":"key","in":"path","description":"Key","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Config","required":["key","value"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"put":{"tags":["Config"],"summary":"set Config","operationId":"Config#set","parameters":[{"name":"key","in":"path","description":"Key","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"SetRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/ConfigSetRequestBody","required":["value"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Config","required":["key","value"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Config"],"summary":"reset Config","operationId":"Config#reset","parameters":[{"name":"key","in":"path","description":"Key","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Config","required":["key","value"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization":{"get":{"tags":["Organization"],"summary":"list Organization","operationId":"Organization#list","parameters":[{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/Organization"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Organization"],"summary":"create Organization","operationId":"Organization#create","parameters":[{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"CreateRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/OrganizationCreateRequestBody","required":["organization_name","allow_user_creation_with_invite","use_limits","use_service_limits","assume_role_arn"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Organization"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Organization"],"summary":"destroy Organization","operationId":"Organization#destroy","parameters":[{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"DestroyRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/OrganizationDestroyRequestBody","required":["organization_name"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Organization"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}":{"get":{"tags":["Organization"],"summary":"info Organization","operationId":"Organization#info","parameters":[{"name":"organization_name","in":"path","description":"Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Organization"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project":{"get":{"tags":["Project"],"summary":"list Project","operationId":"Project#list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/Project"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Project"],"summary":"create Project","operationId":"Project#create","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"CreateRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/ProjectCreateRequestBody","required":["project_name"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Project"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}":{"get":{"tags":["Project"],"summary":"info Project","operationId":"Project#info","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Project"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Project"],"summary":"destroy Project","operationId":"Project#destroy","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Project"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage":{"get":{"tags":["Stage"],"summary":"list Stage","operationId":"Stage#list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/Stage"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Stage"],"summary":"create Stage","operationId":"Stage#create","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"CreateRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/StageCreateRequestBody","required":["stage_name"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Stage"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}":{"get":{"tags":["Stage"],"summary":"dump Stage","operationId":"Stage#dump","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Stage"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Stage"],"summary":"apply Stage","operationId":"Stage#apply","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"ApplyRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/StageApplyRequestBody"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Stage"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Stage"],"summary":"destroy Stage","operationId":"Stage#destroy","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Stage"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"409":{"description":"Conflict response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/domain":{"get":{"tags":["App"],"summary":"domain_list App","operationId":"App#domain_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/DomainListResult","required":["default_domain","private_domain"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/image":{"get":{"tags":["App"],"summary":"image_list App","operationId":"App#image_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/ListImageResult","required":["images"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/log":{"get":{"tags":["App"],"summary":"log App","description":"Shows logs for an app on a stage","operationId":"App#log","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"LogRequestBody","in":"body","required":true,"schema":{"$ref":"#/definitions/AppLogRequestBody"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/AppLog","required":["log_url"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/task":{"get":{"tags":["App"],"summary":"task_list App","description":"Lists running tasks for an app","operationId":"App#task_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/ListTasksResult","required":["app_tasks","one_off_tasks"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["App"],"summary":"task_run App","description":"Runs a one-off task for an app","operationId":"App#task_run","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"task_run_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/AppTaskRunRequestBody"}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Task","required":["id","resources"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/task/attach":{"post":{"tags":["App"],"summary":"task_attach App","description":"Attaches console to a running task","operationId":"App#task_attach","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"task_attach_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/AppTaskAttachRequestBody","required":["command"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/TaskAttachment","required":["task_id","ssm_session_id","ssm_stream_url","ssm_token_value","ssm_instance_id","ssm_region"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/app/{app_name}/task/{task_id}":{"delete":{"tags":["App"],"summary":"task_stop App","description":"Stops a running task","operationId":"App#task_stop","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"app_name","in":"path","description":"App Name","required":true,"type":"string"},{"name":"task_id","in":"path","description":"Task ID","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Task","required":["id","resources"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/secret":{"get":{"tags":["Stage"],"summary":"secret_list Stage","operationId":"Stage#secret_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/Secret"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/secret/{secret_name}":{"put":{"tags":["Stage"],"summary":"secret_create Stage","operationId":"Stage#secret_create","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"secret_name","in":"path","description":"my-secret-name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"secret_create_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/StageSecretCreateRequestBody","required":["value"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Secret"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Stage"],"summary":"secret_destroy Stage","operationId":"Stage#secret_destroy","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"secret_name","in":"path","description":"my-secret-name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Secret"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/service/{service_name}/backup":{"get":{"tags":["Srvice"],"summary":"backup_list Srvice","operationId":"Srvice#backup_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/Backup"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Srvice"],"summary":"backup_create Srvice","operationId":"Srvice#backup_create","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Backup","required":["id","status"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/service/{service_name}/backup/upload":{"post":{"tags":["Srvice"],"summary":"backup_upload Srvice","operationId":"Srvice#backup_upload","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BackupUploadInstance","required":["id","authorized_url"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/service/{service_name}/backup/{backup_id}":{"delete":{"tags":["Srvice"],"summary":"backup_destroy Srvice","operationId":"Srvice#backup_destroy","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"backup_id","in":"path","description":"Backup ID","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Backup","required":["id","status"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/service/{service_name}/backup/{backup_id}/download":{"get":{"tags":["Srvice"],"summary":"backup_download Srvice","operationId":"Srvice#backup_download","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"backup_id","in":"path","description":"Backup ID","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/BackupDownloadInstance","required":["authorized_url","backup"]}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/service/{service_name}/backup/{backup_id}/restore":{"post":{"tags":["Srvice"],"summary":"backup_restore Srvice","operationId":"Srvice#backup_restore","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"service_name","in":"path","description":"Service Name","required":true,"type":"string"},{"name":"backup_id","in":"path","description":"Backup ID","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/Backup","required":["id","status"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/stage/{stage_name}/user":{"get":{"tags":["Stage"],"summary":"user_list Stage","operationId":"Stage#user_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/UserAuthorizedForStage"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Stage"],"summary":"user_invite Stage","operationId":"Stage#user_invite","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_invite_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/StageUserInviteRequestBody","required":["email","role"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForStage","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Stage"],"summary":"user_remove Stage","operationId":"Stage#user_remove","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"stage_name","in":"path","description":"Stage Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_remove_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/StageUserRemoveRequestBody","required":["email"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForStage","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/project/{project_name}/user":{"get":{"tags":["Project"],"summary":"user_list Project","operationId":"Project#user_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/UserAuthorizedForProject"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Project"],"summary":"user_invite Project","operationId":"Project#user_invite","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_invite_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/ProjectUserInviteRequestBody","required":["email","role"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForProject","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Project"],"summary":"user_remove Project","operationId":"Project#user_remove","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"project_name","in":"path","description":"Project Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_remove_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/ProjectUserRemoveRequestBody","required":["email"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForProject","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/organization/{organization_name}/user":{"get":{"tags":["Organization"],"summary":"user_list Organization","operationId":"Organization#user_list","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"}],"responses":{"200":{"description":"OK response.","schema":{"type":"array","items":{"$ref":"#/definitions/UserAuthorizedForOrganization"}}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"post":{"tags":["Organization"],"summary":"user_invite Organization","operationId":"Organization#user_invite","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_invite_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/OrganizationUserInviteRequestBody","required":["email","role"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForOrganization","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]},"delete":{"tags":["Organization"],"summary":"user_remove Organization","operationId":"Organization#user_remove","parameters":[{"name":"organization_name","in":"path","description":"Organization Name","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"User session token","required":true,"type":"string"},{"name":"user_remove_request_body","in":"body","required":true,"schema":{"$ref":"#/definitions/OrganizationUserRemoveRequestBody","required":["email"]}}],"responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/UserAuthorizedForOrganization","required":["email","role"]}},"400":{"description":"Bad Request response.","schema":{"$ref":"#/definitions/ServiceError"}},"401":{"description":"Unauthorized response.","schema":{"$ref":"#/definitions/ServiceError"}},"403":{"description":"Forbidden response.","schema":{"$ref":"#/definitions/ServiceError"}},"404":{"description":"Not Found response.","schema":{"$ref":"#/definitions/ServiceError"}},"422":{"description":"Unprocessable Entity response.","schema":{"$ref":"#/definitions/ServiceError"}},"429":{"description":"Too Many Requests response.","schema":{"$ref":"#/definitions/ServiceError"}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"],"security":[{"api_key_header_Authorization":[]}]}},"/version":{"get":{"tags":["version"],"summary":"info version","operationId":"version#info","responses":{"200":{"description":"OK response.","schema":{"$ref":"#/definitions/VersionInfoResponseBody","required":["version"]}},"500":{"description":"Internal Server Error response.","schema":{"$ref":"#/definitions/ServiceError"}}},"schemes":["https"]}}},"definitions":{"AppLog":{"title":"AppLog","type":"object","properties":{"log_url":{"type":"string","description":"URL of a websocket endpoint which the log entries","example":"Dolorem voluptates aliquid beatae tenetur odio aliquid."}},"example":{"log_url":"Voluptatem facilis et quo nobis."},"required":["log_url"]},"AppLogRequestBody":{"title":"AppLogRequestBody","type":"object","properties":{"after":{"type":"string","description":"Show only log entries after","example":"2021-12-20T11:50:00Z"},"before":{"type":"string","description":"Show only log entries before","example":"2021-12-20T12:00:00Z"},"follow":{"type":"boolean","description":"Follow new log entries","example":true},"limit":{"type":"integer","description":"Log Entry Limit","example":500,"format":"int64"},"task_id":{"type":"string","description":"Tsk ID","example":"b6dd53c777784d2180ada3324d964fe3"}},"example":{"after":"2021-12-20T11:50:00Z","before":"2021-12-20T12:00:00Z","follow":true,"limit":500,"task_id":"b6dd53c777784d2180ada3324d964fe3"}},"AppTaskAttachRequestBody":{"title":"AppTaskAttachRequestBody","type":"object","properties":{"command":{"type":"array","items":{"type":"string","example":"Aspernatur voluptates iusto ut."},"description":"Command","example":["/bin/bash"]},"task_id":{"type":"string","description":"Task ID","example":"b6dd53c777784d2180ada3324d964fe3"}},"example":{"command":["/bin/bash"],"task_id":"b6dd53c777784d2180ada3324d964fe3"},"required":["command"]},"AppTaskRunRequestBody":{"title":"AppTaskRunRequestBody","type":"object","properties":{"command":{"type":"array","items":{"type":"string","example":"Ut dolor delectus deleniti ut quaerat."},"description":"Command","example":["rake","db:migrate"]},"cpu":{"type":"integer","description":"Resource CPU value for task","example":256,"format":"int64"},"entrypoint":{"type":"array","items":{"type":"string","example":"Dolore rerum."},"description":"Custom entrypoint for task","example":["/bin/bash","-c"]},"image_tag":{"type":"string","description":"Image Tag","example":"1"},"memory":{"type":"integer","description":"Resource Memory value for task","example":512,"format":"int64"}},"example":{"command":["rake","db:migrate"],"cpu":256,"entrypoint":["/bin/bash","-c"],"image_tag":"1","memory":512}},"Backup":{"title":"Backup","type":"object","properties":{"created_at":{"type":"string","description":"Time the backup was created at","example":"2021-12-20T12:00:00Z"},"id":{"type":"string","description":"Backup ID","example":"2ec5bfbb-a436-4ea7-81b6-08451e7f0419"},"size_bytes":{"type":"integer","description":"Backup File Size","example":1048576,"format":"int64"},"status":{"type":"string","description":"Backup Status","example":"CREATED","enum":["CREATED","CREATING","RESTORING"]}},"example":{"created_at":"2021-12-20T12:00:00Z","id":"2ec5bfbb-a436-4ea7-81b6-08451e7f0419","size_bytes":1048576,"status":"CREATED"},"required":["id","status"]},"BackupDownloadInstance":{"title":"BackupDownloadInstance","type":"object","properties":{"authorized_url":{"type":"string","description":"A preauthorized URL from which the backup can be downloaded","example":"http://localhost:9000/setops-backup-restore-test/rails/production/abc123/database1/2ec5bfbb-a436-4ea7-81b6-08451e7f0419?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=minioadmin%2F20210429%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20210429T115801Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026x-id=GetObject\u0026X-Amz-Signature=c1657b241b415d6229ad5a13cc9891fde990b366fd86f3a15eba6ad056e74523"},"backup":{"$ref":"#/definitions/Backup"},"file_suffix":{"type":"string","description":"The backup file type as file suffix","example":"tar.gz"}},"example":{"authorized_url":"http://localhost:9000/setops-backup-restore-test/rails/production/abc123/database1/2ec5bfbb-a436-4ea7-81b6-08451e7f0419?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=minioadmin%2F20210429%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20210429T115801Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026x-id=GetObject\u0026X-Amz-Signature=c1657b241b415d6229ad5a13cc9891fde990b366fd86f3a15eba6ad056e74523","backup":{"created_at":"2021-12-20T12:00:00Z","id":"2ec5bfbb-a436-4ea7-81b6-08451e7f0419","size_bytes":1048576,"status":"CREATED"},"file_suffix":"tar.gz"},"required":["authorized_url","backup"]},"BackupUploadInstance":{"title":"BackupUploadInstance","type":"object","properties":{"authorized_url":{"type":"string","description":"A preauthorized URL to which the backup can be uploaded","example":"http://localhost:9000/setops-backup-restore-test/rails/production/abc123/database1/08b10bb8-6641-47de-99cb-2a4c5375979a?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=minioadmin%2F20210429%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20210429T115903Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026x-id=PutObject\u0026X-Amz-Signature=3b2b14440be5219a65fcfb1f79ad0cb7fdd9c9db1f70ad44f215c74c532ffe19"},"id":{"type":"string","description":"Backup ID","example":"2ec5bfbb-a436-4ea7-81b6-08451e7f0419"}},"example":{"authorized_url":"http://localhost:9000/setops-backup-restore-test/rails/production/abc123/database1/08b10bb8-6641-47de-99cb-2a4c5375979a?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=minioadmin%2F20210429%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20210429T115903Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026x-id=PutObject\u0026X-Amz-Signature=3b2b14440be5219a65fcfb1f79ad0cb7fdd9c9db1f70ad44f215c74c532ffe19","id":"2ec5bfbb-a436-4ea7-81b6-08451e7f0419"},"required":["id","authorized_url"]},"Config":{"title":"Config","type":"object","properties":{"key":{"type":"string","description":"Config Key","example":"max_running_commits"},"value":{"type":"string","description":"Config Value encoded as JSON","example":"5"}},"example":{"key":"max_running_commits","value":"5"},"required":["key","value"]},"ConfigSetRequestBody":{"title":"ConfigSetRequestBody","type":"object","properties":{"value":{"type":"string","description":"Config Value encoded as JSON","example":"5"}},"example":{"value":"5"},"required":["value"]},"Domain":{"title":"Domain","type":"object","properties":{"domain":{"type":"string","description":"Domain Address","example":"setops.co"},"primary":{"type":"boolean","description":"Domain Primary Mode","example":true},"record":{"$ref":"#/definitions/DomainRecord"},"redirect_to_primary":{"type":"boolean","description":"Whether this domain answers with a redirect to the primary domain","example":false},"static_ips":{"type":"boolean","description":"Domain Static IP Flag","example":false},"validated":{"type":"boolean","description":"Domain Validation Status","example":false},"validation_record":{"$ref":"#/definitions/DomainValidationRecord"}},"example":{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},"required":["domain","primary","static_ips","validated"]},"DomainListResult":{"title":"DomainListResult","type":"object","properties":{"custom_domains":{"type":"array","items":{"$ref":"#/definitions/Domain"},"description":"Custom Domains","example":[{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}}]},"default_domain":{"$ref":"#/definitions/Domain"},"private_domain":{"$ref":"#/definitions/Domain"}},"example":{"custom_domains":[{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}}],"default_domain":{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},"private_domain":{"domain":"setops.co","primary":true,"record":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"redirect_to_primary":false,"static_ips":false,"validated":false,"validation_record":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}}},"required":["default_domain","private_domain"]},"DomainRecord":{"title":"DomainRecord","type":"object","properties":{"alternative_type":{"type":"string","description":"A","example":"CNAME"},"alternative_value":{"type":"string","description":"Alternative Domain Resource Record Value","example":"1.2.3.4,4.3.2.1"},"domain":{"type":"string","description":"Domain","example":"_bf54355ea06621c5c64f2c39af899101.setops.co."},"type":{"type":"string","description":"Domain Resource Record Type","example":"CNAME"},"value":{"type":"string","description":"Domain Resource Record Value","example":"web.production.rails.demo.setopsapps.co"}},"example":{"alternative_type":"CNAME","alternative_value":"1.2.3.4,4.3.2.1","domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"web.production.rails.demo.setopsapps.co"},"required":["domain","type","value"]},"DomainValidationRecord":{"title":"DomainValidationRecord","type":"object","properties":{"domain":{"type":"string","description":"Domain","example":"_bf54355ea06621c5c64f2c39af899101.setops.co."},"type":{"type":"string","description":"Domain Record Type","example":"CNAME"},"value":{"type":"string","description":"Domain Record Value","example":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."}},"example":{"domain":"_bf54355ea06621c5c64f2c39af899101.setops.co.","type":"CNAME","value":"_5a892a6631c5d51bc87519faa60b8624.duyqrilejt.acm-validations.aws."},"required":["domain","type","value"]},"Image":{"title":"Image","type":"object","properties":{"digest":{"type":"string","example":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac"},"pushed_at":{"type":"string","example":"2021-12-20T12:00:00Z"},"size":{"type":"integer","description":"Size of the image in bytes","example":63829304,"format":"int64"},"tags":{"type":"array","items":{"type":"string","example":"Repudiandae sapiente repellendus."},"example":["my-tag"]}},"example":{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},"required":["pushed_at","digest","size"]},"ListImageResult":{"title":"ListImageResult","type":"object","properties":{"images":{"type":"array","items":{"$ref":"#/definitions/Image"},"example":[{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]}]}},"example":{"images":[{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]},{"digest":"sha256:dc23be6167e1d2691efa3e615dbac2289822bb6d9bd01b8feb8ef1a98a9419ac","pushed_at":"2021-12-20T12:00:00Z","size":63829304,"tags":["my-tag"]}]},"required":["images"]},"ListTasksAppStatus":{"title":"ListTasksAppStatus","type":"object","properties":{"desired_count":{"type":"integer","description":"Desired App Instance Count","example":2,"format":"int32"},"pending_count":{"type":"integer","description":"Pending App Instance Count","example":0,"format":"int32"},"running_count":{"type":"integer","description":"Running App Instance Count","example":2,"format":"int32"},"tasks":{"type":"array","items":{"$ref":"#/definitions/Task"},"description":"App Tasks","example":[{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"}]}},"example":{"desired_count":2,"pending_count":0,"running_count":2,"tasks":[{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"}]},"required":["desired_count","pending_count","running_count"]},"ListTasksResult":{"title":"ListTasksResult","type":"object","properties":{"app_tasks":{"$ref":"#/definitions/ListTasksAppStatus"},"one_off_tasks":{"type":"array","items":{"$ref":"#/definitions/Task"},"example":[{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"}]}},"example":{"app_tasks":{"desired_count":2,"pending_count":0,"running_count":2,"tasks":[{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"}]},"one_off_tasks":[{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"},{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"In sed quidem.","type":"app"}]},"required":["app_tasks","one_off_tasks"]},"Organization":{"title":"Mediatype identifier: application/vnd.organization; view=default","type":"object","properties":{"created_at":{"type":"string","description":"Session create timestamp (format: RFC3339, time zone: UTC)","example":"2021-12-20T12:00:00Z"},"name":{"type":"string","description":"Name","example":"demo"},"status":{"type":"string","description":"Status of the provisioning","example":"pending","enum":["pending","provisioning","ready","drift","error"]}},"description":"CreateResponseBody result type (default view)","example":{"created_at":"2021-12-20T12:00:00Z","name":"demo","status":"pending"},"required":["name","created_at","status"]},"OrganizationCreateRequestBody":{"title":"OrganizationCreateRequestBody","type":"object","properties":{"allow_user_creation_with_invite":{"type":"boolean","description":"Allow users to invite non existing users","example":true},"assume_role_arn":{"type":"string","description":"Assume role ARN","example":"arn:aws:::123456789012:foo/bar"},"organization_name":{"type":"string","description":"Name","example":"demo"},"use_limits":{"type":"boolean","description":"Use limits","example":false},"use_service_limits":{"type":"boolean","description":"Use limits","example":false}},"example":{"allow_user_creation_with_invite":true,"assume_role_arn":"arn:aws:::123456789012:foo/bar","organization_name":"demo","use_limits":false,"use_service_limits":false},"required":["organization_name","allow_user_creation_with_invite","use_limits","use_service_limits","assume_role_arn"]},"OrganizationDestroyRequestBody":{"title":"OrganizationDestroyRequestBody","type":"object","properties":{"organization_name":{"type":"string","description":"Name","example":"demo"}},"example":{"organization_name":"demo"},"required":["organization_name"]},"OrganizationUserInviteRequestBody":{"title":"OrganizationUserInviteRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"Role of user for the Stage","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"OrganizationUserRemoveRequestBody":{"title":"OrganizationUserRemoveRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"}},"example":{"email":"captain.kirk@setops.co"},"required":["email"]},"Project":{"title":"Mediatype identifier: application/vnd.project; view=default","type":"object","properties":{"created_at":{"type":"string","description":"Session create timestamp (format: RFC3339, time zone: UTC)","example":"2021-12-20T12:00:00Z"},"name":{"type":"string","description":"Name","example":"rails"}},"description":"CreateResponseBody result type (default view)","example":{"created_at":"2021-12-20T12:00:00Z","name":"rails"},"required":["name","created_at"]},"ProjectCreateRequestBody":{"title":"ProjectCreateRequestBody","type":"object","properties":{"project_name":{"type":"string","description":"Name","example":"rails"}},"example":{"project_name":"rails"},"required":["project_name"]},"ProjectUserInviteRequestBody":{"title":"ProjectUserInviteRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"Role of user for the Stage","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"ProjectUserRemoveRequestBody":{"title":"ProjectUserRemoveRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"}},"example":{"email":"captain.kirk@setops.co"},"required":["email"]},"Secret":{"title":"Mediatype identifier: application/vnd.secret; view=default","type":"object","properties":{"name":{"type":"string","description":"Name","example":"production"},"value":{"type":"string","description":"Secret Value","example":"my-secret-key"}},"description":"SecretResponse result type (default view)","example":{"name":"production","value":"my-secret-key"},"required":["name","value"]},"ServiceError":{"title":"Mediatype identifier: application/vnd.service.error; view=default","type":"object","properties":{"code":{"type":"string","description":"Error-Code","example":"CredentialsInvalid"},"doc_url":{"type":"string","description":"URL referencing to the documentation for this error","example":"https://docs.setops.co"},"message":{"type":"string","description":"A human-readable error description","example":"timeout exceeded"},"request_id":{"type":"string","description":"The unique ID of the request that caused this error","example":"0123456789abcdef"},"temporary":{"type":"boolean","description":"True indicates a temporary error","example":true},"type":{"type":"string","description":"Error-Type","example":"AuthenticationError"},"validation_errors":{"type":"object","description":"The keys correspond to request payload field names. The values are arrays of validator names. Validation errors can be used to provide rich error messages to the user.","example":{"username":["taken"]},"additionalProperties":{"type":"array","items":{"type":"string","example":"Molestias dolorem."},"example":["Blanditiis qui minima optio.","Molestiae adipisci.","Repellendus facere inventore officia a."]}}},"description":"image_list_OrganizationDoesNotExist_response_body result type (default view)","example":{"code":"CredentialsInvalid","doc_url":"https://docs.setops.co","message":"timeout exceeded","request_id":"0123456789abcdef","temporary":true,"type":"AuthenticationError","validation_errors":{"username":["taken"]}},"required":["type","code","temporary"]},"Stage":{"title":"Mediatype identifier: application/vnd.stage; view=default","type":"object","properties":{"commit":{"$ref":"#/definitions/StageCommitResponseBody"},"created_at":{"type":"string","description":"Session create timestamp (format: RFC3339, time zone: UTC)","example":"2021-12-20T12:00:00Z"},"definition":{"type":"string","description":"The stage's current definition","example":"Aut aliquam tenetur sed reiciendis."},"image_tags":{"type":"object","description":"The image tags which are active for apps","example":{"my-app":"v1.0.0"},"additionalProperties":{"type":"string","example":"Vero sit."}},"name":{"type":"string","description":"Name","example":"production"}},"description":"CreateResponseBody result type (default view)","example":{"commit":{"progress_url":"Porro nemo.","type":"Iste id."},"created_at":"2021-12-20T12:00:00Z","definition":"Consequatur accusantium recusandae rerum.","image_tags":{"my-app":"v1.0.0"},"name":"production"},"required":["name","created_at"]},"StageApplyRequestBody":{"title":"StageApplyRequestBody","type":"object","properties":{"definition":{"type":"string","description":"Definition","example":"{\"apps\": {}, \"stage\": \"production\", \"project\": \"rails\", \"services\": {}, \"notifications\": {}, \"schema_version\": \"2\"}"},"image_tags":{"type":"object","description":"The image tags which should be used for the given apps","example":{"my-app":"v1.0.0"},"additionalProperties":{"type":"string","example":"Nisi omnis fugit."}}},"example":{"definition":"{\"apps\": {}, \"stage\": \"production\", \"project\": \"rails\", \"services\": {}, \"notifications\": {}, \"schema_version\": \"2\"}","image_tags":{"my-app":"v1.0.0"}}},"StageCommitResponseBody":{"title":"Mediatype identifier: application/vnd.stage-commit; view=default","type":"object","properties":{"progress_url":{"type":"string","description":"URL of a websocket endpoint which streams the commit progress for this stage","example":"Nulla sit delectus cum."},"type":{"type":"string","description":"Type of the commit, e.g. 'apply' or 'destroy'","example":"Ea omnis laboriosam."}},"description":"Stage-CommitResponseBody result type (default view)","example":{"progress_url":"Optio et cumque consequatur ut.","type":"Sit id."},"required":["progress_url","type"]},"StageCreateRequestBody":{"title":"StageCreateRequestBody","type":"object","properties":{"stage_name":{"type":"string","description":"Stage Name","example":"production"}},"example":{"stage_name":"production"},"required":["stage_name"]},"StageSecretCreateRequestBody":{"title":"StageSecretCreateRequestBody","type":"object","properties":{"value":{"type":"string","description":"Value of the secret","example":"my-secret-string"}},"example":{"value":"my-secret-string"},"required":["value"]},"StageUserInviteRequestBody":{"title":"StageUserInviteRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"Role of user for the Stage","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"StageUserRemoveRequestBody":{"title":"StageUserRemoveRequestBody","type":"object","properties":{"email":{"type":"string","description":"Email address of user to invite","example":"captain.kirk@setops.co"}},"example":{"email":"captain.kirk@setops.co"},"required":["email"]},"Task":{"title":"Task","type":"object","properties":{"command":{"type":"array","items":{"type":"string","example":"Saepe rerum totam temporibus eos."},"description":"Task Command","example":["rake","db:migrate"]},"entrypoint":{"type":"array","items":{"type":"string","example":"Vitae iure quia sit."},"description":"Task Entrypoint","example":["/bin/bash","-c"]},"health_status":{"type":"string","description":"App Task Health Status","example":"UNKNOWN","enum":["HEALTHY","UNHEALTHY","UNKNOWN"]},"id":{"type":"string","description":"Task ID","example":"b6dd53c777784d2180ada3324d964fe3"},"image_tag":{"type":"string","description":"Image Tag","example":"v1.0.0"},"last_status":{"type":"string","description":"App Task Last Status","example":"STOPPED"},"resources":{"$ref":"#/definitions/TaskResources"},"started_at":{"type":"string","description":"App Task Start Timestamp","example":"2021-12-20T11:50:00Z"},"stopped_at":{"type":"string","description":"App Task Stop Timestamp","example":"2021-12-20T11:55:00Z"},"task_url":{"type":"string","description":"URL of the websocket endpoint which provides the tasks output","example":"Esse nihil veritatis."},"type":{"type":"string","description":"Task Type","example":"app","enum":["app","one-off"]}},"example":{"command":["rake","db:migrate"],"entrypoint":["/bin/bash","-c"],"health_status":"UNKNOWN","id":"b6dd53c777784d2180ada3324d964fe3","image_tag":"v1.0.0","last_status":"STOPPED","resources":{"cpu":128,"memory":512},"started_at":"2021-12-20T11:50:00Z","stopped_at":"2021-12-20T11:55:00Z","task_url":"Error recusandae amet quod pariatur.","type":"app"},"required":["id","resources"]},"TaskAttachment":{"title":"TaskAttachment","type":"object","properties":{"ssm_instance_id":{"type":"string","description":"SSM Instance ID required for connecting to the session","example":"ecs:cluster1_3c5d306ef08a4a6f8882bd81273e2008_e330b3fef475ffb9e4dd41cda2b0590f9b70cc0123555730f7a98b6a87b3b4ac"},"ssm_region":{"type":"string","description":"AWS Region for the SSM session","example":"eu-central-1"},"ssm_session_id":{"type":"string","description":"The ID of the SSM execute command session","example":"ecs-execute-command-00d8b491f02d96ce6"},"ssm_stream_url":{"type":"string","description":"A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container","example":"wss://ssmmessages.eu-central-1.amazonaws.com/v1/data-channel/ecs-execute-command-00d8b491f02d96ce6?"},"ssm_token_value":{"type":"string","description":"An encrypted token value containing session and caller information. Used to authenticate the connection to the container","example":"AAEAAadGCNylX4zuTKbkWqkeUwCs1JF..."},"task_id":{"type":"string","description":"Task ID","example":"b6dd53c777784d2180ada3324d964fe3"}},"example":{"ssm_instance_id":"ecs:cluster1_3c5d306ef08a4a6f8882bd81273e2008_e330b3fef475ffb9e4dd41cda2b0590f9b70cc0123555730f7a98b6a87b3b4ac","ssm_region":"eu-central-1","ssm_session_id":"ecs-execute-command-00d8b491f02d96ce6","ssm_stream_url":"wss://ssmmessages.eu-central-1.amazonaws.com/v1/data-channel/ecs-execute-command-00d8b491f02d96ce6?","ssm_token_value":"AAEAAadGCNylX4zuTKbkWqkeUwCs1JF...","task_id":"b6dd53c777784d2180ada3324d964fe3"},"required":["task_id","ssm_session_id","ssm_stream_url","ssm_token_value","ssm_instance_id","ssm_region"]},"TaskResources":{"title":"TaskResources","type":"object","properties":{"cpu":{"type":"integer","description":"Resource CPU","example":128,"format":"int64"},"memory":{"type":"integer","description":"Resource Memory","example":512,"format":"int64"}},"example":{"cpu":128,"memory":512},"required":["cpu","memory"]},"UserAuthorizedForOrganization":{"title":"UserAuthorizedForOrganization","type":"object","properties":{"email":{"type":"string","description":"User Email","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"User Role","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"UserAuthorizedForProject":{"title":"UserAuthorizedForProject","type":"object","properties":{"email":{"type":"string","description":"User Email","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"User Role","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"UserAuthorizedForStage":{"title":"UserAuthorizedForStage","type":"object","properties":{"email":{"type":"string","description":"User Email","example":"captain.kirk@setops.co"},"role":{"type":"string","description":"User Role","example":"member","enum":["member","admin"]}},"example":{"email":"captain.kirk@setops.co","role":"member"},"required":["email","role"]},"VersionInfoResponseBody":{"title":"VersionInfoResponseBody","type":"object","properties":{"version":{"type":"string","example":"Placeat quisquam molestiae."}},"example":{"version":"Ipsum et in tenetur."},"required":["version"]}},"securityDefinitions":{"api_key_header_Authorization":{"type":"apiKey","description":"An API token for a valid User session is required for this endpoint","name":"Authorization","in":"header"}}}