...
Returns
Task<T>
API Endpoint
GET
api/v1/artifacts/{artifactId}
Parameters
Parameter | Description | Parameter Type |
---|
Sample request body
...
artifactId | Artifact id | Path |
Returns
On success, 200 Ok
...
Example
Code Block | ||
---|---|---|
| ||
public class SampleDocument
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
}
const int artifactId = 100;
var artifact = await ArtifactManager.GetById<SampleDocument>(artifactId); |