Neural Link

Ajouter un nœud

Ajoute un nœud au canvas d'un projet. La position est auto-calculée si non fournie.

post/api/v1/neural-link/projects/{uuid}/nodes

Request

  • Base URL: https://lucidnest.test
  • URL: https://lucidnest.test/api/v1/neural-link/projects/{uuid}/nodes
  • Auth: HTTP bearer

Request body

typestring required

Type du nœud (idea, feature, task, note, question).

labelstring required

Libellé du nœud.

position_xnumber nullable

Position X.

position_ynumber nullable

Position Y.

dataobject nullable

Données additionnelles.

styleobject nullable

Style CSS du nœud.

parent_idstring nullable

UUID du nœud parent.

Example request

{
  "type": "task",
  "label": "Implémenter l'auth",
  "position_x": 100,
  "position_y": 200,
  "parent_id": "architecto"
}

Response

successboolean

Example response

{
  "success": true,
  "node": {
    "id": "node-uuid",
    "type": "task",
    "label": "Implémenter l'auth",
    "position": {
      "x": 100,
      "y": 200
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.