Server Metadata
GET/v2/
The server metadata endpoint provides information about the server. A server metadata request is made with an HTTP GET to a server metadata endpoint. In the corresponding response the HTTP body contains the Server Metadata Response JSON Object or the Server Metadata Response JSON Error Object.
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
versionstringrequired
extensionsstring[]required
{
"name": "string",
"version": "string",
"extensions": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
{
"error": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://deploy-preview-601--elastic-nobel-0aef7a.netlify.app/v2/");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear