Get JSON By Id
Description
Get artifact JSON by an artifact id.
Package Details
Interface
IArtifactManager
Syntax
Task<string> GetJsonById(int artifactId);
Returns
Task<string>
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
Code Block | ||
---|---|---|
| ||
const artifactId= 100;
var artifact = await ArtifactManager.GetJsonById(artifactId); |