d0fc0114da66
Restore a test to a previous version
Restores a previous version of a test by creating a new latest version whose content matches the requested version. This is non-destructive: the intervening versions are preserved in the test's version history.
Path parameters
The test invariant or variant ID.
Query parameters
The version number to restore as the new latest version.
Response
The newly created test version mirroring the requested version
Unique identifier
The ID of the user who created this test
Time the test was last updated in epoch milliseconds
The ID of the user who last updated this test
Time the test was created in epoch milliseconds
Serialized graph describing the test's version history. Managed by mabl API only.
Mapping of version tags to version numbers that the tag is currently applied to
The latest numeric version of this test
(deprecated) The ID of the organization that this journey belongs to
Workspace Id
If test is enabled to execute
The display name of the test
Brief description the test
Whether this test is a default test generated for all customers from a template
Array of datatable IDs for datatables that satisfy the parameter requirements of the test
Whether this test should export variables
(deprecated, use versionTags) mapping of source control tags to version numbers the tag is currently applied to
Reference id to this test in another system
Type of test
Where the test lives
Controls whether or not the x-mabl-agent header is sent on requests
available runner sizes
The mobile platform associated with this object
The intent of the test as natural language
Unique identifier of the associated TestCase
Indicates whether this was the latest variant when retrieved
The generation number of this variant
The generation number of the variant that was edited to create this variant (if applicable)
The generation number of the variant that was merged with the previous version to create this variant (if applicable)
Name of the source branch whose version was merged to create this variant (if applicable)
Branch name the test was created on
Description of the change between this variant and the previous variant
Test steps outline, used for manual tests
Array of flow IDs for flows to execute during test
Configuration for specific flow instances
Iteration configurations keyed by flow index (as string)
the API URL associated with the test
the URL used when creating the test version
the id of the credentials used when creating the test version
the id of the application used when creating the test version
the id of the environment used when creating the test version
the id of the DataTable row used when creating the test version
the id of the training session used when creating the test version
the id of the agent session that authored this test version, if any
Time the variant was last updated
ID of the user who last updated the variant
Cloud safe ID representation (e.g. GCP/email/Kubernetes safe)
Object ID for the parent type. Set by system.