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

kobotoolbox / kpi / 29766524809
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1635-cleanup-legacy-kobocat-kml-logic
DEFAULT BRANCH: master
Ran 20 Jul 2026 06:14PM UTC
Jobs 10
Files 892
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Jul 2026 06:09PM UTC coverage: 81.482% (-0.02%) from 81.497%
29766524809

push

github

web-flow
feat(tags)!: remove tag detail endpoint DEV-2464 DEV-2463 (#7280)

### 📣 Summary

Remove `/api/v2/tags/<tag uid>` detail endpoint from the API.

### 📖 Description

Remove `/api/v2/tags/<tag uid>` detail endpoint from the API. All
information that was available there can be obtained either from the
list endpoint, `/api/v2/tags`, or by querying the asset endpoint, e.g.
`/api/v2/assets/?q=tags__name:<tag name>`. Note that `tags` is plural in
`tags__name`.

### 👷 Description for instance maintainers

The tags detail API was unused by the application and likely unused by
external parties given that it was broken in most cases: whenever a tag
was associated with multiple assets accessible to the current user, a
500 error was returned due to missing `distinct()` on the queryset after
permission joins.

The detail view also provided an `assets` array that started leaking the
URLs of all assets on the server after #5994 was merged.

### 👀 Preview steps

The detail endpoint `/api/v2/tags/<tag uid>` should exist before the
changes in this PR and should not exist after them.

---------

Co-authored-by: Guillermo <lgar89@gmail.com>

9309 of 12655 branches covered (73.56%)

11 of 12 new or added lines in 3 files covered. (91.67%)

26 existing lines in 3 files now uncovered.

30326 of 37218 relevant lines covered (81.48%)

5.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.82
1.82% kpi/serializers/v2/tag.py

Coverage Regressions

Lines Coverage ∆ File
24
74.76
-23.3% kpi/utils/usage_calculator.py
1
72.73
-4.55% kpi/urls/__init__.py
1
83.33
7.47% kpi/views/v2/tag.py
Jobs
ID Job ID Ran Files Coverage
1 29766524809.1 20 Jul 2026 06:14PM UTC 888
44.29
2 29766524809.2 20 Jul 2026 06:14PM UTC 888
49.46
3 29766524809.3 20 Jul 2026 06:14PM UTC 888
52.8
4 29766524809.4 20 Jul 2026 06:15PM UTC 890
54.06
5 29766524809.5 20 Jul 2026 06:17PM UTC 888
58.8
6 29766524809.6 20 Jul 2026 06:17PM UTC 890
50.78
7 29766524809.7 20 Jul 2026 06:17PM UTC 890
45.65
8 29766524809.8 20 Jul 2026 06:18PM UTC 890
66.78
9 29766524809.9 20 Jul 2026 06:19PM UTC 890
59.96
10 29766524809.10 20 Jul 2026 06:22PM UTC 892
69.06
Source Files on build 29766524809
  • Tree
  • List 892
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1dd4342a on github
  • Prev Build on release/2.026.27 (#29752099152)
  • Next Build on release/2.026.27 (#29867541075)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc