LimsRefClass_PUSH: PUSH a file - not really a RESTful action but a combination...

LimsRefClass_PUSHR Documentation

PUSH a file - not really a RESTful action but a combination of steps

Description

given an artifact node and a filename if the artifact has a file then DELETE the file resource create an unresolved file resource POST the unresolved file resource to 'glsstore' to get a resolved file resource Upload the file (scp, cp, or curl) POST the resolved file resource to 'files' return the resolved file resource

Arguments

x

ArtifactRefClass of the artifact to attach to

...

further arguments for httr::GET/DELETE/POST

filename

character, the fully qualified name of the file we are pushing Note that the caller must specify filename = 'some/file/name' explicitly.

use

character the type of file transfer to use: scp, cp or curl

verbose

logical, if TRUE output messages for debugging

Value

XML::xmlNode or FileRefClass

See Also

Other Lims: LimsRefClass-class, LimsRefClass_ATTACH, LimsRefClass_BROWSE, LimsRefClass_DELETE, LimsRefClass_POST, LimsRefClass_PUT, LimsRefClass_check, LimsRefClass_get_artifactgroups, LimsRefClass_get_byLimsid, LimsRefClass_uri, LimsRefClass_userpwd, LimsRefClass_validate_session, get_NSMAP


BigelowLab/genologicsr documentation built on June 7, 2024, 3:15 a.m.