Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

artifactId

An artifact id

Path

Returns

On success, 200 Ok

...

Example

Code Block
languagec#
const artifactId= 100;
var artifact = await ArtifactManager.GetJsonById(artifactId);