EMUN1 ASP.NET

<back to all web services

ApplyRelease

Requires Authentication
Required role:Administrator
The following routes are available for this service:
All Verbs/service/ApplyRelease
All Verbs/service/ApplyRelease/{Key*}
AppRelease Parameters:
NameParameterData TypeRequiredDescription
CommitformstringNo
VersionformstringNo
SemVerformVersionNo
TagsformIEnumerable<string>No
EnvTagsformIEnumerable<EnvTags>No
BranchformstringNo
ClientformstringNo
UIformstringNo
BuiltAtformDateTimeNo
LastModifiedAtformDateTimeNo
SizeformlongNo
KeyformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/ApplyRelease HTTP/1.1 
Host: www.bernhardt.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	commit: String,
	version: String,
	semVer: 
	{
		major: 0,
		minor: 0,
		build: -1,
		revision: -1,
		majorRevision: -1,
		minorRevision: -1
	},
	branch: String,
	client: String,
	ui: String,
	builtAt: 0001-01-01,
	lastModifiedAt: 0001-01-01,
	size: 0,
	key: String
}