Table of Contents | ||
---|---|---|
|
Overview
Description | Getting the schema of a table |
Resource Path | /analytics/tables/{tableName}/schema |
HTTP Method | GET |
Request/Response Format | application/json |
Authentication | Basic |
Parameter description
Parameter | Description |
---|---|
{tableName} | Name of the table of which, the schema is required |
Example
Code Block | ||
---|---|---|
| ||
GET https://localhost:9443/analytics/tables/testtable/schema |
Sample output
Code Block | ||
---|---|---|
| ||
{
"columns" : {
"logFile" : {
"type" : "STRING",
"isIndex" : true,
"isScoreParam" : false
},
"weight" : {
"type" : "DOUBLE",
"isIndex" : true,
"isScoreParam" : false
}
},
"primaryKeys" : ["logFile", "logLine"]
} |
REST API response
HTTP status code | 200, 404 For descriptions of the HTTP status codes, see HTTP Status Codes. |