LimsRefClass_ATTACH: ATTACH a file - not really a RESTful action but a combination...

Description Arguments Details Value See Also

Description

Differs from PUSH as this is not placed into a genealogical placeholder. but is simple attached to 'Files' tab if such exists as it does for Process and Project. Thus there is no DELETE involved like there might be with a PUSH.

Arguments

x

ArtifactRefClass, ProcessRefClass or ProjectRefClass to attach to

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

Details

given an [Project,Artifact,Process] node and a filename 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

Value

FileRefClass, NULL or ExceptionRefClass

See Also

Other Lims: LimsRefClass-class, LimsRefClass_BROWSE, LimsRefClass_DELETE, LimsRefClass_POST, LimsRefClass_PUSH, 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.