34 Commits

Author SHA1 Message Date
Rev
befed27c20 remove unused param from docstring 2021-10-13 12:39:45 +09:00
Rev
2d56ce3673 add missing response parts 2021-10-13 12:39:16 +09:00
Rev
5d24bfc28d remove unnecessary word 2021-10-13 12:38:58 +09:00
Rev
8f28d3afeb fix getItem method 2021-10-13 12:38:46 +09:00
Rev
7a2cc62eda Merge pull request 'feat: Enhacing caching and more ...' (#1) from shirito/spt-items-api:master into master
Reviewed-on: #1
2021-10-13 02:05:15 +00:00
Mangiang
828f740f4a refacto: Refactor item endpoint 2021-10-12 00:46:13 -04:00
Mangiang
1dc4a5e74d fix: Remove debug data file creation 2021-10-12 00:40:36 -04:00
Mangiang
916f383618 refacto: Refactor search endpoint 2021-10-12 00:40:07 -04:00
Mangiang
f96e6fa7fd chore: remove the data debug file 2021-10-12 00:22:03 -04:00
Mangiang
e5ea4a83e5 fix: Fix items and customization locale merging 2021-10-12 00:21:14 -04:00
Mangiang
fe5daaded8 feat: Adding customization data 2021-10-12 00:06:29 -04:00
Mangiang
7e95c3bf16 chore: Remove items and locale json 2021-10-11 23:47:46 -04:00
Mangiang
4a2404d365 fix: Fix search endpoints 2021-10-11 21:11:22 -04:00
Mangiang
aae9cbac94 fix: Fixing all routes 2021-10-11 19:47:34 -04:00
Mangiang
6db043ce6b feat: add item and locales caching based on Gitea 2021-10-11 17:29:15 -04:00
Rev
b68eac70f9 remove unnecessary nesting 2021-10-11 18:20:28 +09:00
Rev
60aebd6b02 revert removing the locale from the get item by id 2021-10-11 18:20:11 +09:00
Rev
bace58d2c8 add name and shortname to the filter criteria 2021-10-11 18:04:44 +09:00
Rev
c7fd49e553 add the locale to the search result 2021-10-11 17:34:51 +09:00
Rev
5b8f54b138 pass the locale along the item data 2021-10-11 17:26:19 +09:00
Rev
9266f96414 add locale json 2021-10-11 17:25:27 +09:00
Rev
7549f164ae return 204 response if search has empty result 2021-10-11 16:00:49 +09:00
Rev
54565ff4b7 return a collection of values instead of key,value 2021-10-11 16:00:25 +09:00
Rev
b8591bd50b add deployer dependency and its configuration 2021-10-11 09:43:03 +09:00
Rev
f2d685ad48 enable the cors middleware 2021-10-10 16:26:07 +09:00
Rev
8c88914e8b return an error message when item not found instead of empty object 2021-10-10 13:50:49 +09:00
Rev
7cdd4645bd wrap get item with try catch 2021-10-10 13:10:35 +09:00
Rev
826bc13956 add php docstrings for methods 2021-10-10 13:10:18 +09:00
Rev
0fdba8c054 use custom exception instead of the generic one 2021-10-10 13:09:11 +09:00
Rev
a187ae011c convert the query string to lower case 2021-10-10 13:08:50 +09:00
Rev
a2be16fe79 add custom exception for item not found 2021-10-10 13:08:04 +09:00
Rev
4491fe2c99 Update page titles 2021-10-10 13:01:48 +09:00
Rev
50e0977637 update the readme file 2021-10-08 20:53:16 +09:00
Rev
0a9f007eac initial commit 2021-10-08 20:44:34 +09:00