rogueserver icon indicating copy to clipboard operation
rogueserver copied to clipboard

Added separate endpoints to handle eggs (get, update and delete)

Open GamrayW opened this issue 1 year ago • 1 comments

As discussed on discord, creating the endpoints on the backend to separate save request.

Only the enpoints for the eggs on this PR is implemented: GET /savedata/eggs to retrieve list of the eggs an account has POST /savedata/eggs to update the eggs values POST /savedata/deleteeggs to delete eggs

With those endpoints and the handlers, there's a new table "eggs"

Here's the tests I made, you can replicate by changing the token to an account on your instance: image

GamrayW avatar May 12 '24 20:05 GamrayW

@UpcraftLP could you review it?

slsyy avatar May 15 '24 19:05 slsyy