BoundaryDrafts

Save my boundary draft for a property

Creates or replaces the caller's draft for this property. Only the keys sent change; null clears one. A successful PUT /farms/{id}/boundary by the same person deletes it.

put/farms/{farm_id}/boundary_draft

Request

  • Base URL: https://api.purplegrain.com/api/v1
  • URL: https://api.purplegrain.com/api/v1/farms/{farm_id}/boundary_draft
  • Auth: HTTP bearer

Path parameters

farm_idstring required

Id of the property

Request body

Example request

{
  "data": {
    "location": {
      "label": "Currawarna NSW 2650"
    }
  }
}

Response

The saved draft.

Example response

{
  "data": {
    "location": {
      "label": "Currawarna NSW 2650"
    }
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.