VocaDB / vocadb

VocaDB is a Vocaloid Database with translated artists, albums, music videos and more.
https://vocadb.net
Other
349 stars 39 forks source link

Incomplete results for api/activityEntries #1766

Open Shiroizu opened 5 months ago

Shiroizu commented 5 months ago

Website (required)

VocaDB

Describe the bug (required)

The activityEntries-api returns 0 for certain combination of entry types & edit events: https://vocadb.net/api/activityEntries?editEvent={x}&entryType={y}&getTotalCount=true&maxResults=1

total count edit event entry type
580360 Created Song
109101 Created Artist
25953 Created Album
4555 Created Tag
6019 Created ReleaseEvent
379 Created SongList
331 Created Venue
0 Created ReleaseEventSeries
826088 Updated Song
134087 Updated Artist
65347 Updated Album
15911 Updated Tag
12706 Updated ReleaseEvent
2601 Updated SongList
304 Updated Venue
0 Updated ReleaseEventSeries
1692 Deleted Song
641 Deleted Artist
0 Deleted Album
0 Deleted Tag
0 Deleted ReleaseEvent
0 Deleted SongList
0 Deleted Venue
0 Deleted ReleaseEventSeries

Additionally, the edit event "Restored" returns 0 for all entry types: https://vocadb.net/api/activityEntries?editEvent=Restored

Expected behavior (optional)

https://vocadb.net/api/activityEntries?entryType=ReleaseEventSeries&getTotalCount=true&maxResults=1 Should return > 0 for totalcount

https://vocadb.net/api/activityEntries?editEvent=Deleted&getTotalCount=true&maxResults=1 Should return > 0 for entry types other than Song, Artist

Checklist (required)

Fill out the checklist. Use strikethroughs or leave fields empty if you don't know or are unable to check/test.