Create or update a reporting unit.
put/reportingUnit
Request
- Base URLhttps://app.chloris.earth/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"organizationId": "12341234-1234-1234-1234-123412341234",
"reportingUnitId": "12341234-1234-1234-1234-123412341234",
"tags": [
"tag1",
"tag2",
"tag3"
],
"resolution": 30,
"periodChangeStartYear": 2000,
"periodChangeEndYear": 2023,
"forestBaselineYear": 2005,
"boundaryPath": "s3://path/to/boundary",
"controlBoundaryPath": "s3://path/to/control/boundary"
}Response
Success
Example response
{
"organizationId": "12341234-1234-1234-1234-123412341234",
"reportingUnitId": "12341234-1234-1234-1234-123412341234",
"branchId": "12341234-1234-1234-1234-123412341234",
"controlReportingUnitId": "12341234-1234-1234-1234-123412341234",
"controlForReportingUnitId": "12341234-1234-1234-1234-123412341234",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"analysisSubmittedAt": "2024-01-01T00:00:00.000Z",
"analysisCompletedAt": "2024-01-01T00:00:00.000Z",
"qualityControlledAt": "2024-01-01T00:00:00.000Z",
"deletedAt": "2024-01-01T00:00:00.000Z",
"refundedAt": "2024-01-01T00:00:00.000Z",
"usersNotifiedAt": "2024-01-01T00:00:00.000Z",
"webhookNotifiedAt": "2024-01-01T00:00:00.000Z",
"periodChangeStartYear": 2020,
"periodChangeEndYear": 2023,
"boundaryPath": "s3://path/to/boundary",
"calibratedTo": "12341234-1234-1234-1234-123412341234",
"calibratedFrom": "12341234-1234-1234-1234-123412341234",
"mangrove": true
}Changes
No recorded changes to this operation across all 1 revision of this API.