Skip to content

taipy.rest.api.views.DataNodeWriter

Bases: Resource

Single object resource


put
  • api summary: Write into a data node. description: | Write data from request body into a data node by datanode_id. If the data node does not exist, a 404 error is returned.

!!! Note When the authorization feature is activated (available in the Enterprise edition only), this endpoint requires TAIPY_EDITOR role.

Code example:

  curl -X PUT -d '[{"path": "/abc", "type": 1}, {"path": "/def", "type": 2}]' -H 'Content-Type: application/json'  http://localhost:5000/api/v1/datanodes/DATANODE_my_config_75750ed8-4e09-4e00-958d-e352ee426cc9/write

parameters: - in: path name: datanode_id schema: type: string requestBody: content: application/json: schema: Any responses: 200: content: application/json: schema: type: object properties: message: type: string description: Status message. 404: description: No data node has the datanode_id identifier.