Add(int serviceId, string alias, int version, string serviceArtifactData)

Description

Creates a new service artifact in the database.

 

Syntax

Add(int serviceId, string alias, int version, string serviceArtifactData)

 

Returns

Task<ServiceArtifactInfo>

 

API

POST /api/v1/service-artifact

 

Parameters

serviceId: service ID (required)
alias: alias of the service artifact (required)
version: version of the service artifact (required)
serviceArtifact: artifact content/text in JSON representation.

 

Returns

200 OK - ServiceArtifactInfo object.