Save a lab instance

Prev Next
Get
/save

The Save command allows you to save a specified lab instance.

Security
API Key
Header parameter nameapi_key

All methods require an API key, which must be obtained from Skillable. This key is used by Skillable to validate your account. The key can be passed as an HTTP request header with the header name "api_key".

Query parameters
labinstanceid
integer (int64) Required

The ID of the lab instance to save.

Example2393049
Responses
200

OK Response.

Example of successfully saving a specified lab instance
{
  "Result": 1,
  "Expires": 1337977153,
  "Status": 1,
  "Error": null
}
object
Result
integer (int32)

Result of the Save command. Possible values are:
0 = Unknown Error
1 = Success
2 = Invalid State

Expires
integer (int32)

When the saved lab will expire (in Unix epoch time).

Status
integer (int32)

Indicates the status of the API request.
0 = Error
1 = Success

Error
string | null

In the event of an error, this will contain a detailed error message.