Public Access
feat(library): add IGDB editions, game links and auditor queue
Tables game_edition (IGDB "same game" id per library key), game_link (global sets set by auditors), game_link_pair (queue of IGDB and requested pairs), game_link_request and account_name. Fetch IGDB editions, link and unlink with audit rows, serve the paged auditor queue with request counts. WireMock recordings for the editions query.
This commit is contained in:
1 parent
a12ed20705
commit
e806670d26
43 files changed
+1877
-22
No files matched your search
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"id": 72
|
||||
},
|
||||
{
|
||||
"id": 113112
|
||||
},
|
||||
{
|
||||
"id": 17000
|
||||
},
|
||||
{
|
||||
"id": 7046
|
||||
},
|
||||
{
|
||||
"id": 26226
|
||||
},
|
||||
{
|
||||
"id": 14593
|
||||
},
|
||||
{
|
||||
"id": 233
|
||||
},
|
||||
{
|
||||
"id": 133236
|
||||
},
|
||||
{
|
||||
"id": 119388
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"id": 14593,
|
||||
"name": "Hollow Knight",
|
||||
"first_release_date": 1487980800,
|
||||
"cover": {
|
||||
"image_id": "co1r7f"
|
||||
},
|
||||
"platforms": [
|
||||
{
|
||||
"name": "PlayStation 5",
|
||||
"abbreviation": "PS5"
|
||||
}
|
||||
],
|
||||
"total_rating_count": 1100
|
||||
}
|
||||
]
|
||||
@@ -63,5 +63,20 @@
|
||||
"uid": "504230"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14593,
|
||||
"name": "Hollow Knight",
|
||||
"first_release_date": 1487980800,
|
||||
"cover": {
|
||||
"image_id": "co1r7f"
|
||||
},
|
||||
"platforms": [
|
||||
{
|
||||
"name": "PlayStation 5",
|
||||
"abbreviation": "PS5"
|
||||
}
|
||||
],
|
||||
"total_rating_count": 1100
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"urlPath": "/igdb/games",
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"contains": "fields version_parent"
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
"bodyFileName": "igdb-editions.json"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"urlPath": "/igdb/games",
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"contains": "where id = 14593;"
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
"bodyFileName": "igdb-game-14593.json"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user