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 |
---|
Sample request body
...
language | json |
---|
artifactId | An artifact id | Path |
Returns
On success, 200 Ok
...
Example
Code Block | ||
---|---|---|
| ||
const artifactId= 100;
var artifact = await ArtifactManager.GetJsonById(artifactId); |