/api/rating-thresholds/{id} (PUT)
PUT
/api/rating-thresholds/{id}
const url = 'https://example.com/api/rating-thresholds/1';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"goodEdge":1,"goodConfidence":1,"marginalEdge":1,"marginalConfidence":1,"notes":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/rating-thresholds/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "goodEdge": 1, "goodConfidence": 1, "marginalEdge": 1, "marginalConfidence": 1, "notes": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
integer format: int32
Request Body
Section titled “Request Body ”object
goodEdge
number format: double
goodConfidence
number format: double
marginalEdge
number format: double
marginalConfidence
number format: double
notes
string
Example generated
{ "goodEdge": 1, "goodConfidence": 1, "marginalEdge": 1, "marginalConfidence": 1, "notes": "example"}object
goodEdge
number format: double
goodConfidence
number format: double
marginalEdge
number format: double
marginalConfidence
number format: double
notes
string
Example generated
{ "goodEdge": 1, "goodConfidence": 1, "marginalEdge": 1, "marginalConfidence": 1, "notes": "example"}object
goodEdge
number format: double
goodConfidence
number format: double
marginalEdge
number format: double
marginalConfidence
number format: double
notes
string
Example generated
{ "goodEdge": 1, "goodConfidence": 1, "marginalEdge": 1, "marginalConfidence": 1, "notes": "example"}Responses
Section titled “ Responses ”OK