BoundaryDrafts

Save my boundary draft for a paddock

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

put/paddocks/{paddock_id}/boundary_draft

Request

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

Path parameters

paddock_idstring required

Id of the paddock

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 1 revision of this API.