PUT an Endpoint

PUT http://localhost:3003/endpoints/{Endpoint_ID}

Add The Endpoint ID for the existing Endpoint Schema you would like to update. This ID is listed in the _id field of the schema. This can be found usign the GET request.

Request Body

{"name"=>"Endpoint Example", "endpoint"=>{"pattern"=>"/example", "method"=>"GET"}, "transformation"=>{"input"=>"JSON", "output"=>"JSON"}, "inputMapping"=>{"constants.example_constant"=>"hello", "constants.new_constant"=>"foo"}, "constants"=>{"example_constant"=>"world!", "new_constant"=>"bar"}}