dotnet-monitor/documentation/api/info.md

1.4 KiB

Info - Get

Gets information about the dotnet monitor version, the runtime version, and the diagnostic port settings.

HTTP Route

GET /info HTTP/1.1

Host Address

The default host address for these routes is https://localhost:52323.

Authentication

Authentication is enforced for this route. See Authentication for further information.

Responses

Name Type Description Content Type
200 OK Information about dotnet monitor formatted as JSON. application/json
400 Bad Request ValidationProblemDetails An error occurred due to invalid input. The response body describes the specific problem(s). application/problem+json
401 Unauthorized Authentication is required to complete the request. See Authentication for further information.

Examples

Sample Request

GET /info HTTP/1.1
Host: localhost:52323

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json

{
    "version": "6.0.0",
    "runtimeVersion": "6.0.0",
    "diagnosticPortMode": "Connect",
    "diagnosticPortName": null
}

Supported Runtimes

Operating System Runtime Version
Windows .NET Core 3.1, .NET 5+
Linux .NET Core 3.1, .NET 5+
MacOS .NET Core 3.1, .NET 5+