nodes_datalinks_retry_create
const url = 'https://example.com/api/nodes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/datalinks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry';const options = { method: 'POST', headers: { 'X-Workspace': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/nodes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/datalinks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry \ --header 'Authorization: Bearer <token>' \ --header 'X-Workspace: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'Run again the enrichment of the data of a datalink.
Accepted when the data is failed, or when it is in progress although
nothing enriches it any longer: its task is over, was cancelled, or was
queued longer ago than a task may run. The data turns in progress and
a new task, identified by task_id, reads it from its source.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A UUID string identifying this data link.
Header Parameters
Section titled “Header Parameters”Workspace ID
Responses
Section titled “Responses”Serializer for the answer to the retry of the enrichment of a datalink.
object
Serializer for Datalink.
object
Return serialized data object with request context.
Parameters
obj : DataLink The object containing the data that needs to be serialized.
Returns
DatalinkDataSerializer A DatalinkDataSerializer object is being returned, with the data attribute of the input obj and the context set to include the request from the current context.
object
Return the interactor information of the object’s creator.
Parameters
obj : DataLink The object containing the creator information.
Returns
dict The interactor information of the creator.
object
Example generated
{ "task_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "datalink": { "node": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "data": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }}object
object
Example
{ "code": "forbidden", "message": "You do not have permission to perform this operation. Check the `details` property for more details.", "details": [ { "parameter": "node", "message": "Your role does not allow creation for this node.", "code": "permission_denied" } ]}object
object
Example
{ "code": "object_not_found", "message": "Object not found. Check the `details` property for more details.", "details": [ { "parameter": "<id>", "code": "does_not_exist", "message": "\"<id>\" does not exist." } ]}object
object
Example
{ "code": "data_enrichment_not_retriable", "message": "The enrichment of the data cannot be run again.", "details": [ { "parameter": "data", "message": "Data '<data id>' is already enriched.", "code": "active" } ]}
