Référence API : organisations
Référence API des points de terminaison de gestion des organisations et d’administration des utilisateurs.
Point de terminaison : GET /v1/tenant/{tenantId}/processes
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| limit | integer | requête | Non | Nombre maximal d’éléments à renvoyer |
| offset | integer | requête | Non | Nombre d’éléments à ignorer |
Réponse (200) :
Liste des processus
[
{
"id": "00000000-0000-0000-0000-000000000000",
"treeParentId": "00000000-0000-0000-0000-000000000000",
"treeNodeType": "Process",
"displayName": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"designerModelId": "00000000-0000-0000-0000-000000000000"
}
] Erreurs :
Point de terminaison : POST /v1/tenant/{tenantId}/processes
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"treeParentId": "00000000-0000-0000-0000-000000000000",
"treeNodeType": "Process"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Oui | Nom du processus affiché dans l’arborescence des processus Longueur maximale : 128 |
| treeParentId | string | Non | Identifiant du dossier parent (null = niveau supérieur) Format : uuid |
| treeNodeType | Process | TreeGroup | Non | Processus ou TreeGroup (dossier) Valeurs autorisées : Process, TreeGroupPar défaut : Process |
Réponse (201) :
Processus créé
{
"id": "00000000-0000-0000-0000-000000000000",
"treeParentId": "00000000-0000-0000-0000-000000000000",
"treeNodeType": "Process",
"displayName": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"designerModelId": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| treeParentId | string | Oui | Format : uuid |
| treeNodeType | Process | TreeGroup | Oui | Valeurs autorisées : Process, TreeGroupPar défaut : Process |
| displayName | string | Oui | Par défaut : New ProcessLongueur maximale : 128 |
| createdAt | string | Oui | Format : date-time |
| updatedAt | string | Oui | Format : date-time |
| designerModelId | string | Oui | Format : uuid |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Processus
{
"id": "00000000-0000-0000-0000-000000000000",
"treeParentId": "00000000-0000-0000-0000-000000000000",
"treeNodeType": "Process",
"displayName": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"designerModelId": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| treeParentId | string | Oui | Format : uuid |
| treeNodeType | Process | TreeGroup | Oui | Valeurs autorisées : Process, TreeGroupPar défaut : Process |
| displayName | string | Oui | Par défaut : New ProcessLongueur maximale : 128 |
| createdAt | string | Oui | Format : date-time |
| updatedAt | string | Oui | Format : date-time |
| designerModelId | string | Oui | Format : uuid |
Erreurs :
Point de terminaison : PUT /v1/tenant/{tenantId}/processes/{processId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"treeParentId": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Non | Nom du processus affiché dans l’arborescence des processus Longueur maximale : 128 |
| treeParentId | string | Non | Identifiant du dossier parent (null = niveau supérieur) Format : uuid |
Réponse (200) :
Processus mis à jour
{
"id": "00000000-0000-0000-0000-000000000000",
"treeParentId": "00000000-0000-0000-0000-000000000000",
"treeNodeType": "Process",
"displayName": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"designerModelId": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| treeParentId | string | Oui | Format : uuid |
| treeNodeType | Process | TreeGroup | Oui | Valeurs autorisées : Process, TreeGroupPar défaut : Process |
| displayName | string | Oui | Par défaut : New ProcessLongueur maximale : 128 |
| createdAt | string | Oui | Format : date-time |
| updatedAt | string | Oui | Format : date-time |
| designerModelId | string | Oui | Format : uuid |
Erreurs :
Point de terminaison : DELETE /v1/tenant/{tenantId}/processes/{processId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Processus supprimé
{
"success": true,
"message": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| success | boolean | Oui | |
| message | string | Oui |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/bpmn
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Réponse (200) :
XML BPMN
{
"bpmnXml": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| bpmnXml | string | Oui | XML BPMN 2.0 |
Erreurs :
Point de terminaison : PUT /v1/tenant/{tenantId}/processes/{processId}/bpmn
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"bpmnXml": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| bpmnXml | string | Oui | XML BPMN 2.0 |
Réponse (200) :
BPMN importé
{
"message": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| message | string | Oui |
Erreurs :
Les associations de données relient des tables de données aux processus, afin de vous permettre de visualiser et d’analyser les données de votre journal d’événements sur un modèle de processus.
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/mappings
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| limit | integer | requête | Non | Nombre maximal d’éléments à renvoyer |
| offset | integer | requête | Non | Nombre d’éléments à ignorer |
Réponse (200) :
Liste des associations
[
{
"id": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"dataTableId": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"color": {
"id": "data-1"
},
"showByDefault": true,
"mappingRole": "primary",
"sortOrder": 0
}
] Erreurs :
Point de terminaison : POST /v1/tenant/{tenantId}/processes/{processId}/mappings
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"dataTableId": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"color": {
"id": "data-1"
},
"showByDefault": true,
"mappingRole": "primary"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| dataTableId | string | Oui | Datatable à associer au processus Format : uuid |
| displayName | string | Non | Nom d’affichage de l’association Longueur maximale : 128 |
| color | object | Non | Couleur d’accentuation |
| showByDefault | boolean | Non | Afficher cette association par défaut dans la vue du processus Valeur par défaut : true |
| mappingRole | primary | comparison | Non | Rôle des données associées dans le modèle Valeurs autorisées : primary, comparison |
Réponse (201) :
Association créée
{
"id": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"dataTableId": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"color": {
"id": "data-1"
},
"showByDefault": true,
"mappingRole": "primary",
"sortOrder": 0
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| modelId | string | Oui | Format : uuid |
| dataTableId | string | Oui | Format : uuid |
| displayName | string | Oui | Longueur maximale : 128 |
| color | object | Oui | |
| showByDefault | boolean | Oui | Valeur par défaut : true |
| mappingRole | primary | comparison | Oui | Valeurs autorisées : primary, comparisonValeur par défaut : comparison |
| sortOrder | integer | Oui | Valeur par défaut : 0Minimum : -9007199254740991 Maximum : 9007199254740991 |
Erreurs :
Point de terminaison : PUT /v1/tenant/{tenantId}/processes/{processId}/mappings/{mappingId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| mappingId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"color": {
"id": "data-1"
},
"showByDefault": true,
"mappingRole": "primary",
"sortOrder": 0
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Non | Longueur maximale : 128 |
| color | object | Non | |
| showByDefault | boolean | Non | |
| mappingRole | primary | comparison | Non | Valeurs autorisées : primary, comparison |
| sortOrder | integer | Non | Minimum : -9007199254740991 Maximum : 9007199254740991 |
Réponse (200) :
Association mise à jour
{
"id": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"dataTableId": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"color": {
"id": "data-1"
},
"showByDefault": true,
"mappingRole": "primary",
"sortOrder": 0
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| modelId | string | Oui | Format : uuid |
| dataTableId | string | Oui | Format : uuid |
| displayName | string | Oui | Longueur maximale : 128 |
| color | object | Oui | |
| showByDefault | boolean | Oui | Valeur par défaut : true |
| mappingRole | primary | comparison | Oui | Valeurs autorisées : primary, comparisonValeur par défaut : comparison |
| sortOrder | integer | Oui | Valeur par défaut : 0Minimum : -9007199254740991 Maximum : 9007199254740991 |
Erreurs :
Point de terminaison : DELETE /v1/tenant/{tenantId}/processes/{processId}/mappings/{mappingId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| mappingId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Association supprimée
{
"success": true,
"message": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| success | boolean | Oui | |
| message | string | Oui |
Erreurs :
Ces points de terminaison utilisent l’IA pour générer automatiquement des modèles de processus BPMN à partir de descriptions en langage naturel.
Point de terminaison : POST /v1/tenant/{tenantId}/processes/{processId}/generate-model
Authentification : Clé API limitée au tenant · portée write · limite de débit de 2 req/s (rafale de 4)
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"prompt": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| prompt | string | Oui |
Réponse (200) :
Génération démarrée / résultat
{
"message": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| message | string | Oui |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/generate-model/status
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Réponse (200) :
État de génération
{
"message": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| message | string | Oui |
Erreurs :
Les métriques par cas du dernier modèle du processus : une ligne par cas, avec la séquence calculée et les métriques de santé.
Renvoie une ligne par cas avec les métriques calculées du processus (durée du cas, longueur, conformité, reprises, score de santé, variante, etc.) pour le dernier modèle du processus. Aucun filtrage des lignes n’est appliqué. Le résultat est paginé : utilisez limit (1000 par défaut, 10000 maximum) et offset, puis continuez tant que hasMore est vrai. Tant que les métriques sont en cours de calcul, la réponse présente l’état preprocessing.
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/data/case-features
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| limit | integer | requête | Non | Nombre maximal de lignes de cas à renvoyer (1000 par défaut, 10000 maximum) |
| offset | integer | requête | Non | Nombre de lignes de cas à ignorer (0 par défaut) |
Réponse (200) :
Métriques par cas
{
"state": "ready",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"dataTableId": "00000000-0000-0000-0000-000000000000",
"rowCount": 0,
"hasMore": true,
"rows": [
{}
]
} Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/versions
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| limit | integer | requête | Non | Nombre maximal d’éléments à renvoyer |
| offset | integer | requête | Non | Nombre d’éléments à ignorer |
Réponse (200) :
Liste des versions
[
{
"id": "00000000-0000-0000-0000-000000000000",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"versionNumber": 0,
"versionType": "manual",
"displayName": "string",
"description": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"processDisplayName": "string",
"processShortDescription": "string",
"publishedState": "draft",
"elementCount": 0,
"connectionCount": 0
}
] Erreurs :
Point de terminaison : POST /v1/tenant/{tenantId}/processes/{processId}/versions
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"description": "string",
"versionType": "manual",
"restoreFromVersionId": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Non | Libellé de la version Valeur par défaut : ""Longueur maximale : 128 |
| description | string | Non | Description facultative de la version |
| versionType | manual | auto | Non | manuel = créé par l’utilisateur, auto = créé par le système Valeurs autorisées : manual, auto |
| restoreFromVersionId | string | Non | Version à restaurer lors de la création de cet instantané Format : uuid |
Réponse (201) :
Version créée
{
"version": {
"id": "00000000-0000-0000-0000-000000000000",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"versionNumber": 0,
"versionType": "manual",
"displayName": "string",
"description": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"processDisplayName": "string",
"processShortDescription": "string",
"publishedState": "draft",
"elementCount": 0,
"connectionCount": 0
},
"restoredFrom": {
"id": "00000000-0000-0000-0000-000000000000",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"versionNumber": 0,
"versionType": "manual",
"displayName": "string",
"description": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"processDisplayName": "string",
"processShortDescription": "string",
"publishedState": "draft",
"elementCount": 0,
"connectionCount": 0
}
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| version | object | Oui | |
| restoredFrom | object | Oui |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| versionId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Version
{
"version": {
"id": "00000000-0000-0000-0000-000000000000",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"versionNumber": 0,
"versionType": "manual",
"displayName": "string",
"description": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"processDisplayName": "string",
"processShortDescription": "string",
"publishedState": "draft",
"elementCount": 0,
"connectionCount": 0
}
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| version | object | Oui |
Erreurs :
Point de terminaison : PUT /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| versionId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"description": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Non | Libellé de la version Longueur maximale : 128 |
| description | string | Non | Description facultative de la version |
Réponse (200) :
Version mise à jour
{
"version": {
"id": "00000000-0000-0000-0000-000000000000",
"processId": "00000000-0000-0000-0000-000000000000",
"modelId": "00000000-0000-0000-0000-000000000000",
"versionNumber": 0,
"versionType": "manual",
"displayName": "string",
"description": "string",
"createdAt": "2024-03-15T16:30:00Z",
"updatedAt": "2024-03-15T16:30:00Z",
"processDisplayName": "string",
"processShortDescription": "string",
"publishedState": "draft",
"elementCount": 0,
"connectionCount": 0
}
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| version | object | Oui |
Erreurs :
Point de terminaison : DELETE /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| versionId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Version supprimée
{
"deleted": true
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| deleted | boolean | Oui |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/artifacts/{artifactId}
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| artifactId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Artefact
{
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"description": "string",
"originalFileName": "string",
"mimeType": "string",
"kind": "Image",
"artifactType": "modelIcon",
"uploadState": "Uploading",
"hasThumbnail": true,
"sizeBytes": 0,
"createdAt": "2024-03-15T16:30:00Z",
"createdBy": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| displayName | string | Oui | Valeur par défaut : ""Longueur maximale : 500 |
| description | string | Oui | Longueur maximale : 2000 |
| originalFileName | string | Oui | Valeur par défaut : ""Longueur maximale : 500 |
| mimeType | string | Oui | Valeur par défaut : ""Longueur maximale : 200 |
| kind | Image | Pdf | Docx | Xlsx | Pptx | Text | Video | Oui | Valeurs autorisées : Image, Pdf, Docx, Xlsx, Pptx, Text, Video |
| artifactType | modelIcon | processArtifact | doc | orgDoc | levelFrontPageImage | Oui | Valeurs autorisées : modelIcon, processArtifact, doc, orgDoc, levelFrontPageImageValeur par défaut : modelIcon |
| uploadState | Uploading | Ready | Failed | Deleted | Oui | Valeurs autorisées : Uploading, Ready, Failed, DeletedValeur par défaut : Uploading |
| hasThumbnail | boolean | Oui | Valeur par défaut : false |
| sizeBytes | number | Oui | Valeur par défaut : 0 |
| createdAt | string | Oui | Format : date-time |
| createdBy | string | Non | Format : uuid |
Erreurs :
Point de terminaison : PUT /v1/tenant/{tenantId}/artifacts/{artifactId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| artifactId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"displayName": "string",
"description": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| displayName | string | Non | Nom de l’artefact Longueur maximale : 500 |
| description | string | Non | Description facultative de l’artefact Longueur maximale : 2000 |
Réponse (200) :
Artefact mis à jour
{
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"description": "string",
"originalFileName": "string",
"mimeType": "string",
"kind": "Image",
"artifactType": "modelIcon",
"uploadState": "Uploading",
"hasThumbnail": true,
"sizeBytes": 0,
"createdAt": "2024-03-15T16:30:00Z",
"createdBy": "00000000-0000-0000-0000-000000000000"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Format : uuid |
| displayName | string | Oui | Valeur par défaut : ""Longueur maximale : 500 |
| description | string | Oui | Longueur maximale : 2000 |
| originalFileName | string | Oui | Valeur par défaut : ""Longueur maximale : 500 |
| mimeType | string | Oui | Valeur par défaut : ""Longueur maximale : 200 |
| kind | Image | Pdf | Docx | Xlsx | Pptx | Text | Video | Oui | Valeurs autorisées : Image, Pdf, Docx, Xlsx, Pptx, Text, Video |
| artifactType | modelIcon | processArtifact | doc | orgDoc | levelFrontPageImage | Oui | Valeurs autorisées : modelIcon, processArtifact, doc, orgDoc, levelFrontPageImageValeur par défaut : modelIcon |
| uploadState | Uploading | Ready | Failed | Deleted | Oui | Valeurs autorisées : Uploading, Ready, Failed, DeletedValeur par défaut : Uploading |
| hasThumbnail | boolean | Oui | Valeur par défaut : false |
| sizeBytes | number | Oui | Valeur par défaut : 0 |
| createdAt | string | Oui | Format : date-time |
| createdBy | string | Non | Format : uuid |
Erreurs :
Point de terminaison : DELETE /v1/tenant/{tenantId}/artifacts/{artifactId}
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| artifactId | string | chemin | Oui | Format : uuid |
Réponse (200) :
Artefact supprimé
{
"deleted": true
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| deleted | boolean | Oui |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/artifacts/{artifactId}/open
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| artifactId | string | chemin | Oui | Format : uuid |
Erreurs :
Point de terminaison : GET /v1/tenant/{tenantId}/processes/{processId}/artifacts
Authentification : Clé API limitée au tenant · portée read
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
| limit | integer | requête | Non | Nombre maximal d’éléments à renvoyer |
| offset | integer | requête | Non | Nombre d’éléments à ignorer |
Réponse (200) :
Liste des artefacts du processus
[
{
"id": "00000000-0000-0000-0000-000000000000",
"artifactId": "00000000-0000-0000-0000-000000000000",
"section": "string",
"artifact": {
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"description": "string",
"originalFileName": "string",
"mimeType": "string",
"kind": "Image",
"artifactType": "modelIcon",
"uploadState": "Uploading",
"hasThumbnail": true,
"sizeBytes": 0,
"createdAt": "2024-03-15T16:30:00Z",
"createdBy": "00000000-0000-0000-0000-000000000000"
}
}
] Erreurs :
Point de terminaison : POST /v1/tenant/{tenantId}/processes/{processId}/artifacts/uploads/presigned-url
Authentification : Clé API limitée au tenant · portée write
Paramètres :
| Nom | Type | Emplacement | Obligatoire | Description |
|---|---|---|---|---|
| tenantId | string | chemin | Oui | Format : uuid |
| processId | string | chemin | Oui | Format : uuid |
Corps de la requête :
{
"fileName": "string",
"mimeType": "string",
"sizeBytes": 0,
"artifactType": "modelIcon"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| fileName | string | Oui | |
| mimeType | string | Oui | |
| sizeBytes | number | Oui | |
| artifactType | modelIcon | processArtifact | doc | levelFrontPageImage | Non | Valeurs autorisées : modelIcon, processArtifact, doc, levelFrontPageImageValeur par défaut : processArtifact |
Réponse (200) :
URL d’importation pré-signée
{
"artifactId": "00000000-0000-0000-0000-000000000000",
"originalUrl": "string",
"thumbnailUrl": "string"
} | Champ | Type | Obligatoire | Description |
|---|---|---|---|
| artifactId | string | Oui | Format : uuid |
| originalUrl | string | Oui | |
| thumbnailUrl | string | Oui |
Erreurs :
Nous utilisons des cookies pour améliorer votre expérience, personnaliser le contenu et analyser le trafic. En cliquant sur « Tout accepter », vous consentez à l’utilisation de cookies.