patch https://<subdomain>.huvrdata.app/api/projects//scope/
See additional context for how the endpoint is intended to work: https://github.com/huvrdata/huvr/issues/6419#issuecomment-1255116153
- Selected Findings should be READONLY (belonging to PUBLISHED Project)
TODO - move this comment to the GeometryField
swagger / to a helpdoc and link there
GeometryField
swagger / to a helpdoc and link therefor selected_area
, pass a valid "GeoJSON" object
overview of GeoJSON format: https://en.wikipedia.org/wiki/GeoJSON
detailed GeoJSON standards: https://www.rfc-editor.org/rfc/rfc7946
example: {
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0],
[101.0, 0.0],
[101.0, 1.0],
[100.0, 1.0],
[100.0, 0.0]
]
]
}
Pass the shape of the ProjectScope
, but Returns the full project
Required permissions:
- IsAuthenticated
- WorkspaceRequired
- HasRolePermissions::project_create