Transfer Action Provider: Create GCP Guest Collection
Synchronous / Asynchronous: Synchronous
The Create GCP Guest Collection action provider uses the Globus Transfer API’s Create Guest Collection resource to create a guest collection on a Globus Connect Personal host.
{
"host_endpoint": "aabbccdd-eeff-2233-4455-aabbccddeeff",
"host_path": "~/shared/",
"display_name": "My Guest Collection"
}
{
"action_id": "PbsSg2KHHyFG",
"completion_time": "2023-06-27 21:09:12.058825+00:00",
"creator_id": "urn:globus:auth:identity:12341234-abcd-abcd-abcd-123412341234",
"details": {
"DATA_TYPE": "endpoint_create_result",
"canonical_name": "u_abcd#12341234-abcd-abcd-abcd-123412341234",
"code": "Created",
"globus_connect_setup_key": null,
"id": "12341234-abcd-abcd-abcd-123412341234",
"message": "Shared endpoint created successfully",
"request_id": "yBzeD558j",
"resource": "/shared_endpoint"
},
"display_status": "SUCCEEDED",
"label": null,
"manage_by": [],
"monitor_by": [],
"release_after": null,
"start_time": "2023-06-27 21:09:10.688980+00:00",
"status": "SUCCEEDED"
}
{
"__COMMENT": "The resulting guest collection id will be `$.create_guest_result.details.id`",
"create_guest": {
"Type": "Action",
"ActionUrl": "https://transfer.actions.globus.org/gcp/create_guest_collection",
"Parameters": {
"display_name.$": "$.display_name",
"host_path.$": "$.path",
"host_endpoint.$": "$.endpoint_id"
},
"ResultPath": "$.create_guest_result"
}
}