All URIs are relative to https://app.launchdarkly.com/api/v2
| Method | HTTP request | Description |
|---|---|---|
| GetRoot | GET / |
Links GetRoot ()
You can issue a GET request to the root resource to find all of the resource categories supported by the API.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class GetRootExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new RootApi();
try
{
Links result = apiInstance.GetRoot();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling RootApi.GetRoot: " + e.Message );
}
}
}
}This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]