Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Overview

DescriptionRetrieves 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

/analytics/tables/<Table_Name>/persistName

HTTP MethodGET
Request/Responseapplication/json
AuthenticationBasic


Parameter Count

ParameterDescription
<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

curl -H "Content-Type: application/json" -H "Authorization: Basic <Base64encoded(username:password)>=" -v https://<DAS_HOST>:9443/analytics/tables/<Table_Name>/persistName -k


Example

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/analytics/tables/WSO2_TEST_TABLE/persistName -k

Sample output

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.



  • No labels