Skip to main content
Returns the details of all data entity fields

Authorizations

Authorization
string
header
required

HTTP Basic authentication using global administrator credentials (username and password).

Body

application/vnd.composer.v3+json
type
enum<string>
required

Each of the data entity types corresponds to it’s own definition block:

  • SINGLE_COLLECTION - singleCollection
  • CUSTOM_SQL - customSql
  • INDEX - index
  • UPLOAD - upload
Available options:
SINGLE_COLLECTION,
CUSTOM_SQL,
INDEX,
UPLOAD
id
string

Unique identifier of the source. Must be unique within the source

Maximum string length: 255
Example:

"data_entity_id"

name
string

User visible representation of the source. It must be unique within the source

Maximum string length: 255
Example:

"Data Entity name"

singleCollection
object

Represents regular JDBC table in the database

customSql
object
index
object

Represents Elasticsearch target for the query. It can be single index, multiple indexes or pattern

upload
object

Represents data uploaded using uploads API

nativeFields
object[]

This field is optional and will be calculated automatically based on the table if missing. NOTE: List of native fields is not available for the listing endpoint

forbiddenFeatures
string[]

This field is optional and will be calculated automatically based on the table if missing.

auxiliary
boolean
cacheSettings
object

Defines raw cache settings for data entity

Response

The data entity schema was returned successfully

content
object[]

List of fields detected for the data entity