PackagesApi Type
Client for GitLab Package Registry operations, focused on generic packages. See the .
Constructors
| Constructor |
Description
|
Full Usage:
PackagesApi(baseUrl, auth, http)
Parameters:
string
auth : Authentication
http : IHttpClient
Returns: PackagesApi
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.DownloadGenericFileAsync
Parameters:
int
-
The project identifier.
packageName : string
-
The generic package name.
version : string
-
The generic package version.
fileName : string
-
The package file name.
Returns: Async<string>
|
Downloads a generic package file as text.
|
Full Usage:
this.DownloadROCrateAsync
Parameters:
int
-
The ARC project's numeric identifier.
Returns: Async<string>
The raw JSON-LD metadata text from the generated RO-Crate export.
|
Downloads a project's currently available generated main-branch ARC RO-Crate export as JSON-LD text. The export is not regenerated and is not guaranteed to represent the latest commit on the main branch.
Downloads
|
|
|
|
|
Full Usage:
this.UploadGenericFileAsync
Parameters:
int
-
The project identifier.
packageName : string
-
The generic package name.
version : string
-
The generic package version.
fileName : string
-
The package file name.
content : string
-
The file content to upload.
Returns: Async<string>
|
Uploads a generic package file.
|
DataHubClient