GetLatestJson(string alias, int? serviceId = null, int? version = null)

Description

Returns the latest (largest) version of a service artifact given its name. This can be optionally filtered on service ID and/or version.

 

Syntax

GetLatestJson(string alias, int? serviceId = null, int? version = null)

 

Returns

Task<string>

 

API

GET /api/v1/service-artifact/latest

 

Parameters

alias: alias of the service artifact (required)
serviceIdservice ID (optional)
version: version of the service artifact (optional)

 

Returns

200 OK - string object.