lib/fire_cloud_client.rb
# get a tsv file of requested workspace metadata entities of requested type
#
# * *params*
#   - +workspace_namespace+ (String) => namespace of workspace
#   - +workspace_name+ (String) => name of requested workspace
#   - +entities_file+ (File) => valid TSV import file of metadata entities (must be an open File handler)
#
# * *return*
#   -  String of entity type that was just created


*return
String of entity type that was just created
* return String of entity type that was just created
def import_workspace_entities_file(workspace_namespace, workspace_name, entities_file)
    path = self.api_root + "/api/workspaces/#{workspace_namespace}/#{workspace_name}/importEntities"
    entities_upload = {
        entities: entities_file
    }
    process_firecloud_request(:post, path, entities_upload, {file_upload: true})
  end
def import_workspace_entities_file ( workspace_namespace , workspace_name , entities_file ) path = self . api_root + "/api/workspaces/#{workspace_namespace}/#{workspace_name}/importEntities" entities_upload = { entities : entities_file } process_firecloud_request ( :post , path , entities_upload , { file_upload : true } ) end
get a tsv file of requested workspace metadata entities of requested type
 *params
 +workspace_namespace+ (String) => namespace of workspace
 +workspace_name+ (String) => name of requested workspace
 +entities_file+ (File) => valid TSV import file of metadata entities (must be an open File handler)
get a tsv file of requested workspace metadata entities of requested type * params + workspace_namespace + ( String ) = > namespace of workspace + workspace_name + ( String ) = > name of requested workspace + entities_file + ( File ) = > valid TSV import file of metadata entities ( must be an open File handler )
workspace_namespace
<not_specific>
workspace_name
<not_specific>
entities_file
<not_specific>