Back to bricks list
Introduction
Technical Documentation
Tasks
Send the resource to a lab
Version

Send the resource to a lab

TASK
Typing name :  TASK.gws_core.SendResourceToLab Brick :  gws_core

Send a resource to another lab using a share link

Task to send a resource to another lab using a share link.

This task creates a share link for the resource.

Then it call the external lab API to import the resource in the external lab using the share link.

A credentials of type lab are required in both labs to be able to send and receive resources. It needs to be the same api_key in both labs.

Input

Resource to send

Configuration

credentials

The credentials must exist in destination lab

Type : credentials_param

link_duration

Optional

The share link is not created if a share link already exists for the resource

Type : intDefault value : 1