API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

Replace incident

PUT/v1/incidents/{id}

Full replace with optimistic locking.

Modèle de données

Cette opération porte sur l'entité Incident (incident). Les 32 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

  • Champs obligatoires : _id, tenantId, fingerprint, status, severity, title, source, openedAt
  • Gérés par le serveur : _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy, fingerprint, sourceRefs, openedAt, acknowledgedAt, acknowledgedBy, resolvedAt, resolvedBy, resolution, suppressedBy, escalationStateRef, notificationsSent. La plateforme attribue ces champs ; ils sont ignorés dans la requête.

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X PUT https://api.codemeta-os.de/v1/incidents/{id} \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.incidents.put();

Codes de réponse

HTTP Signification
200 Default Response

Recherche