Domains
Update a schema with given URI.
Changed onUpdates a schema with given URI.
put/domains/{domainId}/schemas/{uri}
Request
- Base URLhttp://metadata.openintegrationhub.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
domainIdstring required
ID of the domain to update schema for
uristring required
URI of the schema to update
Request body
Example request
{
"value": {
"$id": "address",
"required": [
"street_address",
"city",
"state"
],
"properties": {
"street_address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
}
}
}
}Response
successful operation
Example response
{
"data": {
"value": {
"$id": "address",
"required": [
"street_address",
"city",
"state"
],
"properties": {
"street_address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
}
}
}
}
}Changes
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
the endpoint scheme security
BearerAuthwas added to the API - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status
- breaking