State


Backs up the current state of a Siddhi Application.
POST http://analytics.wso2.com/siddhi-apps/siddhi-apps/{appName}/backup

Backs up the current state of the specified Siddhi Application.

OAuth 2.0 Scope

Not required

Request

POST http://analytics.wso2.com/siddhi-apps/siddhi-apps/{appName}/backup

Response

Not Available

Sample CURL

Not Available

Parameters

Type Name Description Schema Default
Path

appName

required

The name of the Siddhi Application.

String

Responses

HTTP Code Description Schema

200

The state of the Siddhi Application is successfully persisted.

SiddhiAppRevision

404

The Siddhi Application specified is not found.

ApiResponseMessageWithCode

500

An unexpected error occured.

ApiResponseMessageWithCode

Restores the state of a Siddhi Application.
POST http://analytics.wso2.com/siddhi-apps/siddhi-apps/{appName}/restore

Restores the state of the specified Siddhi Application.

OAuth 2.0 Scope

Not required

Request

POST http://analytics.wso2.com/siddhi-apps/siddhi-apps/{appName}/restore

Response

Not Available

Sample CURL

Not Available

Parameters

Type Name Description Schema Default
Path

appName

required

The name of the Siddhi Application.

String

Query

revision

optional

The revision number of the backup.

String

Responses

HTTP Code Description Schema

201

The Siddhi Application is successfully restored.

ApiResponseMessage

409

The Siddhi Application specified is not found.

ApiResponseMessageWithCode

500

An unexpected error occured.

ApiResponseMessageWithCode