Last updated 1 year ago
GET /api/notes/{id}/ HTTP/1.1 Host: Accept: */*
{ "id": 1, "user": { "id": 1, "username": "text", "first_name": "text", "last_name": "text" }, "attachments": [ { "id": 1, "attachment": "https://example.com", "created": "2025-04-27T15:29:13.106Z", "modified": "2025-04-27T15:29:13.106Z", "note": 1 } ], "key": "123e4567-e89b-12d3-a456-426614174000", "reference_date": "2025-04-27T15:29:13.106Z", "note": "text", "geom": { "type": "GeometryCollection", "coordinates": [ { "type": "Point", "coordinates": [ 12.9721, 77.5933 ] } ] }, "parameters": null, "geometry": null, "created": "2025-04-27T15:29:13.106Z", "modified": "2025-04-27T15:29:13.106Z", "parcel": 1 }
DELETE /api/notes/{id}/ HTTP/1.1 Host: Accept: */*
No response body
No content
GET /api/notes/ HTTP/1.1 Host: Accept: */*
[ { "id": 1, "user": { "id": 1, "username": "text", "first_name": "text", "last_name": "text" }, "attachments": [ { "id": 1, "attachment": "https://example.com", "created": "2025-04-27T15:29:13.106Z", "modified": "2025-04-27T15:29:13.106Z", "note": 1 } ], "key": "123e4567-e89b-12d3-a456-426614174000", "reference_date": "2025-04-27T15:29:13.106Z", "note": "text", "geom": { "type": "GeometryCollection", "coordinates": [ { "type": "Point", "coordinates": [ 12.9721, 77.5933 ] } ] }, "parameters": null, "geometry": null, "created": "2025-04-27T15:29:13.106Z", "modified": "2025-04-27T15:29:13.106Z", "parcel": 1 } ]
POST /api/notes/ HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 334 { "user": { "username": "text", "first_name": "text", "last_name": "text" }, "attachments": [ { "attachment": "https://example.com", "note": 1 } ], "reference_date": "2025-04-27T15:29:13.106Z", "note": "text", "geom": { "type": "GeometryCollection", "coordinates": [ { "type": "Point", "coordinates": [ 12.9721, 77.5933 ] } ] }, "parameters": null, "geometry": null, "parcel": 1 }