new_storage_location {rDataPipeline}R Documentation

Post entry to storage_location table

Description

Upload information to the storage_location table in the data registry

Usage

new_storage_location(
  path,
  hash,
  public,
  storage_root_url,
  endpoint = "http://localhost:8000/api/"
)

Arguments

path

a string specifying the path from the storage_root URI to the item location, which when appended to storage_root URI produces a complete URL

hash

a string specifying the SHA1 hash of a file stored in storage_location

public

a boolean indicating whether the storage_location is public or not (default is TRUE)

storage_root_url

a string specifying the URL of an entry in the storage_root table

endpoint

a string specifying the registry endpoint

See Also

Other new functions: new_author(), new_code_repo_release(), new_code_run(), new_data_product(), new_external_object(), new_file_type(), new_issue(), new_keyword(), new_licence(), new_namespace(), new_object_component(), new_object(), new_quality_controlled(), new_storage_root(), new_user_author()


[Package rDataPipeline version 0.54.1 Index]