Files
stack/releases/sdks/go/docs/pkg/models/operations/runscriptresponse.md
2e03d96084 feat: update speakeasy (#1100)
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: David Ragot <[email protected]>
2024-01-08 18:23:33 +00:00

16 KiB
Raw Permalink Blame History

RunScriptResponse

Fields

Field Type Required Description
ContentType string ✔️ HTTP response content type for this operation
ScriptResponse *shared.ScriptResponse ➖ On success, it will return a 200 status code, and the resulting transaction under the transaction field.

On failure, it will also return a 200 status code, and the following fields:
- details: contains a URL. When there is an error parsing Numscript, the result can be difficult to read—the provided URL will render the error in an easy-to-read format.
- errorCode and error_code (deprecated): contains the string code of the error
- errorMessage and error_message (deprecated): contains a human-readable indication of what went wrong, for example that an account had insufficient funds, or that there was an error in the provided Numscript.
StatusCode int ✔️ HTTP response status code for this operation
RawResponse *http.Response ✔️ Raw HTTP response; suitable for custom response parsing