Data sets
Data sets are part of the catalog in Qlik Cloud. A data set is a member of a data asset.
Endpoints
Creates and saves a new data set in the catalog.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
-
-
- technicalName stringRequired
- appTypeOverride string
Optional override of DataAsset appType.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
Responses
201
Created new data set successfully.
- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- tenantId string
The value is automatically set by the application. User defined value is ignored.
- createdBy string
The value is automatically set by the application. User defined value is ignored.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- createdTime string
The value is automatically set by the application. User defined value is ignored.
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- name string
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
- name string
- type string
-
-
- technicalName stringRequired
- lastModifiedBy string
The value is automatically set by the application. User defined value is ignored.
- appTypeOverride string
Optional override of DataAsset appType.
- lastModifiedTime string
The value is automatically set by the application. User defined value is ignored.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
400
The request is in incorrect format. Also returned when field aliases are not unique within a schema or conflict with another field's name.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.createDataSet({ additionalSchemas: [ { anomalies: ['string'], dataFields: [ { alias: 'string', dataType: { originalType: 'string', properties: {}, type: 'DATE', }, description: 'string', encrypted: true, name: 'string', nullable: true, ordinalPositionInKey: 42, orphan: true, primaryKey: true, properties: {}, sensitive: true, tags: ['string'], userTags: [ { id: 'string', name: 'string' }, ], }, ], loadOptions: {}, overrideSchemaAnomalies: true, schemaName: 'string', }, ], appTypeOverride: 'string', createdByConnectionId: 'string', dataAssetInfo: { dataStoreInfo: { id: 'string' }, id: 'string', }, description: 'string', id: 'string', name: 'string', operational: { contentUpdated: true, endDate: '2018-10-30T07:06:22Z', lastLoadTime: '2018-10-30T07:06:22Z', lastUpdateTime: '2018-10-30T07:06:22Z', location: 'string', logMessage: 'string', rowCount: 42, size: 42, startDate: '2018-10-30T07:06:22Z', status: 'string', tableConnectionInfo: { additionalProperties: {}, selectionScript: 'string', tableName: 'string', }, tableOwner: 'string', }, ownerId: 'string', properties: {}, qri: 'string', schema: { anomalies: ['string'], dataFields: [ { alias: 'string', dataType: { originalType: 'string', properties: {}, type: 'DATE', }, description: 'string', encrypted: true, name: 'string', nullable: true, ordinalPositionInKey: 42, orphan: true, primaryKey: true, properties: {}, sensitive: true, tags: ['string'], userTags: [ { id: 'string', name: 'string' }, ], }, ], loadOptions: {}, overrideSchemaAnomalies: true, schemaName: 'string', }, secureQri: 'string', spaceId: 'string', tags: ['string'], technicalDescription: 'string', technicalName: 'string', type: 'string', version: 42,})qlik data-set create \ --additionalSchemas-dataFields-alias '' \ --additionalSchemas-dataFields-dataType-originalType '' \ --additionalSchemas-dataFields-dataType-type '' \ --additionalSchemas-dataFields-description '' \ --additionalSchemas-dataFields-encrypted \ --additionalSchemas-dataFields-name '' \ --additionalSchemas-dataFields-nullable \ --additionalSchemas-dataFields-ordinalPositionInKey \ --additionalSchemas-dataFields-orphan \ --additionalSchemas-dataFields-primaryKey \ --additionalSchemas-dataFields-sensitive \ --additionalSchemas-dataFields-tags '' \ --additionalSchemas-dataFields-userTags-id '' \ --additionalSchemas-dataFields-userTags-name '' \ --dataAssetInfo-dataStoreInfo-id 'string' \ --dataAssetInfo-id 'string' \ --qri 'string' \ --schema-dataFields-alias '' \ --schema-dataFields-dataType-originalType '' \ --schema-dataFields-dataType-type '' \ --schema-dataFields-description '' \ --schema-dataFields-encrypted \ --schema-dataFields-name '' \ --schema-dataFields-nullable \ --schema-dataFields-ordinalPositionInKey \ --schema-dataFields-orphan \ --schema-dataFields-primaryKey \ --schema-dataFields-sensitive \ --schema-dataFields-tags '' \ --schema-dataFields-userTags-id '' \ --schema-dataFields-userTags-name '' \ --secureQri 'string' \ --technicalName 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"id":"string","qri":"string","name":"string","tags":["string"],"type":"string","schema":{"anomalies":["string"],"dataFields":[{"name":"string","tags":["string"],"alias":"string","orphan":true,"dataType":{"type":"DATE","properties":{},"originalType":"string"},"nullable":true,"userTags":[{"id":"string","name":"string"}],"encrypted":true,"sensitive":true,"primaryKey":true,"properties":{},"description":"string","ordinalPositionInKey":42}],"schemaName":"string","loadOptions":{},"overrideSchemaAnomalies":true},"ownerId":"string","spaceId":"string","version":42,"secureQri":"string","properties":{},"description":"string","operational":{"size":42,"status":"string","endDate":"2018-10-30T07:06:22Z","location":"string","rowCount":42,"startDate":"2018-10-30T07:06:22Z","logMessage":"string","tableOwner":"string","lastLoadTime":"2018-10-30T07:06:22Z","contentUpdated":true,"lastUpdateTime":"2018-10-30T07:06:22Z","tableConnectionInfo":{"tableName":"string","selectionScript":"string","additionalProperties":{}}},"dataAssetInfo":{"id":"string","dataStoreInfo":{"id":"string"}},"technicalName":"string","appTypeOverride":"string","additionalSchemas":[{"anomalies":["string"],"dataFields":[{"name":"string","tags":["string"],"alias":"string","orphan":true,"dataType":{"type":"DATE","properties":{},"originalType":"string"},"nullable":true,"userTags":[{"id":"string","name":"string"}],"encrypted":true,"sensitive":true,"primaryKey":true,"properties":{},"description":"string","ordinalPositionInKey":42}],"schemaName":"string","loadOptions":{},"overrideSchemaAnomalies":true}],"technicalDescription":"string","createdByConnectionId":"string"}'Example Response
{ "id": "string", "qri": "string", "name": "string", "tags": [ "string" ], "type": "string", "schema": { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true }, "ownerId": "string", "spaceId": "string", "version": 42, "tenantId": "string", "createdBy": "string", "secureQri": "string", "properties": {}, "createdTime": "2018-10-30T07:06:22Z", "description": "string", "operational": { "size": 42, "status": "string", "endDate": "2018-10-30T07:06:22Z", "location": "string", "rowCount": 42, "startDate": "2018-10-30T07:06:22Z", "logMessage": "string", "tableOwner": "string", "lastLoadTime": "2018-10-30T07:06:22Z", "contentUpdated": true, "lastUpdateTime": "2018-10-30T07:06:22Z", "tableConnectionInfo": { "tableName": "string", "selectionScript": "string", "additionalProperties": {} } }, "dataAssetInfo": { "id": "string", "name": "string", "dataStoreInfo": { "id": "string", "name": "string", "type": "string" } }, "technicalName": "string", "lastModifiedBy": "string", "appTypeOverride": "string", "lastModifiedTime": "2018-10-30T07:06:22Z", "additionalSchemas": [ { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true } ], "technicalDescription": "string", "createdByConnectionId": "string"}Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/json object
application/json properties
- ids array of strings
-
Responses
204
Deleted data sets.
400
The request is in incorrect format.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.deleteDataSets({ ids: ['string'],})qlik data-set delete-manycurl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets" \-X DELETE \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"ids":["string"]}'Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- projections array of strings
Comma-separated fields to return in the response.
Path Parameters
- data-set-id stringRequired
Responses
200
Successful Operation.
- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- tenantId string
The value is automatically set by the application. User defined value is ignored.
- createdBy string
The value is automatically set by the application. User defined value is ignored.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- createdTime string
The value is automatically set by the application. User defined value is ignored.
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- name string
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
- name string
- type string
-
-
- technicalName stringRequired
- lastModifiedBy string
The value is automatically set by the application. User defined value is ignored.
- appTypeOverride string
Optional override of DataAsset appType.
- lastModifiedTime string
The value is automatically set by the application. User defined value is ignored.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
400
The request is in incorrect format.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.getDataSet('string', {})qlik data-set get 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets/{data-set-id}" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "string", "qri": "string", "name": "string", "tags": [ "string" ], "type": "string", "schema": { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true }, "ownerId": "string", "spaceId": "string", "version": 42, "tenantId": "string", "createdBy": "string", "secureQri": "string", "properties": {}, "createdTime": "2018-10-30T07:06:22Z", "description": "string", "operational": { "size": 42, "status": "string", "endDate": "2018-10-30T07:06:22Z", "location": "string", "rowCount": 42, "startDate": "2018-10-30T07:06:22Z", "logMessage": "string", "tableOwner": "string", "lastLoadTime": "2018-10-30T07:06:22Z", "contentUpdated": true, "lastUpdateTime": "2018-10-30T07:06:22Z", "tableConnectionInfo": { "tableName": "string", "selectionScript": "string", "additionalProperties": {} } }, "dataAssetInfo": { "id": "string", "name": "string", "dataStoreInfo": { "id": "string", "name": "string", "type": "string" } }, "technicalName": "string", "lastModifiedBy": "string", "appTypeOverride": "string", "lastModifiedTime": "2018-10-30T07:06:22Z", "additionalSchemas": [ { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true } ], "technicalDescription": "string", "createdByConnectionId": "string"}Partially updates an existing DataSet by ID using JSON Patch operations (RFC 6902), including ownership attributes.
A user can update any DataSet within a space if they fulfill one of the following conditions:
- Has Can edit permission in a data space.
- Is a Professional user with the Editor or Operator role in a shared space.
- Is a Professional user with the Facilitator or Operator role in a managed space.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Path Parameters
- data-set-id stringRequired
Request Body
Required- application/json array of objects
Array of JSON patch documents as defined by RFC 6902.
application/json properties
- op stringRequired
The operation to be performed.
Can be one of: "add""remove""replace""move""copy""test"
- from string
A JSON Pointer path pointing to the location to move/copy from.
- path stringRequired
A JSON pointer to the property being affected.
- value object
The value to add, replace or test.
-
Responses
200
Patched data set successfully.
- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- tenantId string
The value is automatically set by the application. User defined value is ignored.
- createdBy string
The value is automatically set by the application. User defined value is ignored.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- createdTime string
The value is automatically set by the application. User defined value is ignored.
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- name string
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
- name string
- type string
-
-
- technicalName stringRequired
- lastModifiedBy string
The value is automatically set by the application. User defined value is ignored.
- appTypeOverride string
Optional override of DataAsset appType.
- lastModifiedTime string
The value is automatically set by the application. User defined value is ignored.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
204
Patched data set successfully.
- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- tenantId string
The value is automatically set by the application. User defined value is ignored.
- createdBy string
The value is automatically set by the application. User defined value is ignored.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- createdTime string
The value is automatically set by the application. User defined value is ignored.
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- name string
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
- name string
- type string
-
-
- technicalName stringRequired
- lastModifiedBy string
The value is automatically set by the application. User defined value is ignored.
- appTypeOverride string
Optional override of DataAsset appType.
- lastModifiedTime string
The value is automatically set by the application. User defined value is ignored.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
400
The request is in incorrect format. Also returned when field aliases are not unique within a schema or conflict with another field's name.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.patchDataSet('string', [ { from: 'string', op: 'add', path: 'string', value: {}, },])qlik data-set patch 'string' \ --op 'add' \ --path 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets/{data-set-id}" \-X PATCH \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '[{"op":"add","from":"string","path":"string","value":{}}]'Example Response
{ "id": "string", "qri": "string", "name": "string", "tags": [ "string" ], "type": "string", "schema": { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true }, "ownerId": "string", "spaceId": "string", "version": 42, "tenantId": "string", "createdBy": "string", "secureQri": "string", "properties": {}, "createdTime": "2018-10-30T07:06:22Z", "description": "string", "operational": { "size": 42, "status": "string", "endDate": "2018-10-30T07:06:22Z", "location": "string", "rowCount": 42, "startDate": "2018-10-30T07:06:22Z", "logMessage": "string", "tableOwner": "string", "lastLoadTime": "2018-10-30T07:06:22Z", "contentUpdated": true, "lastUpdateTime": "2018-10-30T07:06:22Z", "tableConnectionInfo": { "tableName": "string", "selectionScript": "string", "additionalProperties": {} } }, "dataAssetInfo": { "id": "string", "name": "string", "dataStoreInfo": { "id": "string", "name": "string", "type": "string" } }, "technicalName": "string", "lastModifiedBy": "string", "appTypeOverride": "string", "lastModifiedTime": "2018-10-30T07:06:22Z", "additionalSchemas": [ { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true } ], "technicalDescription": "string", "createdByConnectionId": "string"}Fully replaces an existing DataSet by ID, including ownership attributes.
A user can update any DataSet within a space if they fulfill one of the following conditions:
- Has Can edit permission in a data space.
- Is a Professional user with the Editor or Operator role in a shared space.
- Is a Professional user with the Facilitator or Operator role in a managed space.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Path Parameters
- data-set-id stringRequired
Request Body
Required- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
-
-
- technicalName stringRequired
- appTypeOverride string
Optional override of DataAsset appType.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
Responses
200
Updated data set successfully.
- application/json object
application/json properties
- id string
Only required when updating the resource. Must be null for new resources.
- qri stringRequired
NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles.
- name string
- tags array of strings
- type string
- schema object
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
schema properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- ownerId string
The value is automatically set by the application.
- spaceId string
- version integer
Only required when updating the resource. Must be null for new resources.
- tenantId string
The value is automatically set by the application. User defined value is ignored.
- createdBy string
The value is automatically set by the application. User defined value is ignored.
- secureQri stringRequired
- properties object
A Map of name-value pairs.
additional optional properties
- object object
A Map of name-value pairs.
-
- createdTime string
The value is automatically set by the application. User defined value is ignored.
- description string
- operational object
operational properties
- size integer
- status string
- endDate string
- location string
- rowCount integer
- startDate string
- logMessage string
- tableOwner string
- lastLoadTime string
- contentUpdated boolean
- lastUpdateTime string
- tableConnectionInfo object
tableConnectionInfo properties
- tableName string
- selectionScript string
- additionalProperties object
additional optional properties
- string string
-
-
-
- dataAssetInfo objectRequired
dataAssetInfo properties
- id stringRequired
- name string
- dataStoreInfo object
dataStoreInfo properties
- id stringRequired
- name string
- type string
-
-
- technicalName stringRequired
- lastModifiedBy string
The value is automatically set by the application. User defined value is ignored.
- appTypeOverride string
Optional override of DataAsset appType.
- lastModifiedTime string
The value is automatically set by the application. User defined value is ignored.
- additionalSchemas array of objects
Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
additionalSchemas properties
- anomalies array of strings
Anomalies associated with this schema. Example: $warning-unknown-headers
- dataFields array of objectsRequired
dataFields properties
- name stringRequired
- tags array of strings
An array of system tags
- alias string
Alias of the field. Must be unique within the schema and must not match another field's name. Returns
400if violated. - index integer
- orphan boolean
- dataType objectRequired
dataType properties
- type stringRequired
Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties.
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- properties object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
additional optional properties
- object object
The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined.
-
- originalType string
-
- nullable boolean
- userTags array of objects
An array of user-supplied tags
userTags properties
- id string
The id of the tag in Collections
- name string
-
- encrypted boolean
- sensitive boolean
- primaryKey boolean
- properties object
additional optional properties
- object object
-
- description string
- ordinalPositionInKey integer
-
- schemaName string
- loadOptions object
Options for loading files. Example: "qLabel": "embedded labels"
additional optional properties
- object object
Options for loading files. Example: "qLabel": "embedded labels"
-
- effectiveDate string
- overrideSchemaAnomalies boolean
-
- technicalDescription string
- createdByConnectionId string
The connectionId that created the Dataset. Optional.
-
400
The request is in incorrect format. Also returned when field aliases are not unique within a schema or conflict with another field's name.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.updateDataSet('string', { additionalSchemas: [ { anomalies: ['string'], dataFields: [ { alias: 'string', dataType: { originalType: 'string', properties: {}, type: 'DATE', }, description: 'string', encrypted: true, name: 'string', nullable: true, ordinalPositionInKey: 42, orphan: true, primaryKey: true, properties: {}, sensitive: true, tags: ['string'], userTags: [ { id: 'string', name: 'string' }, ], }, ], loadOptions: {}, overrideSchemaAnomalies: true, schemaName: 'string', }, ], appTypeOverride: 'string', createdByConnectionId: 'string', dataAssetInfo: { dataStoreInfo: { id: 'string' }, id: 'string', }, description: 'string', id: 'string', name: 'string', operational: { contentUpdated: true, endDate: '2018-10-30T07:06:22Z', lastLoadTime: '2018-10-30T07:06:22Z', lastUpdateTime: '2018-10-30T07:06:22Z', location: 'string', logMessage: 'string', rowCount: 42, size: 42, startDate: '2018-10-30T07:06:22Z', status: 'string', tableConnectionInfo: { additionalProperties: {}, selectionScript: 'string', tableName: 'string', }, tableOwner: 'string', }, ownerId: 'string', properties: {}, qri: 'string', schema: { anomalies: ['string'], dataFields: [ { alias: 'string', dataType: { originalType: 'string', properties: {}, type: 'DATE', }, description: 'string', encrypted: true, name: 'string', nullable: true, ordinalPositionInKey: 42, orphan: true, primaryKey: true, properties: {}, sensitive: true, tags: ['string'], userTags: [ { id: 'string', name: 'string' }, ], }, ], loadOptions: {}, overrideSchemaAnomalies: true, schemaName: 'string', }, secureQri: 'string', spaceId: 'string', tags: ['string'], technicalDescription: 'string', technicalName: 'string', type: 'string', version: 42,})qlik data-set update 'string' \ --additionalSchemas-dataFields-alias '' \ --additionalSchemas-dataFields-dataType-originalType '' \ --additionalSchemas-dataFields-dataType-type '' \ --additionalSchemas-dataFields-description '' \ --additionalSchemas-dataFields-encrypted \ --additionalSchemas-dataFields-name '' \ --additionalSchemas-dataFields-nullable \ --additionalSchemas-dataFields-ordinalPositionInKey \ --additionalSchemas-dataFields-orphan \ --additionalSchemas-dataFields-primaryKey \ --additionalSchemas-dataFields-sensitive \ --additionalSchemas-dataFields-tags '' \ --additionalSchemas-dataFields-userTags-id '' \ --additionalSchemas-dataFields-userTags-name '' \ --dataAssetInfo-dataStoreInfo-id 'string' \ --dataAssetInfo-id 'string' \ --qri 'string' \ --schema-dataFields-alias '' \ --schema-dataFields-dataType-originalType '' \ --schema-dataFields-dataType-type '' \ --schema-dataFields-description '' \ --schema-dataFields-encrypted \ --schema-dataFields-name '' \ --schema-dataFields-nullable \ --schema-dataFields-ordinalPositionInKey \ --schema-dataFields-orphan \ --schema-dataFields-primaryKey \ --schema-dataFields-sensitive \ --schema-dataFields-tags '' \ --schema-dataFields-userTags-id '' \ --schema-dataFields-userTags-name '' \ --secureQri 'string' \ --technicalName 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets/{data-set-id}" \-X PUT \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"id":"string","qri":"string","name":"string","tags":["string"],"type":"string","schema":{"anomalies":["string"],"dataFields":[{"name":"string","tags":["string"],"alias":"string","orphan":true,"dataType":{"type":"DATE","properties":{},"originalType":"string"},"nullable":true,"userTags":[{"id":"string","name":"string"}],"encrypted":true,"sensitive":true,"primaryKey":true,"properties":{},"description":"string","ordinalPositionInKey":42}],"schemaName":"string","loadOptions":{},"overrideSchemaAnomalies":true},"ownerId":"string","spaceId":"string","version":42,"secureQri":"string","properties":{},"description":"string","operational":{"size":42,"status":"string","endDate":"2018-10-30T07:06:22Z","location":"string","rowCount":42,"startDate":"2018-10-30T07:06:22Z","logMessage":"string","tableOwner":"string","lastLoadTime":"2018-10-30T07:06:22Z","contentUpdated":true,"lastUpdateTime":"2018-10-30T07:06:22Z","tableConnectionInfo":{"tableName":"string","selectionScript":"string","additionalProperties":{}}},"dataAssetInfo":{"id":"string","dataStoreInfo":{"id":"string"}},"technicalName":"string","appTypeOverride":"string","additionalSchemas":[{"anomalies":["string"],"dataFields":[{"name":"string","tags":["string"],"alias":"string","orphan":true,"dataType":{"type":"DATE","properties":{},"originalType":"string"},"nullable":true,"userTags":[{"id":"string","name":"string"}],"encrypted":true,"sensitive":true,"primaryKey":true,"properties":{},"description":"string","ordinalPositionInKey":42}],"schemaName":"string","loadOptions":{},"overrideSchemaAnomalies":true}],"technicalDescription":"string","createdByConnectionId":"string"}'Example Response
{ "id": "string", "qri": "string", "name": "string", "tags": [ "string" ], "type": "string", "schema": { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true }, "ownerId": "string", "spaceId": "string", "version": 42, "tenantId": "string", "createdBy": "string", "secureQri": "string", "properties": {}, "createdTime": "2018-10-30T07:06:22Z", "description": "string", "operational": { "size": 42, "status": "string", "endDate": "2018-10-30T07:06:22Z", "location": "string", "rowCount": 42, "startDate": "2018-10-30T07:06:22Z", "logMessage": "string", "tableOwner": "string", "lastLoadTime": "2018-10-30T07:06:22Z", "contentUpdated": true, "lastUpdateTime": "2018-10-30T07:06:22Z", "tableConnectionInfo": { "tableName": "string", "selectionScript": "string", "additionalProperties": {} } }, "dataAssetInfo": { "id": "string", "name": "string", "dataStoreInfo": { "id": "string", "name": "string", "type": "string" } }, "technicalName": "string", "lastModifiedBy": "string", "appTypeOverride": "string", "lastModifiedTime": "2018-10-30T07:06:22Z", "additionalSchemas": [ { "anomalies": [ "string" ], "dataFields": [ { "name": "string", "tags": [ "string" ], "alias": "string", "index": 42, "orphan": true, "dataType": { "type": "DATE", "properties": {}, "originalType": "string" }, "nullable": true, "userTags": [ { "id": "string", "name": "string" } ], "encrypted": true, "sensitive": true, "primaryKey": true, "properties": {}, "description": "string", "ordinalPositionInKey": 42 } ], "schemaName": "string", "loadOptions": {}, "effectiveDate": "2018-10-30T07:06:22Z", "overrideSchemaAnomalies": true } ], "technicalDescription": "string", "createdByConnectionId": "string"}Get profile for the given dataset and connection Id pair, if the profile already exists in the system. Profile returned can be either latest or Stale one based on when it was computed.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- dataConnectionIds array of strings
Comma-separated data connection IDs.
- limit integer
Page size limit.
- page integer
- projections array of strings
Comma-separated fields to return in the response.
- sort array of strings
Path Parameters
- data-set-id stringRequired
Responses
200
Return profiles of data set.
- application/json object
application/json properties
- data array of objects
data properties
- meta object
meta properties
- status string
Can be one of: "QUEUED""RUNNING""FINISHED""FAILED""INCOMPLETE""CANCELLED""STALE""PARTIAL""DEFERRED"
- messages array of strings
- dataSetId string
- resultType string
Can be one of: "NORMAL""BASIC"
- connectionId string
- lastLoadTime string
- computationEndTime string
- computationStartTime string
-
- samples array of objects
samples properties
- name string
- records array of objects
records properties
- values array of strings
-
- fieldNames array of strings
-
- profiles array of objects
profiles properties
- name string
- sizeInBytes integer
- numberOfRows integer
- fieldProfiles array of objects
fieldProfiles properties
- name string
- tags array of strings
- index integer
- median number
- average number
- dataType string
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- evenness number
- kurtosis number
- skewness number
- fractiles array of numbers
- sampleValues array of strings
- technicalName string
- classification object
classification properties
- pii boolean
- tags array of objects
tags properties
- tag string
- score number
-
- sensitive boolean
- obfuscation string
-
- nullValueCount integer
- textValueCount integer
- zeroValueCount integer
- maxNumericValue number
- maxStringLength integer
- minNumericValue number
- minStringLength integer
- sumStringLength integer
- emptyStringCount integer
- sumNumericValues number
- numericValueCount integer
- standardDeviation number
- distinctValueCount integer
- mostFrequentValues array of objects
mostFrequentValues properties
- value string
- frequency integer
-
- negativeValueCount integer
- positiveValueCount integer
- averageStringLength number
- frequencyDistribution array of objects
frequencyDistribution properties
- binEdge number
- frequency integer
-
- lastSortedStringValue string
- firstSortedStringValue string
- sumSquaredNumericValues number
-
-
-
- page integer
- limit integer
- links object
links properties
- last object
last properties
- href string
-
- next object
next properties
- href string
-
- prev object
prev properties
- href string
-
- self object
self properties
- href string
-
- first object
first properties
- href string
-
-
- pages integer
- total integer
-
202
The profile is currently running.
- application/json object
application/json properties
- data array of objects
data properties
- meta object
meta properties
- status string
Can be one of: "QUEUED""RUNNING""FINISHED""FAILED""INCOMPLETE""CANCELLED""STALE""PARTIAL""DEFERRED"
- messages array of strings
- dataSetId string
- resultType string
Can be one of: "NORMAL""BASIC"
- connectionId string
- lastLoadTime string
- computationEndTime string
- computationStartTime string
-
- samples array of objects
samples properties
- name string
- records array of objects
records properties
- values array of strings
-
- fieldNames array of strings
-
- profiles array of objects
profiles properties
- name string
- sizeInBytes integer
- numberOfRows integer
- fieldProfiles array of objects
fieldProfiles properties
- name string
- tags array of strings
- index integer
- median number
- average number
- dataType string
Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM"
- evenness number
- kurtosis number
- skewness number
- fractiles array of numbers
- sampleValues array of strings
- technicalName string
- classification object
classification properties
- pii boolean
- tags array of objects
tags properties
- tag string
- score number
-
- sensitive boolean
- obfuscation string
-
- nullValueCount integer
- textValueCount integer
- zeroValueCount integer
- maxNumericValue number
- maxStringLength integer
- minNumericValue number
- minStringLength integer
- sumStringLength integer
- emptyStringCount integer
- sumNumericValues number
- numericValueCount integer
- standardDeviation number
- distinctValueCount integer
- mostFrequentValues array of objects
mostFrequentValues properties
- value string
- frequency integer
-
- negativeValueCount integer
- positiveValueCount integer
- averageStringLength number
- frequencyDistribution array of objects
frequencyDistribution properties
- binEdge number
- frequency integer
-
- lastSortedStringValue string
- firstSortedStringValue string
- sumSquaredNumericValues number
-
-
-
- page integer
- limit integer
- links object
links properties
- last object
last properties
- href string
-
- next object
next properties
- href string
-
- prev object
prev properties
- href string
-
- self object
self properties
- href string
-
- first object
first properties
- href string
-
-
- pages integer
- total integer
-
400
The request is in incorrect format.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
401
User does not have valid authentication credentials.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
403
User does not have access to the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
404
Resource does not exist.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
409
The input request conflicts with the current state of the resource.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
500
Internal Server Error.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
503
Requested service is not available.
- application/json object
application/json properties
- errors array of objects
errors properties
- code string
- title string
- detail string
- status string
-
- traceId string
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataSets.getDataSetProfiles( 'string', {},)qlik data-set profiles 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/data-sets/{data-set-id}/profiles" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "meta": { "status": "QUEUED", "messages": [ "string" ], "dataSetId": "string", "resultType": "NORMAL", "connectionId": "string", "lastLoadTime": "2018-10-30T07:06:22Z", "computationEndTime": "2018-10-30T07:06:22Z", "computationStartTime": "2018-10-30T07:06:22Z" }, "samples": [ { "name": "string", "records": [ { "values": [ "string" ] } ], "fieldNames": [ "string" ] } ], "profiles": [ { "name": "string", "sizeInBytes": 42, "numberOfRows": 42, "fieldProfiles": [ { "name": "string", "tags": [ "string" ], "index": 42, "median": 42, "average": 42, "dataType": "DATE", "evenness": 42, "kurtosis": 42, "skewness": 42, "fractiles": [ 42 ], "sampleValues": [ "string" ], "technicalName": "string", "classification": { "pii": true, "tags": [ { "tag": "string", "score": 42 } ], "sensitive": true, "obfuscation": "string" }, "nullValueCount": 42, "textValueCount": 42, "zeroValueCount": 42, "maxNumericValue": 42, "maxStringLength": 42, "minNumericValue": 42, "minStringLength": 42, "sumStringLength": 42, "emptyStringCount": 42, "sumNumericValues": 42, "numericValueCount": 42, "standardDeviation": 42, "distinctValueCount": 42, "mostFrequentValues": [ { "value": "string", "frequency": 42 } ], "negativeValueCount": 42, "positiveValueCount": 42, "averageStringLength": 42, "frequencyDistribution": [ { "binEdge": 42, "frequency": 42 } ], "lastSortedStringValue": "string", "firstSortedStringValue": "string", "sumSquaredNumericValues": 42 } ] } ] } ], "page": 42, "limit": 42, "links": { "last": { "href": "string" }, "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" }, "first": { "href": "string" } }, "pages": 42, "total": 42}