Unknown macro: {next_previous_links}
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 Next »

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

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.

  • No labels