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
GET https://localhost:9443/analytics/tables/testtable/schema
Sample output
{ "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. |