Download OpenAPI specification:
CRUD Operation on repositories data
They are used to categorise attributes of a data model. If a category with this id already exists, update it.
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "category_name"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Category UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "category_name"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the category |
Occurs when you try to delete default category.
{- "application": "data-ref",
- "code": "NOT_MODIFIABLE",
- "message": "This is default category id. It can't be deleted"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name required | string or null |
slug | string |
type required | string (Type) |
unit | string or null |
localeFormat | boolean Default: true |
{- "id": "fcc51f53-9295-4caf-968e-873b601763b1",
- "name": "field_code",
- "type": "integer",
- "localeFormat": false
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Field UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "integer",
- "unit": "string",
- "localeFormat": true
}
Deleting a field is only possible if it's not used in a oclass or named query.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the field to delete |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Field UUID |
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name required | string or null |
slug | string |
type required | string (Type) |
unit | string or null |
localeFormat | boolean Default: true |
{- "id": "fcc51f53-9295-4caf-968e-873b601763b1",
- "name": "field_code",
- "type": "integer",
- "localeFormat": false
}
A field can be used in oClasses and named queries.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Field id |
{- "associations": [
- {
- "id": "423b5c01-1816-41d4-b358-100000000005",
- "name": "Station de velos",
- "type": "OCLASS"
}, - {
- "id": "423b5c01-1816-41d4-b358-100000000010",
- "name": "Test named query",
- "type": "NAMED_QUERY"
}
], - "usedElsewhere": false
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
]
An oClass is made up of attributes and is used to define the data model that will be inserted. An attribute belongs to a single class, and can be grouped by category. OClass names must be unique and attributes ids must be unique. All attributes must contain an unique technical name. If class with same id already exists, update it. Note: It's not possible to change fields.
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
storage | string (Storage) Enum: "ELASTIC" "POSTGIS" "KUZZLE" |
icon | string |
Array of objects (AttributeDefWriteDto) | |
slug | string |
Array of objects or null (MetadataValueWriteDto) |
With the "car_id" attribute able to have several values, and "date_accident", "location" and "weather" that belong to same category.
{- "id": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "name": "Accident",
- "icon": "path/to/icon",
- "storage": "ELASTIC",
- "attributes": [
- {
- "id": "7527bd0a-5059-4edd-a053-83189be6a920",
- "name": "date_accident",
- "technicalName": "date_accident",
- "field": "872ff200-b4cc-47e6-a45b-fe3ea9c1ab9f",
- "category": "4270b521-6424-4e86-8a83-44648e72d1a7",
- "multiValued": false,
- "slug": "slug"
}, - {
- "id": "430b3c66-d621-466a-9fa0-1f2e3ae3b15d",
- "name": "location",
- "technicalName": "location",
- "field": "5510a2a9-dcbb-4861-bdb1-f0091a824767",
- "category": "cf666d66-838f-4d92-a4d2-a315df21fac9",
- "multiValued": false,
- "slug": "slug"
}, - {
- "id": "24b31150-5acc-4f13-bf9f-3987abb32ffe",
- "name": "weather",
- "technicalName": "weather",
- "field": "5510a2a9-dcbb-4861-bdb1-f0091a824767",
- "category": "cf666d66-838f-4d92-a4d2-a315df21fac9",
- "multiValued": false,
- "slug": "slug"
}, - {
- "id": "4b8b4f6c-7dfd-4613-9414-c9daf00016af",
- "name": "car_id",
- "technicalName": "car_id",
- "field": "7000506c-049b-47d3-b92d-a2e823b46b81",
- "multiValued": true,
- "slug": "slug"
}
]
}
Occurs when you try to create a class without technical name in attribute.
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Missing technical name in attribute 39257557-083b-4427-9493-1cedc92b25cf"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "icon": "string",
- "attributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}, - "category": "86d23d13-9dbb-46f3-82d0-25253c7750c3",
- "multiValued": false,
- "slug": "12390_attribute_name"
}
], - "slug": "string",
- "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
]
}
]
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "icon": "string",
- "attributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}, - "category": "86d23d13-9dbb-46f3-82d0-25253c7750c3",
- "multiValued": false,
- "slug": "12390_attribute_name"
}
], - "slug": "string",
- "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
]
}
Delete a class is possible if not used elsewhere. Deleting a class means deleting the table that contained the data
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
This oClass contains more information about the attributes used in the oClass, with details of the associated fields.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
{- "id": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "slug": "7d2cda0aab_accident",
- "name": "Accident",
- "attributes": [
- {
- "oclass": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "id": "7527bd0a-5059-4edd-a053-83189be6a920",
- "name": "date_accident",
- "slug": "5e8c3edc5d_date_accident",
- "multiValued": false,
- "field": {
- "id": "872ff200-b4cc-47e6-a45b-fe3ea9c1ab9f",
- "name": "date",
- "type": "instant",
- "slug": "279ff1f102_date"
}
}, - {
- "oclass": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "id": "430b3c66-d621-466a-9fa0-1f2e3ae3b15d",
- "name": "location",
- "slug": "c7746c45c2_location",
- "multiValued": false,
- "field": {
- "id": "5510a2a9-dcbb-4861-bdb1-f0091a824767",
- "name": "string",
- "type": "string",
- "slug": "279ff1f103_string"
}
}, - {
- "oclass": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "id": "24b31150-5acc-4f13-bf9f-3987abb32ffe",
- "name": "weather",
- "slug": "b32bc15ba2_weather",
- "multiValued": false,
- "field": {
- "id": "5510a2a9-dcbb-4861-bdb1-f0091a824767",
- "name": "string",
- "type": "string",
- "slug": "279ff1f103_string"
}
}, - {
- "oclass": "c3ffd8e7-e334-4710-aeb1-8506a12ad39c",
- "id": "4b8b4f6c-7dfd-4613-9414-c9daf00016af",
- "name": "car_id",
- "slug": "3c7587eddf_car_id",
- "multiValued": true,
- "field": {
- "id": "6994ede1-7689-489f-8003-115e7cd4646b",
- "name": "identifier",
- "type": "string",
- "slug": "279ff1f102_identifier"
}
}
]
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
technicalName | string |
field | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
category | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
multiValued | boolean |
slug | string |
{- "id": "ba681f33-fe70-42f8-a277-05c607ba29cf",
- "name": "attribute_example",
- "technicalName": "attribute_example",
- "field": "423b5c01-1816-41d4-b358-200000000010",
- "category": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "multiValued": false,
- "slug": "ba681f33_attribute_example"
}
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
classId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the attribute's class |
attributeId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the attribute to delete |
Occurs when we try to delete an attribute used by a link, a namedquery or an abac rule.
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "The attribute 423b5c01-1816-41d4-b358-100000000021 is used by one or more search(es) and abac rule(s), remove them to delete the attribute"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Field UUID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "name": "string",
- "icon": "string",
- "attributes": [
- {
- "oclass": "64acac6d-c3d7-4181-9ffe-c821e6b47508",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "slug": "12390_attribute_name",
- "multiValued": false,
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
}
], - "storage": "ELASTIC",
- "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
]
}
]
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the class |
The parameter usedElsewhere in the response body is a boolean used to indicate if the class is used in a private object.
{- "associations": [
- {
- "id": "2f021992-5fb0-42d3-9646-0affccb98101",
- "name": "LINK",
- "type": "LINK"
}, - {
- "id": "2f021992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the namedquery",
- "type": "NAMED_QUERY"
}, - {
- "id": "2f121992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the dataset",
- "type": "DATASET"
}, - {
- "id": "2f121992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the abac_rule",
- "type": "ABAC"
}
], - "usedElsewhere": false
}
classId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
value | string or null |
metadataDefId | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "value": "22"
}
Occurs when you try to add metadata with a type not supported
{- "application": "data-ref",
- "code": "FORBIDDEN",
- "message": "Metadata value should be of type : {{type}}"
}
classId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the attribute |
The parameter usedElsewhere in the response body is a boolean used to indicate if the dataset is used in a private object.
{- "associations": [
- {
- "id": "2f021992-5fb0-42d3-9646-0affccb98101",
- "name": "LINK",
- "type": "LINK"
}, - {
- "id": "2f021992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the namedquery",
- "type": "NAMED_QUERY"
}, - {
- "id": "2f121992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the abac_rule",
- "type": "ABAC"
}
], - "usedElsewhere": false
}
[- {
- "domain": "symbol",
- "oClass": "e9479a55-f260-4de7-a5b0-24bd58e5e405",
- "content": "\"{\n \"isDefault\": true,\n \"iconUrl\": \"internal:image.png\",\n \"iconSize\": [ 25, 25 ]\n}\"\n"
}, - {
- "domain": "tooltips",
- "oClass": "42a6035a-fc3d-4694-a447-3a2189900da3",
- "content": "\"{\"type\": \"attribute\",\"options\": {attributes: [\"Seats Number\",\"Seats Number IRVE\",\"Seats Number PMR\"]}}\"\n"
}
]
domain required | string Example: tooltips class domain |
[- {
- "domain": "symbol",
- "oClass": "e9479a55-f260-4de7-a5b0-24bd58e5e405",
- "content": {
- "isDefault": true,
- "iconUrl": "internal:image.png",
- "iconSize": [
- 25,
- 25
]
}
}, - {
- "domain": "symbol",
- "oClass": "42a6035a-fc3d-4694-a447-3a2189900da3",
- "content": {
- "isDefault": true,
- "iconUrl": "internal:image2.png",
- "iconSize": [
- 25,
- 25
]
}
}
]
domain required | string Class domain |
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
domain | string [ 1 .. 30 ] characters |
oClass | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
content | string <= 100000 characters |
{- "domain": "tooltips",
- "oClass": "42a6035a-fc3d-4694-a447-3a2189900da3",
- "content": "\"{\"type\": \"attribute\",\"options\": {attributes: [\"Seats Number\",\"Seats Number IRVE\",\"Seats Number PMR\"]}}\"\n"
}
Occurs when the format of the JSON file is incorrect
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Json content is invalid"
}
A dataset is a coherent, versioned (functionally) set of data belonging to the same class. Dataset could be CLOSED and will therefore have several versions, OPEN or MODIFIABLE.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name required | string |
oClass required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
type required | string (DatasetType) Enum: "OPEN" "CLOSED" "MODIFIABLE" |
description | string |
Array of objects or null (MetadataValueWriteDto) | |
groups | Array of strings |
categories | Array of strings <uuid> (UUID) [ items <uuid >[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ] |
{- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "closed dataset",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}
Occurs when you try to save a dataset that has the same name as its OClass
{- "application": "data-ref",
- "code": "CONFLICT",
- "message": "Name {{datasetName}} already exists for class {{oClassName}}"
}
You can only update the dataset name, description, metadata and groups, you cannot change its id, type or OClass.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name required | string |
oClass required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
type required | string (DatasetType) Enum: "OPEN" "CLOSED" "MODIFIABLE" |
description | string |
Array of objects or null (MetadataValueWriteDto) | |
groups | Array of strings |
categories | Array of strings <uuid> (UUID) [ items <uuid >[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ] |
{- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "we change dataset name",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}
When groups are deleted from a dataset, a list of groups is returned if they were used by a dashboard.
{- "missingGroupsByEntity": {
- "f12cef0c-6204-4e09-9807-2da6a9c0e6d0": [
- "group1"
], - "f12cef0c-6204-4e09-9807-2da6a9c0e6d1": [
- "group1",
- "group2"
]
}
}
Also returns the metadata attached to the dataset, if any.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "oClass": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "type": "OPEN",
- "name": "open dataset of my class",
- "metadata": [
- {
- "value": "2",
- "metadataDef": {
- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "name": "metadata_name",
- "type": "INTEGER",
- "description": "description of metadata"
}
}
]
}
Deleting a dataset is not possible if dataset-version are associated with it
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... dataset UUID |
Occurs when you try to delete a dataset who owns dataset-version
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "You're not allowed to delete dataset {{datasetId}} because it owns one or more dataset version"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the dataset |
Example of a dataset version that has warnings.
{- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": {
- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "datasetName",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}, - "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 1,
- "state": "ACTIVE",
- "withFile": false,
- "hasWarnings": true
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... dataset UUID |
Example of a disabled dataset version that has warnings.
[- {
- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": {
- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "datasetName",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}, - "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 1,
- "state": "INACTIVE",
- "withFile": false,
- "hasWarnings": true
}
]
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the dataset |
The parameter usedElsewhere in the response body is a boolean used to indicate if the attribute is used in a private object.
{- "associations": [
- {
- "id": "2f021992-5fb0-42d3-9646-0affccb98101",
- "name": "Name du widget",
- "type": "WIDGET"
}, - {
- "id": "2f021992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the namedquery",
- "type": "NAMED_QUERY"
}, - {
- "id": "2f121992-5fb0-42d3-9646-0affccb98111",
- "name": "Name of the dashboard",
- "type": "DASHBOARD"
}
], - "usedElsewhere": false
}
datasetId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
value | string or null |
metadataDefId | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "value": "22"
}
Occurs when you try to add metadata with a type not supported
{- "application": "data-ref",
- "code": "FORBIDDEN",
- "message": "Metadata value should be of type : {{type}}"
}
datasetId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
{- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "oClass": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "type": "OPEN",
- "name": "open dataset of my class",
- "metadata": [
- {
- "value": "2",
- "metadataDef": {
- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "name": "metadata_name",
- "type": "INTEGER",
- "description": "description of metadata"
}
}
]
}
{- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "oClass": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "type": "OPEN",
- "name": "open dataset of my class",
- "metadata": [
- {
- "value": "2",
- "metadataDef": {
- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "name": "metadata_name",
- "type": "INTEGER",
- "description": "description of metadata"
}
}
]
}
datasetName required | string dataset name |
Example of a dataset version that has warnings.
{- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": {
- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "datasetName",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}, - "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 1,
- "state": "ACTIVE",
- "withFile": false,
- "hasWarnings": true
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "category_name"
}
Occurs when you try to save a category that has the same name as another category
{- "application": "data-ref",
- "code": "CONFLICT",
- "message": "Name {{categoryName}} already exists"
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
dataset | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
oClass | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
lastModified | string <date-time> (Instant) |
version | integer <int32> |
state | string (DatasetState) Enum: "LOADING" "INDEXING" "ACTIVE" "ERROR" "INACTIVE" "DELETING" "DELETE_ERROR" |
fileName | string |
{- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": "423b5c01-1816-41d4-b358-200000000010",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 3,
- "state": "INACTIVE",
- "fileName": "datas_flood.csv"
}
Occurs when you try to create a dataset version of a closed dataset with an id already saved
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Dataset version {{datasetVersionId}} already exist."
}
A dataset version is an instantiation of a dataset. It allows us to have coherent and versioned class data. The parameter hasWarnings in the response body is a boolean used to indicate if dataset-version import's generated some warnings.
limit | integer maximum number of elements to retrieve |
offset | integer index of first element to retrieve (starting from the default value : 0) |
state | string (DatasetState) Enum: "LOADING" "INDEXING" "ACTIVE" "ERROR" "INACTIVE" "DELETING" "DELETE_ERROR" Example: state=ACTIVE State of the dataset version. Only datasets versions of this state are retrieved |
dateMax | string <date> Example: dateMax=2024-12-29 maximum lastModified of dataset version. Only datasets version with lastModified before this date are retrieved. |
dateMin | string <date> Example: dateMin=2018-01-15 minimum lastModified of dataset version. Only datasets versions with lastModified after this date are retrieved. |
dataset | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the dataset. Only datasets versions of this dataset are retrieved |
orderBy | string (DatasetVersionOrderBy) Default: "DATE" Enum: "DATASET_NAME" "DATE" Data for ordering results. |
sortBy | string (Direction) Default: "asc" Enum: "asc" "desc" Sorting order. |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "dataset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my dataset",
- "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "type": "CLOSED",
- "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "groups": [
- "first_group",
- "second_group"
], - "description": "my description",
- "owner": false,
- "slug": "string",
- "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "category_name"
}
], - "activeVersion": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "dataset": "d93f2be0-02b1-4d87-8b6e-fc5cba21ed8d",
- "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "lastModified": "2022-03-10T16:15:50Z",
- "version": 0,
- "state": "ACTIVE",
- "fileName": "datas_flood.csv"
}
}, - "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "lastModified": "2022-03-10T16:15:50Z",
- "version": 2,
- "state": "ACTIVE",
- "withFile": false,
- "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "hasWarnings": false
}
]
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... dataset version UUID |
Example of a dataset version that has warnings.
{- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": {
- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "datasetName",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}, - "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 1,
- "state": "ACTIVE",
- "withFile": false,
- "hasWarnings": true
}
Updating producer, production date and additional informations of the dataset version. The updated dataset version's is identified by its ID from path variable.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the dataset version to update |
producer | string |
productionDate | string <date-time> (Instant) |
additionalInformation | string |
{- "productionDate": "2023-04-27T13:56:13.861018Z",
}
Occurs when dataset type is 'CLOSED' and :
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Dataset cannot transition from LOADING to ACTIVE"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
Return the dataset version currently deleting, this is an asynchrone operation.
{- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "dataset": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "oClass": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "lastModified": "2022-03-10T16:15:50Z",
- "version": 1,
- "state": "DELETING",
- "fileName": "datas_flood.csv"
}
datasetVersionId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
value | string or null |
metadataDefId | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "value": "22"
}
Occurs when you try to add metadata with a type not supported
{- "application": "data-ref",
- "code": "FORBIDDEN",
- "message": "Metadata value should be of type : {{type}}"
}
datasetVersionId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
Occurs when you try to delete a metadata not assigned to the dataset version
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Metadata {{metadata_id}} is not assigned to DATASET_VERSION {{dataset_version_id}}"
}
It also deactivates the previous one. It is only possible to have only one version of an active dataset.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... dataset version UUID |
Occurs when you try to activate a dataset version that is not ready to be activated
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Dataset cannot transition from LOADING to ACTIVE"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... dataset version UUID |
Occurs when you try to deactivate a dataset version that is not active
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Dataset cannot transition from ERROR to INACTIVE"
}
classId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... class UUID |
Example of a disabled dataset version that has warnings.
[- {
- "id": "b1a08d9d-4c38-4d43-90f3-25015537ebfd",
- "dataset": {
- "id": "423b5c01-1816-41d4-b358-200000000010",
- "name": "datasetName",
- "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "type": "CLOSED"
}, - "oClass": "991eb4b2-253c-4875-b708-8209fa5bfd51",
- "lastModified": "2023-04-27T13:56:13.861018Z",
- "version": 1,
- "state": "INACTIVE",
- "withFile": false,
- "hasWarnings": true
}
]
datasetVersionId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... datasetVersion UUID |
[- {
- "level": "ERROR",
- "messages": [
- {
- "level": "ERROR",
- "extractedMessageCode": "NO_ATTRIBUTES",
- "datasetVersionId": "aba17aa9-fe0f-4610-8f36-60a244e875bb"
}
], - "count": 1
}, - {
- "level": "WARNING",
- "messages": [
- {
- "level": "WARNING",
- "extractedMessageCode": "UNRECOGNIZED",
- "type": "Point",
- "name": "Geo Point",
- "recordId": "12",
- "datasetVersionId": "ff8dc620-57b4-4132-8326-efb01daac5b9"
}, - {
- "level": "WARNING",
- "extractedMessageCode": "UNRECOGNIZED",
- "type": "Point",
- "name": "Geo Shape",
- "recordId": "12",
- "datasetVersionId": "ff8dc620-57b4-4132-8326-efb01daac5b9"
}
], - "count": 2
}
]
A metadata is used to add context to an entity. Metadata definitions must first be created before being used on an entity.
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string or null |
type | string (VariableTypeDto) Enum: "INTEGER" "STRING" "DOUBLE" "DATE" "UUID" "LIST" |
description | string |
allowedValues | Array of strings |
slug | string |
readOnly | boolean |
system | boolean |
{- "id": "ba681f33-fe70-42f8-a277-05c607ba29cf",
- "name": "metadata_test",
- "type": "STRING"
}
{- "application": "data-ref",
- "code": "NAME_ALREADY_USED",
- "message": "Name {{metadata_def_name}} already exists"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
]
metadataId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
metadataName required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
metadataSlug required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
Predicates are used to define abac rules. They can refer to context variables.
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
value | string |
{- "id": "334c1229-61e7-4807-aeaa-edaf16ec2273",
- "name": "role_data-reader_defcon",
- "value": "user.hasRole('data-reader') && request.header('User-Agent').startsWith('Post') && var.defcom < 3"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Predicate ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
Context variables are used in our predicates to give more context information.
We treat it as metadata, and it is notably used as a condition of an ABAC rule, or its expression for example.
[- {
- "name": "string",
- "type": "INTEGER",
- "value": 2
}
]
name | string |
type | string (VariableTypeDto) Enum: "INTEGER" "STRING" "DOUBLE" "DATE" "UUID" "LIST" |
value | integer |
{- "name": "metadataContextVariable",
- "type": "INTEGER",
- "value": 3
}
{- "value": {
- "application": "data-ref",
- "code": "TECHNICAL",
- "message": "Mismatch between type and value : {{type}}"
}
}
The ABAC (Attribute-Based Access Control) are rules and predicates. They allow us to provide access to users based on who they are rather than what they do.
type | string (AbacRuleType) Enum: "METADATA" "ATTRIBUTE" Retrieve only rules with selected type. |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my rule",
- "description": "description of my rule",
- "active": true,
- "predicate": "eeb41ffe-67db-4185-b921-edc0db333e91",
- "type": "METADATA",
- "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}
}
]
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
description | string |
active | boolean If abac rule is not active, then it will not be taken into account for restriction processes. |
predicate | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
type | string (AbacRuleType) Enum: "METADATA" "ATTRIBUTE" |
any (ConditionDto) |
{- "id": "077e4ac8-7499-4489-bd5f-ac37d2ca226d",
- "type": "ATTRIBUTE",
- "name": "Attribute example",
- "predicate": "077e4ac8-7499-4489-bd5f-ac37d2ca226e",
- "condition": {
- "type": "ATTRIBUTE",
- "attribute": "f897dc76-9c4a-4b7a-9797-fc577c0438e9",
- "operator": "EQUALS",
- "value": "1234567890"
}
}
Different OClass in AND/OR condition
{- "application": "data-ref",
- "code": "BAD_REQUEST",
- "message": "Attributes are not on same OClass"
}
oClassId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Class UUID |
includeInactive | boolean Example: includeInactive=true Boolean to retrieve inactive rules. |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my rule",
- "description": "description of my rule",
- "active": true,
- "predicate": "eeb41ffe-67db-4185-b921-edc0db333e91",
- "type": "METADATA",
- "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}
}
]
ruleId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ABAC rule UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my rule",
- "description": "description of my rule",
- "active": true,
- "predicate": "eeb41ffe-67db-4185-b921-edc0db333e91",
- "type": "METADATA",
- "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "metadata": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}, - "userProfile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
}
]
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
metadata | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
userProfile | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "cb8d2714-d1ce-11ec-9d64-0242ac120005",
- "name": "meta_date",
- "userProfile": "ba681f33-fe70-42f8-a277-05c607ba28cf",
- "metadata": "ba681f33-fe70-42f8-a277-05c607ba29cf"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the automatic metadata feeding rule to delete |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "metadata": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}, - "userProfile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... UUID of the feeding rule |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string or null |
slug | string |
{- "id": "2f021992-5fb0-42d3-9646-0affccb98105",
- "name": "est accidentée"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Relation type UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "nbRelation": 0,
- "nbLink": 0,
- "deletable": true,
- "modificationDate": "2022-03-10T16:15:50Z"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Relation type UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
A link is a connections or relationships between attributes of classes. They allow us to represent associations between our objects.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string"
}, - "attributeSource": {
- "oclass": "64acac6d-c3d7-4181-9ffe-c821e6b47508",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "slug": "12390_attribute_name",
- "multiValued": false,
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
}, - "attributeDestination": {
- "oclass": "64acac6d-c3d7-4181-9ffe-c821e6b47508",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "slug": "12390_attribute_name",
- "multiValued": false,
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
}
}
]
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
relationType | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
attributeSource | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
attributeDestination | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "334c1229-61e7-4807-aeaa-edaf16ec2273",
- "relationType": "2f021992-5fb0-42d3-9646-0affccb98105",
- "attributeSource": "f897dc76-9c4a-4b7a-9797-fc577c0438e9",
- "attributeDestination": "7319d99b-5400-40e4-a0e5-f9fb46b3d2d6"
}
Occurs when you try to create a link that already exists
{- "application": "data-ref",
- "code": "CONFLICT",
- "message": "Link from {{attributeSource}} to {{attributeDestination}} already exists"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Link UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string"
}, - "attributeSource": {
- "oclass": "64acac6d-c3d7-4181-9ffe-c821e6b47508",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "slug": "12390_attribute_name",
- "multiValued": false,
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
}, - "attributeDestination": {
- "oclass": "64acac6d-c3d7-4181-9ffe-c821e6b47508",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Attribute name",
- "technicalName": "Technical name",
- "slug": "12390_attribute_name",
- "multiValued": false,
- "field": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my field",
- "slug": "73981_my_field",
- "type": "keyword",
- "format": "my_value"
}
}
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Link UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
DataSources are sources containing data that can be displayed in widgets. They include named queries, dataset versions and datasets.
dataSourceId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "SEARCH",
- "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "familyName": "ThePower",
- "name": "Agathe",
- "email": "agathe.thepower@email.com",
- "roles": [
- "default-roles-provoly",
- "job_instance_read"
], - "groups": [
- "first_group",
- "second_group"
], - "isAnonymous": false
}
userId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
[- {
- "value": "level 1",
- "userProfile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
}
]
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
userId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
values | Array of strings |
metadataDefId | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "values": [
- "some value"
]
}
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
userId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
[- {
- "value": "level 1",
- "userProfile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
}
]
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string or null |
type | string (VariableTypeDto) Enum: "INTEGER" "STRING" "DOUBLE" "DATE" "UUID" "LIST" |
description | string |
allowedValues | Array of strings |
slug | string |
{- "id": "ba681f33-fe70-42f8-a277-05c607ba28cf",
- "name": "example_profile",
- "type": "STRING"
}
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
]
metadataId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "defcon",
- "type": "INTEGER",
- "description": "The defense readiness condition (DEFCON) is an alert state used by the United States Armed Forces.",
- "allowedValues": "[]",
- "slug": "10928_defcon"
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
description | string |
any (SearchRequestDto) | |
favorite | boolean |
color | string |
object (VisibilityDto) |
{- "id": "09061554-298f-4f56-8cd2-51ccec998307",
- "name": "NamedQuery_example",
- "description": "Je suis une named query mono",
- "color": "rose",
- "favorite": false,
- "visibility": {
- "type": "PUBLIC"
}, - "request": {
- "type": "MONO_CLASS",
- "oClass": "193f3aad-0531-4fe5-b62c-141aa3cad454",
- "sort": {
- "attribute": "2792422e-f0a7-41b0-aa6b-51372f49c25a",
- "direction": "asc"
}
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Accidents 2019-2022",
- "description": "Return all accidents between 2019 and 2022 in France",
- "request": {
- "type": "MONO_CLASS",
- "fullSearch": {
- "value": "string"
}, - "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "datasetVersionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}, - "sort": {
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "direction": "asc",
- "type": "ATTRIBUTE"
}, - "searchAfter": "string",
- "excludeGeo": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "limit": 1000,
- "withCount": false,
- "requestedAttributes": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "geoFormat": "GEO_JSON"
}, - "favorite": true,
- "color": "string",
- "visibility": {
- "type": "string",
- "users": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "lastExecutionDate": "2022-03-10T16:15:50Z",
- "owner": true
}
]
This endpoint is used only by data-virt and allows executing a private namedQuery
that we do not own if we know its ID.
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Named query id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Accidents 2019-2022",
- "description": "Return all accidents between 2019 and 2022 in France",
- "request": {
- "type": "MONO_CLASS",
- "fullSearch": {
- "value": "string"
}, - "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "datasetVersionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}, - "sort": {
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "direction": "asc",
- "type": "ATTRIBUTE"
}, - "searchAfter": "string",
- "excludeGeo": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "limit": 1000,
- "withCount": false,
- "requestedAttributes": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "geoFormat": "GEO_JSON"
}, - "favorite": true,
- "color": "string",
- "visibility": {
- "type": "string",
- "users": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "lastExecutionDate": "2022-03-10T16:15:50Z",
- "owner": true
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... named query id |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Named query UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Named query id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Accidents 2019-2022",
- "description": "Return all accidents between 2019 and 2022 in France",
- "request": {
- "type": "MONO_CLASS",
- "fullSearch": {
- "value": "string"
}, - "oClass": "04c4759f-4d1b-48af-be42-deac3d5dca7a",
- "datasetVersionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "condition": {
- "type": "TRUE",
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "value": "string",
- "upperValue": null,
- "location": "string",
- "operator": "EQUALS"
}, - "sort": {
- "attribute": "7c3052a5-8228-4034-b37b-9c5cc5369b25",
- "direction": "asc",
- "type": "ATTRIBUTE"
}, - "searchAfter": "string",
- "excludeGeo": true,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "limit": 1000,
- "withCount": false,
- "requestedAttributes": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "geoFormat": "GEO_JSON"
}, - "favorite": true,
- "color": "string",
- "visibility": {
- "type": "string",
- "users": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "lastExecutionDate": "2022-03-10T16:15:50Z",
- "owner": true
}
Saves a dashboard for the current user. Groups can be added, otherwise the dashboard is private by default. If the group added is "ALL", then the dashboard can be consulted by anyone. If the group added is "AUTHENTICATED", then everyone will have the right to view the dashboard except the anonymous user. A list of missing groups is returned when the list of groups added to the dashboard does not match those present in the datasets, and the dashboard is not created.
object | |
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
image | string |
description | string |
cover | boolean |
object | |
datasource | Array of strings <uuid> (UUID) [ items <uuid >[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ] |
Array of objects or null (MetadataValueWriteDto) | |
additionalInformation | string |
{- "id": "f4f77417-0f5b-4d8e-9bde-a8dcf799632f",
- "name": "dashboard example",
- "image": "image",
- "description": "description du widget",
- "cover": true,
- "datasource": [
- "aeab3b25-ebae-4878-b96d-0d4ced5a4ab7"
], - "manifest": {
- "windows": [
- {
- "widgets": [
- {
- "type": "map",
- "layout": {
- "x": 1,
- "y": 1,
- "height": 2,
- "width": 3
}, - "options": {
- "style": "osm-bright",
- "fit": true,
- "layers": [
- {
- "type": "bubble",
- "locationAttribute": "location",
- "intensityAttribute": "integer",
- "radiusFactor": 0.005
}
]
}, - "resultSet": "rs1"
}, - {
- "type": "map",
- "layout": {
- "x": 4,
- "y": 1,
- "height": 2,
- "width": 3
}, - "options": {
- "style": "osm-bright",
- "fit": true,
- "layers": [
- {
- "type": "heatmap",
- "locationAttribute": "location",
- "intensityAttribute": "integer",
- "intensityAsc": true
}
]
}, - "resultSet": "rs1"
}, - {
- "type": "table",
- "layout": {
- "x": 1,
- "y": 3,
- "height": 5,
- "width": 10
}, - "options"": { },
- "resultSet": "rs1"
}
]
}, - {
- "widgets": [
- {
- "type": "map",
- "layout": {
- "x": 1,
- "y": 1,
- "height": 7,
- "width": 6
}, - "options": {
- "style": "osm-bright",
- "fit": true,
- "layers": [
- {
- "type": "heatmap",
- "locationAttribute": "location",
- "intensityAttribute": "integer",
- "intensityAsc": true
}
]
}, - "resultSet": "rs1"
}
]
}
]
}, - "metadata": [
- {
- "metadataDefId": "ba691f33-fe70-42f8-a277-05c607ba29cf",
- "value": "50"
}, - {
- "metadataDefId": "ba691f33-fe70-42f8-a277-05c607ba28cf",
- "value": "30"
}
], - "accessRightsByGroup": {
- "ALL": [
- "READ"
], - "a_group": [
- "READ",
- "WRITE"
]
}, - "additionalInformation": "Some more information"
}
{- "missingGroupsByEntity": {
- "f12cef0c-6204-4e09-9807-2da6a9c0e6d0": [
- "group1"
], - "f12cef0c-6204-4e09-9807-2da6a9c0e6d1": [
- "group1",
- "group2"
]
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Flood risk in France",
- "image": "string",
- "description": "",
- "cover": false,
- "creationDate": "2022-03-10T16:15:50Z",
- "modificationDate": "2022-03-10T16:15:50Z",
- "isDefault": true,
- "owner": true,
- "datasource": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "readOnlyMetadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "accessRightsByGroup": {
- "group": [
- "READ",
- "WRITE"
]
}, - "additionalInformation": "string"
}
]
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
dashboardId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
value | string or null |
metadataDefId | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "value": "some value"
}
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
metadataDefId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
dashboardId required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Dashboard UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Flood risk in France",
- "image": "string",
- "description": "",
- "cover": false,
- "creationDate": "2022-03-10T16:15:50Z",
- "modificationDate": "2022-03-10T16:15:50Z",
- "isDefault": true,
- "owner": true,
- "datasource": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "readOnlyMetadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "metadata": [
- {
- "value": "my_value",
- "metadataDef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my metadata definition",
- "type": "INTEGER",
- "description": "metadata definition description",
- "allowedValues": [
- "string"
], - "slug": "87280_my_metadata_definition",
- "readOnly": true,
- "system": true
}
}
], - "accessRightsByGroup": {
- "group": [
- "READ",
- "WRITE"
]
}, - "additionalInformation": "string"
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Dashboard UUID |
{- "application": "data-ref",
- "code": "FORBIDDEN",
- "message": "User is not granted to write DASHBOARD {{dashboard_id}}."
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
name | string |
description | string |
image | string |
content | string |
datasource | Array of strings <uuid> (UUID) [ items <uuid >[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ] |
cover | boolean Determine whether the image should take up the whole widget or not |
owner | boolean |
creationDate | string <date-time> (Instant) |
modificationDate | string <date-time> (Instant) |
groups | Array of strings |
{- "id": "921e297f-4b21-4045-9896-5ec98910cae1",
- "name": "example_widget_config",
- "description": "this is a new widget configuration",
- "image": "",
- "content": "{\"type\":\"table\",\"layout\":{\"x\":1,\"y\":1,\"width\":1,\"height\":1},\"options\":{\"columns\":[{\"property\":\"date timestamp\",\"label\":\"date timestamp\",\"attributeId\":\"7d4ac9df-dfe7-430f-a4c5-4b8c2c77433c\"},{\"property\":\"identifiant\",\"label\":\"identifiant\",\"attributeId\":\"36d67f72-d5a8-4aed-ae47-dfedb95702cb\"}]},\"title\":\"issueBack115\",\"datasource\":[\"a1041310-3c83-4512-97be-9e665d20d0a5\"],\"header\":{\"datasourceSelection\":false,\"parameters\":true,\"window\":false,\"maximize\":false,\"addToCatalog\":false,\"delete\":false,\"changeSpot\":false},\"cover\":false}",
- "groups": [
- "ALL"
], - "datasource": [
- "a1041310-3c83-4512-97be-9e665d20d0a5"
], - "cover": false
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Flood/submergence risk",
- "description": "widget displaying a map showing the various risks of submersion and flooding.",
- "image": "string",
- "content": "string",
- "datasource": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "cover": true,
- "owner": true,
- "creationDate": "2022-03-10T16:15:50Z",
- "modificationDate": "2022-03-10T16:15:50Z",
- "groups": [
- "first_group",
- "second_group"
]
}
]
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Widget UUID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Flood/submergence risk",
- "description": "widget displaying a map showing the various risks of submersion and flooding.",
- "image": "string",
- "content": "string",
- "datasource": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "cover": true,
- "owner": true,
- "creationDate": "2022-03-10T16:15:50Z",
- "modificationDate": "2022-03-10T16:15:50Z",
- "groups": [
- "first_group",
- "second_group"
]
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Widget UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}
id | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... |
users | Array of strings <uuid> [ items <uuid >[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... ] |
object (NotificationTextDto) | |
link | string |
{- "id": "c5b4908f-c477-436b-b346-160803a82915",
- "users": [
- "7b2c2947-d26d-41c8-8827-23b43b6ff5b3",
- "941cc554-b81d-4998-a65d-8f7861ab110d",
- "8c002d8a-a050-40e3-bf28-a6217bf8f6dc"
], - "notificationTextDto": {
- "code": "DASHBOARD_PUBLIC",
- "param": {
- "name": "presentationAdmin"
}
}, - "link": ""
}
id required | string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-... Notification UUID |
{- "code": 404,
- "message": "Entity : ac2c1a7f-0694-4f03-bb00-d349adeecd3d inexistant."
}