Properties
Update Property Boundary (deprecated PUT alias)
Changed onAlias of PATCH /properties/{id}/boundary (updatePropertyBoundary); JSON:API updates are PATCH. PUT stays routed for existing clients.
put/properties/{id}/boundary
Request
- Base URLhttps://api.purplegrain.com/api/v1
- URLhttps://api.purplegrain.com/api/v1/properties/{id}/boundary
- AuthHTTP bearer
Path parameters
idstring required
Id of the record
Query parameters
includestring
Example:organization
Comma-separated snake_case relationship paths to embed (JSON:API included array, or inlined for application/json). Never embedded by default; a path outside the allowed list is refused with 400 unknown_include (see the 400 response); max 10 paths. Allowed paths: organization.
Request body
Response
The property with its saved boundary.
Example response
{
"data": {
"type": "property",
"blocks": [
{
"name": "Racecourse block",
"hull": {
"type": "Polygon"
}
}
]
},
"_meta": {
"onboarding": {
"skill": "pg-onboarding@1"
}
}
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info