Skip to content
EventReplayApi.md 6.44 KiB
Newer Older
Simon Pastor's avatar
Simon Pastor committed
All URIs are relative to *http://localhost/sandboxname/sandbox-ctrl/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**createReplayFile**](EventReplayApi.md#createReplayFile) | **POST** /replay/{name} | Add a replay file
[**createReplayFileFromScenarioExec**](EventReplayApi.md#createReplayFileFromScenarioExec) | **POST** /replay/{name}/generate | Generate a replay file from Active Scenario events
[**deleteReplayFile**](EventReplayApi.md#deleteReplayFile) | **DELETE** /replay/{name} | Delete a replay file
[**deleteReplayFileList**](EventReplayApi.md#deleteReplayFileList) | **DELETE** /replay | Delete all replay files
[**getReplayFile**](EventReplayApi.md#getReplayFile) | **GET** /replay/{name} | Get a specific replay file
[**getReplayFileList**](EventReplayApi.md#getReplayFileList) | **GET** /replay | Get all replay file names
[**getReplayStatus**](EventReplayApi.md#getReplayStatus) | **GET** /replaystatus | Get status of replay manager
[**loopReplay**](EventReplayApi.md#loopReplay) | **POST** /replay/{name}/loop | Loop-Execute a replay file present in the platform store
[**playReplayFile**](EventReplayApi.md#playReplayFile) | **POST** /replay/{name}/play | Execute a replay file present in the platform store
[**stopReplayFile**](EventReplayApi.md#stopReplayFile) | **POST** /replay/{name}/stop | Stop execution of a replay file


<a name="createReplayFile"></a>
# **createReplayFile**
> createReplayFile(name, replay-file)

Add a replay file

    Add a replay file to the platform store

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]
 **replay-file** | [**Replay**](../Models/Replay.md)| Replay-file |

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: Not defined

<a name="createReplayFileFromScenarioExec"></a>
# **createReplayFileFromScenarioExec**
> createReplayFileFromScenarioExec(name, replayInfo)

Generate a replay file from Active Scenario events

    Generate a replay file using events from the latest execution of a scenario

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]
 **replayInfo** | [**ReplayInfo**](../Models/ReplayInfo.md)| Replay information |

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: Not defined

<a name="deleteReplayFile"></a>
# **deleteReplayFile**
> deleteReplayFile(name)

Delete a replay file

    Delete a replay file by name from the platform store

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **name** | **String**| replay file name | [default to null]

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

<a name="deleteReplayFileList"></a>
# **deleteReplayFileList**
> deleteReplayFileList()

Delete all replay files

    Delete all replay files present in the platform store

### Parameters
This endpoint does not need any parameter.

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

<a name="getReplayFile"></a>
# **getReplayFile**
> Replay getReplayFile(name)

Get a specific replay file

    Get a replay file by name from the platform store

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]

### Return type

[**Replay**](../Models/Replay.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

<a name="getReplayFileList"></a>
# **getReplayFileList**
> ReplayFileList getReplayFileList()

Get all replay file names

    Returns a list of all replay files names present in the platform store

### Parameters
This endpoint does not need any parameter.

### Return type

[**ReplayFileList**](../Models/ReplayFileList.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

<a name="getReplayStatus"></a>
# **getReplayStatus**
> ReplayStatus getReplayStatus()

Get status of replay manager

    Returns status information on the replay manager

### Parameters
This endpoint does not need any parameter.

### Return type

[**ReplayStatus**](../Models/ReplayStatus.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

<a name="loopReplay"></a>
# **loopReplay**
> loopReplay(name)

Loop-Execute a replay file present in the platform store

    Loop-Execute a replay file present in the platform store

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

<a name="playReplayFile"></a>
# **playReplayFile**
> playReplayFile(name)

Execute a replay file present in the platform store

    Execute a replay file present in the platform store

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

<a name="stopReplayFile"></a>
# **stopReplayFile**
> stopReplayFile(name)

Stop execution of a replay file

    Stop execution a replay file

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
Kevin Di Lallo's avatar
Kevin Di Lallo committed
 **name** | **String**| replay file name | [default to null]

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined