Patch a blueprint
PATCH/v1/blueprints/:identifier
This route allows you to patch a specific blueprint in your Port account.
To learn more about blueprints, check out the documentation.
Requestโ
Path Parameters
The identifier of the blueprint you want to patch.
- application/json
Body
Array [
- Number rule
- Date rule
- String rule
- Empty rule
- Relation rule
- Property rule
- Date range
- Date preset
- string
- number
- boolean
- array
- date-time
Array [
]
- string
- number
- boolean
]
- Webhook
- Kafka
The new identifier of the blueprint.
Possible values: <= 30 characters
, Value must match regular expression ^[A-Za-z0-9@_.:\\/=-]+$
The new title of the blueprint.
Possible values: <= 30 characters
The new description of the blueprint.
Possible values: <= 200 characters
The new icon of the blueprint.
teamInheritance
object
A new relation to another blueprint from which to inherit the team. Can be any blueprint connected to this one via any number of relations. path
is the path to the desired blueprint via relations, for example: "relationIdentifier.relationIdentifierInRelatedBlueprint"
The path to the desired blueprint via relations.
schema
object
The new schema of the blueprint, see properties
and required
below for more information.
properties
object
required
The new properties of the blueprint.
property name*
object
Possible values: [string
, number
, boolean
, object
, array
]
Possible values: [date-time
, url
, email
, ipv4
, ipv6
, markdown
, yaml
, user
, team
, timer
, proto
]
Possible values: [open-api
, embedded-url
, async-api
]
The new required properties of the blueprint, these must be provided when creating an entity based on this blueprint. This is an array of the required properties' identifiers.
calculationProperties
object
The new calculation properties of the blueprint.
property name*
object
Possible values: [string
, number
, boolean
, object
, array
]
Possible values: [date-time
, url
, email
, ipv4
, ipv6
, markdown
, yaml
, user
, team
, proto
]
Possible values: [open-api
, embedded-url
, async-api
]
items
object
Possible values: [string
, number
, boolean
, object
, array
]
Possible values: [date-time
, url
, email
, ipv4
, ipv6
, markdown
, yaml
, user
, team
, timer
, proto
]
mirrorProperties
object
The new mirror properties of the blueprint.
property name*
object
Possible values: Value must match regular expression ^(?:[A-Za-z0-9@_=\-]+\.)+?(\w|\$|@|-)*?[^\.]+$
aggregationProperties
object
The new aggregation properties of the blueprint.
property name*
object
Possible values: [number
]
number
calculationSpec
object
required
oneOf
query
object
Possible values: [and
, or
]
rules
object[]
required
anyOf
Possible values: [>
, >=
, <
, <=
]
Possible values: [between
, notBetween
, =
]
value
object
required
oneOf
Possible values: [today
, tomorrow
, yesterday
, lastWeek
, last2Weeks
, lastMonth
, last3Months
, last6Months
, last12Months
]
Possible values: [=
, !=
, containsAny
, contains
, doesNotContain
, beginsWith
, doesNotBeginWith
, endsWith
, doesNotEndWith
, in
, notIn
]
value
object
required
anyOf
string
number
boolean
string
string
Possible values: [isEmpty
, isNotEmpty
]
Possible values: [relatedTo
]
Possible values: [upstream
, downstream
]
propertySchema
object
required
Possible values: [=
, !=
]
value
object
anyOf
string
number
boolean
relations
object
The new relations of the blueprint.
property name*
object
false
false
changelogDestination
object
The destination of the blueprint's changelog.
oneOf
Possible values: [WEBHOOK
]
If true
, Port's execution agent will be used to send the changelog.
The URL of the webhook.
Possible values: [KAFKA
]
Responsesโ
- 200
Default Response