• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 26152690191

20 May 2026 09:05AM UTC coverage: 82.033% (+1.0%) from 81.081%
26152690191

push

github

web-flow
feat(auth): environment internal endpoint openapi docs DEV-2014 (#6978)

### 📣 Summary
Added `/environment` endpoint to the OpenAPI docs 

### 📖 Description
Created EnvironmentResponseSerializer (along with SocialAppSerializer
and MetadataFieldSerializer) to explicitly type out all configuration
properties. Added markdown documentation describing what the endpoint
provides. The view get() method was then decorated with @extend_schema
to formally document the endpoint using Kobo's standardized
open_api_200_ok_response format, and added APIV2Versioning so the V2
schema generator picks it up.

### 👀 Preview steps
Go to the API docs and review the generated docs
`http://kf.kobo.local/api/v2/docs/` in the `Configuration` section

---------

Co-authored-by: Rebecca Graber <becca.graber@kobotoolbox.org>

9237 of 12470 branches covered (74.07%)

55 of 55 new or added lines in 2 files covered. (100.0%)

1824 existing lines in 95 files now uncovered.

30544 of 37234 relevant lines covered (82.03%)

5.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.66
/kpi/utils/query_parser/query_parser.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc