Створити набір даних
curl --request POST \
--url https://api.example.com/v1/datasets \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": "<array>",
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
},
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
],
"original": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": "<array>",
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
}
}
'{
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
}Набори даних (Datasets)
Створити набір даних
Створює новий набір даних (або дублює існуючий).
POST
/
v1
/
datasets
Створити набір даних
curl --request POST \
--url https://api.example.com/v1/datasets \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": "<array>",
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
},
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
],
"original": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": "<array>",
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
}
}
'{
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": true,
"isPlural": true,
"isSortable": true,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": true,
"isRequired": true,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": true,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": true,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://developer.tra.cy/llms.txt
Use this file to discover all available pages before exploring further.
Тіло
application/json-patch+jsonapplication/jsontext/jsonapplication/*+json
⌘I