Upload information to the storage_location table in the data registry
new_storage_location(
path,
hash,
public,
storage_root_url,
endpoint = "http://127.0.0.1:8000/api/"
)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
a string specifying the SHA1 hash of a file stored in
storage_location
a boolean indicating whether the storage_location
is public or not (default is TRUE)
a string specifying the URL of an entry in
the storage_root table
a string specifying the registry endpoint
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(),
new_object_component(),
new_quality_controlled(),
new_storage_root(),
new_user_author()