Required role: | Administrator |
All Verbs | /service/ApplyRelease | ||
---|---|---|---|
All Verbs | /service/ApplyRelease/{Key*} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Commit | form | string | No | |
Version | form | string | No | |
SemVer | form | Version | No | |
Tags | form | IEnumerable<string> | No | |
EnvTags | form | IEnumerable<EnvTags> | No | |
Branch | form | string | No | |
Client | form | string | No | |
UI | form | string | No | |
BuiltAt | form | DateTime | No | |
LastModifiedAt | form | DateTime | No | |
Size | form | long | No | |
Key | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}