Table of Contents | ||||
---|---|---|---|---|
|
Overview
Description | Retrieves the name with which the table is persisted. The PERSISTED name is the name is assigned by the system depending on the database type. It is encoded with characters that cannot be read by humans. |
---|---|
Resource Path |
|
HTTP Method | GET |
Request/Response | application/json |
Authentication | Basic |
Parameter Count
Parameter | Description |
---|---|
<Table_Name> | The actual name of the table of which the persist name needs to be retrieved. The actual name is the name of the persisted stream from which the data saved in the table is taken. |
Prerequisites
In order to retrieve the persist name of the table, the table should be alreadycreated in a database.
Sample curl command
Code Block |
---|
curl -H "Content-Type: application/json" -H "Authorization: Basic <Base64encoded(username:password)>=" -v https://<DAS_HOST>:9443/analytics/tables/<Table_Name>/persistName -k |
Example
Code Block |
---|
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/analytics/tables/WSO2_TEST_TABLE/persistName -k |
Sample output
Code Block |
---|
Content-Type: text/plain
ANX___7Lu9rzGE_ |
API response
HTTP status code | 200 or 404 For descriptions of the HTTP status codes, seeĀ HTTP Status Codes. |
---|