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

Description Arguments Value See Also

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: duck, scp, cp or curl

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 May 5, 2019, 2:42 p.m.