You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently on the app when a user requests to open a master game we're using this endpoint: GET /game/export/<id>
The website is opening a new browser window to this url: /import/master/<id>/<color> which does redirect to the regular game url after importing the game if necessary.
If we want to do the same on the application, I'd expect the GET /import/master/<id> endpoint to deal with the import and return the same JSON as in GET /game/export/<id>, if that is possible.
The text was updated successfully, but these errors were encountered:
While I'm at it, it would be also nice to include in the game JSON the date of the master game. Because currently I'm showing the date of the import, which is not the same as the date shown in the explorer.
Original mobile issue: lichess-org/mobile#1008
Currently on the app when a user requests to open a master game we're using this endpoint:
GET /game/export/<id>
The website is opening a new browser window to this url:
/import/master/<id>/<color>
which does redirect to the regular game url after importing the game if necessary.If we want to do the same on the application, I'd expect the
GET /import/master/<id>
endpoint to deal with the import and return the same JSON as inGET /game/export/<id>
, if that is possible.The text was updated successfully, but these errors were encountered: