Skip to content
Start here

Resources

List share resources by share ID
client.ResourceSharing.Resources.List(ctx, shareID, params) (*V4PagePaginationArray[ResourceListResponse], error)
GET/accounts/{account_id}/shares/{share_id}/resources
Get share resource by ID
client.ResourceSharing.Resources.Get(ctx, shareID, shareResourceID, query) (*ResourceGetResponse, error)
GET/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}
Trigger a resource addition to a share
client.ResourceSharing.Resources.New(ctx, shareID, params) (*ResourceNewResponse, error)
POST/accounts/{account_id}/shares/{share_id}/resources
Trigger a resource metadata update in a share
client.ResourceSharing.Resources.Update(ctx, shareID, shareResourceID, params) (*ResourceUpdateResponse, error)
PUT/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}
Trigger a resource deletion from a share
client.ResourceSharing.Resources.Delete(ctx, shareID, shareResourceID, body) (*ResourceDeleteResponse, error)
DELETE/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}