new_storage_location: Post entry to storage_location table

Description Usage Arguments See Also

View source: R/new_storage_location.R

Description

Upload information to the storage_location table in the data registry

Usage

1
2
3
4
5
6
7
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()


rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.