Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Overview

DescriptionGetting the schema of a table
Resource Path

/analytics/tables/{tableName}/schema

HTTP MethodGET
Request/Response Formatapplication/json
AuthenticationBasic

Parameter description

ParameterDescription
{tableName}Name of the table of which, the schema is required

Example

Code Block
languagepowershell
GET https://localhost:9443/analytics/tables/testtable/schema

Sample output

Code Block
languagetext
{
        "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.