rfcx / rfcx-api

Core, Media/Assets and MQTT APIs
https://api.rfcx.org/docs/
Apache License 2.0
0 stars 0 forks source link

Change `unvalidated` to `unreviewed` and edit `GET /classifier-job/:id/summary` `sort` param #576

Closed Tooseriuz closed 6 months ago

Tooseriuz commented 6 months ago

✅ DoD

(use na when API docs (Release notes, etc) do not need to be updated)

📝 Summary

{
    "classificationsSummary": [
        {
            "value": "gunshot",
            "title": "Gunshot, gunfire",
            "image": null,
            "total": 7,
            "unreviewed": 3,
            "confirmed": 2,
            "rejected": 1,
            "uncertain": 1
        },
        {
            "value": "live",
            "title": "Live",
            "image": null,
            "total": 20,
            "unreviewed": 2,
            "confirmed": 5,
            "rejected": 6,
            "uncertain": 7
        },
        {
            "value": "animalia",
            "title": "Animalia",
            "image": null,
            "total": 50,
            "unreviewed": 32,
            "confirmed": 4,
            "rejected": 6,
            "uncertain": 8
        },
        {
            "value": "cnidaria",
            "title": "Cnidaria",
            "image": null,
            "total": 30,
            "unreviewed": 1,
            "confirmed": 18,
            "rejected": 2,
            "uncertain": 9
        },
        {
            "value": "anthozoa",
            "title": "Anthozoa",
            "image": null,
            "total": 40,
            "unreviewed": 3,
            "confirmed": 5,
            "rejected": 12,
            "uncertain": 20
        },
        {
            "value": "scleractinia",
            "title": "Scleractinia",
            "image": null,
            "total": 60,
            "unreviewed": 8,
            "confirmed": 40,
            "rejected": 2,
            "uncertain": 10
        }
    ]
}
{
    "reviewStatus": {
        "total": 207,
        "unreviewed": 49,
        "confirmed": 74,
        "rejected": 29,
        "uncertain": 55
    }
}