editor icon indicating copy to clipboard operation
editor copied to clipboard

REST API: Support scene name parameter for download endpoint

Open LeXXik opened this issue 2 years ago • 1 comments

Our toolchain is using an API endpoint /api/apps/download to generate a build. The endpoint requires a scene id parameter. Our games setup are done in a way, that sometimes require changing a scene in mid-development, however, the name of the scene would always remain the same.

This is a feature request to allow using a scene name, instead of a scene id for the above endpoint.

LeXXik avatar May 03 '23 10:05 LeXXik

For the short term, if you aren't already, please use the scenes endpoint to get all the scenes and then get the ids from that: https://developer.playcanvas.com/user-manual/api/scene-list/

yaustar avatar May 03 '23 10:05 yaustar