Change a scorecard
PUT/v1/blueprints/:blueprint_identifier/scorecards/:scorecard_identifier
This route allows you to modify a specific scorecard. A scorecard is a set of rules that define the quality of a blueprint.
To learn more about scorecards, check out the documentation.
Request
Path Parameters
The identifier of the scorecard you want to change.
The identifier of the blueprint whose scorecard you want to change.
- application/json
Body
required
Array [
- MOD1
- Relation comparison
- Property empty condition
- Relation empty condition
- string
- number
- boolean
- string
- number
- boolean
]
Array [
Array [
- Property comparison
- Relation comparison
- Property empty condition
- Relation empty condition
- string
- number
- boolean
- string
- number
- boolean
]
]
Possible values: Value must match regular expression ^[A-Za-z0-9@_.:\\/=-]+$
The new identifier of the scorecard.
The new title of the scorecard.
filter
object
An optional set of conditions to filter entities that will be evaluated by the scorecard.
Possible values: [and
, or
]
conditions
object[]
required
Possible values: >= 1
anyOf
Possible values: [=
, !=
, >
, <
, >=
, <=
, contains
, doesNotContains
, beginsWith
, doesNotBeginsWith
, endsWith
, doesNotEndsWith
]
value
object
required
oneOf
string
number
boolean
Possible values: [=
, !=
, contains
, doesNotContains
, beginsWith
, doesNotBeginsWith
, endsWith
, doesNotEndsWith
]
value
object
required
oneOf
string
number
boolean
Possible values: [isEmpty
, isNotEmpty
]
Possible values: [isEmpty
, isNotEmpty
]
rules
object[]
required
The rules that define the scorecard.
Possible values: Value must match regular expression ^[A-Za-z0-9@_=\\-]+$
The identifier of the rule.
The title of the rule.
A description for the rule.
query
object
required
Possible values: [and
, or
]
conditions
object[]
required
Possible values: >= 1
anyOf
Possible values: [=
, !=
, >
, <
, >=
, <=
, contains
, doesNotContains
, beginsWith
, doesNotBeginsWith
, endsWith
, doesNotEndsWith
]
value
object
required
oneOf
string
number
boolean
Possible values: [=
, !=
, contains
, doesNotContains
, beginsWith
, doesNotBeginsWith
, endsWith
, doesNotEndsWith
]
value
object
required
oneOf
string
number
boolean
Possible values: [isEmpty
, isNotEmpty
]
Possible values: [isEmpty
, isNotEmpty
]
Responses
- 200
Default Response