GetInfo()
Get Info
Description
Get artifact information by using an artifact id.
Package Details
Interface
IArtifactManager
Syntax
Task<ArtifactInfo> GetInfo(int artifactId);
Returns
Task<ArtifactInfo>
API Endpoint
GET
api/v1/artifacts/{artifactId}
Parameters
Parameter | Description | Parameter Type |
---|---|---|
artifactId | An artifact id | Path |
Returns
On success, 200 Ok
On error, 400 Bad Request
On authorization error, 403 Forbidden
Example
const int artifactId = 100;
var artifact = await ArtifactManager.GetInfo(artifactId);