BuildInfo
Controller for getting information about the application.
GetInfo
Returns the version, build date, build configuration, and application name.
Request Example:
$.ajax({
url: "http://localhost:84/api/info",
type: "GET",
success: function(d) {
console.log(d);
},
error: function(d) {
console.error(d.responseText);
}
});
Request
GET /api/Info
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Returns the build info |
|
500 | Server Error |
HeadInfo
Returns the version, build date, build configuration, and application name.
Request Example:
$.ajax({
url: "http://localhost:84/api/info",
type: "HEAD",
success: function(d) {
console.log(d);
},
error: function(d) {
console.error(d.responseText);
}
});
Request
HEAD /api/Info
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Returns the build info in response headers |
||
500 | Server Error |
Definitions
BuildInfo
Application details.
Name | Type | Notes |
---|---|---|
version | string | The build version. |
buildDate | string | The build date. |
configuration | string | The build configuration. |
appName | string | The application name. |