Sign In Register

How can we help you today?

Start a new topic

REST API extension GET /restv2/game/{apiKey}/config/~scripts to exclude actual script content

As a developer, I would like a way to retrieve information about my cloud code through the REST API without download all scripts with every request.


Extension of the GET /restv2/game/{apiKey}/config/~scripts API endpoint with a new option. 

As it stands now, the endpoint returns all information about a script including the script itself. In many cases the actual script is not required (for example when simply validating the last change date). Adding an optional boolean "full" to the request schema (that defaults to true if omitted) would keep backwards compatibility intact while allowing us to make faster and less data-heavy requests when we are doing simple status checks on our scripts.

Login to post a comment