Create Service

POST {{baseUrl}}/v1/services?dry_run=true

Request Params

KeyDatatypeRequiredDescription
dry_runbooleanIf set only run validation.

Request Body

{"app_id"=>"ad laborum magna", "definition"=>{"name"=>"Excepteur dolor occaecat", "routes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "ports"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "env"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "regions"=>["incididunt deserunt ut fugiat", "nisi reprehenderit elit"], "scalings"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instance_types"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "docker"=>{"image"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "args"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "image_registry_secret"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "git"=>{"repository"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "branch"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tag"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sha"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "build_command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "run_command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "no_deploy_on_push"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;&quot;