As a developer trying to use the Mapflow API, the following issues in source/api/processing_api.rst would have caused confusion:
-
Empty "Get user status" section (Line ~18)
- Problem: Section header with empty table - no endpoint, no example
- Fixed: Added proper endpoint
GET /rest/user/statuswith description - Impact: Developers couldn't discover available models/workflow definitions
-
Broken "processings/stats" request (Lines ~180-200)
- Problem: JSON request truncated mid-object (
"page": 1,then abruptly ends) - Fixed: Completed the JSON with proper fields and moved to separate section
- Impact: Copy-paste would fail; unclear what fields are required
- Problem: JSON request truncated mid-object (
-
Nested table chaos (Lines ~180-400)
- Problem:
POST /processings/v2endpoint embedded inside the stats table, then cost/v2 embedded inside "Rename project" - Fixed: Properly separated all sections with correct heading levels
- Impact: Impossible to tell where one endpoint ends and another begins
- Problem:
-
Missing closing braces (Line ~458)
- Problem: "Rename project" JSON example missing
} - Fixed: Added closing brace
- Impact: Invalid JSON examples
- Problem: "Rename project" JSON example missing
-
"
βΆοΈ Run the processing" section confusion (Lines ~1145-1170)- Problem: Heading says "Run processing" but shows
GET /processings(list endpoint), then text says "Runs an imagery analysis" - Fixed: Renamed to "Create and run processing (v1)" with proper
POSTendpoint - Impact: Mixed GET (read) with POST (create) semantics - very confusing!
- Problem: Heading says "Run processing" but shows
-
Duplicate v1 endpoints
- Problem: v1 list/get endpoints appeared early in file (lines 30-180) AND again under "Processing API v1" (lines 1000+)
- Fixed: Kept early ones as-is (legacy position), clarified v1 section focuses on create/run
- Impact: Developers unsure which section is canonical
-
Malformed "Processing status" table (Lines ~1510-1550)
- Problem:
AWAITINGhas no description- Random list-table inserted mid-table
CANCELLEDduplicated with different wording
- Fixed: Merged into single clean table, removed duplicate
- Impact: Unclear what each status means
- Problem:
-
"Customize processing" incomplete example (Line ~1180)
- Problem: Shows only
blocksfield, omitting required fields likeprojectId,wdName,geometry - Fixed: Added note "Partial request body example (include this inside the create request above)"
- Impact: Developers might try to POST just
{"blocks": [...]}which would fail
- Problem: Shows only
-
v1/v2 mixing throughout
- Problem: v1 and v2 endpoints interleaved without clear separation
- Fixed: Added clear "Processing API v2" and "Processing API v1" sections
- Impact: Developers unsure which params structure to use
-
Typos
- "desctiptions" β "descriptions"
- "URl" β "URL"
-
Upload images reference (Line ~980)
- Problem: References
:ref:\Create processing`` which doesn't exist as a named anchor - Fixed: Provided explicit v1/v2 param paths instead
- Impact: Broken internal link
- Problem: References
-
Inconsistent heading levels
- Problem: v2 subsections used
^^^^^^(h2) instead of"""""(h3) - Fixed: Aligned all v2 GET endpoints as h3 under v2 h2
- Impact: TOC/navigation broken
- Problem: v2 subsections used
v2 (recommended):
- GET
/rest/user/statusβ discover models - POST
/rest/projectsβ create project - POST
/rest/processings/v2β create & run processing withsourceParams/inferenceParams - GET
/rest/processings/{id}/v2β check status - GET
/rest/processings/{id}/resultβ download results
v1 (legacy):
- Same flow but uses flat
paramsmap instead of nested objects
- No truncated objects
- All required fields present or clearly marked optional
- Proper closing braces
- No tables nested inside other tables
- Clear h2/h3 hierarchy
- v1 and v2 clearly distinguished
- Should v1 be marked deprecated? Currently v1 and v2 co-exist without clear recommendation
- Cost endpoint appears in both v1 and v2 - are both needed?
- "Customize processing" section is under v1 but applies to both - might need its own section
- Reference tables at end assume readers know the difference between v1 flat params and v2 nested params
β Sphinx build succeeded with no errors or warnings after changes.