feat: Enhacing caching and more ... #1

Merged
Rev merged 10 commits from :master into master 2021-10-12 22:05:16 -04:00
First-time contributor
No description provided.
Ghost added 1 commit 2021-10-11 17:30:09 -04:00
Ghost added 1 commit 2021-10-11 19:47:41 -04:00
Ghost added 1 commit 2021-10-11 21:11:29 -04:00
Ghost changed title from feat: Enhacing caching to feat: Enhacing caching and more ... 2021-10-11 23:46:57 -04:00
Ghost added 1 commit 2021-10-11 23:47:54 -04:00
Ghost added 1 commit 2021-10-12 00:06:36 -04:00
Ghost added 1 commit 2021-10-12 00:21:24 -04:00
Ghost added 1 commit 2021-10-12 00:22:10 -04:00
Ghost added 2 commits 2021-10-12 00:40:43 -04:00
Ghost added 1 commit 2021-10-12 00:46:21 -04:00
Author
First-time contributor

I did refactor all endpoints, because it seemed they would be easier to manage
That way, we have only 4 endpoints:

  • /api/refresh: for refreshing all data. We could split items/locales and even customization if we want.
  • /api/locales: for the locales list (used for the locale dropdown in the web ui)
  • /api/search: for searching but the local is now in the body (but it is still optional)
  • /api/item: for getting a specific item, it uses query params id and local (the locale is still optional)

image

I did refactor all endpoints, because it seemed they would be easier to manage That way, we have only 4 endpoints: * /api/refresh: for refreshing all data. We could split items/locales and even customization if we want. * /api/locales: for the locales list (used for the locale dropdown in the web ui) * /api/search: for searching but the local is now in the body (but it is still **optional**) * /api/item: for getting a specific item, it uses query params `id` and `local` (the locale is still **optional**) ![image](/attachments/be3d15d1-35b0-4e59-9152-8de5c52675d1)
Rev merged commit 7a2cc62eda into master 2021-10-12 22:05:16 -04:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rev/spt-items-api#1
No description provided.