Retrieve metadata for a project from an ArtifactDB using its REST endpoints.

getProjectMetadata(project, url, version = NULL)

Arguments

project

String containing the name of a project.

url

String containing the URL of the ArtifactDB REST endpoint.

version

String specifying the version or revision of the project for which to retrieve metadata.

Value

A list is returned containing metadata for all files from a project. If version is specified, files are only returned for that version of the project.

See also

getFileMetadata, to get metadata for a specific file.

Author

Aaron Lun

Examples

# Project-wide metadata for a single version:
out <- getProjectMetadata(example.project, version=example.version, url=example.url)
length(out)
#> [1] 3

# Project-wide metadata, all versions:
out <- getProjectMetadata(example.project, url = example.url)
length(out)
#> [1] 6