GET api/Operations?controller={controller}
Gets a list of available operations along with the product version
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
controller |
The name of the controller to filter the operations by (optional) |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of the available operations with associated product version
AvailableOperationsName | Description | Type | Additional information |
---|---|---|---|
ProductVersion |
Gets or sets the DR product version |
string |
None. |
Operations |
gets or sets the available operations |
Collection of OperationDetails |
None. |
Response Formats
application/json, text/json
Sample:
{ "productVersion": "sample string 1", "operations": [ { "operationName": "sample string 1", "apiVersion": "sample string 2" }, { "operationName": "sample string 1", "apiVersion": "sample string 2" } ] }
application/xml, text/xml
Sample:
<AvailableOperations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <Operations> <OperationDetails> <ApiVersion>sample string 2</ApiVersion> <OperationName>sample string 1</OperationName> </OperationDetails> <OperationDetails> <ApiVersion>sample string 2</ApiVersion> <OperationName>sample string 1</OperationName> </OperationDetails> </Operations> <ProductVersion>sample string 1</ProductVersion> </AvailableOperations>