Skip to content

NGIOResponse

Defined in: newgrounds.d.ts:73

Contains all return output from an API request.

Type Parameter
D extends object
Property Type Description Defined in
api_version? string If there was an error, this will contain the current version number of the API gateway. newgrounds.d.ts:75
app_id string Your application’s unique ID. newgrounds.d.ts:77
debug? NGDebug Contains extra information you may need when debugging (debug mode only). newgrounds.d.ts:79
echo? any If you passed an ‘echo’ value in your request object, it will be echoed here. newgrounds.d.ts:81
error? NGError This will contain any error info if the success property is false. newgrounds.d.ts:83
help_url? string If there was an error, this will contain the URL for our help docs. newgrounds.d.ts:85
result Result<D> This will be a Result object, or an array containing one-or-more Result objects. newgrounds.d.ts:87
success boolean If false, there was a problem with your ‘request’ object. Details will be in the error property. newgrounds.d.ts:89