Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Latest commit

 

History

History
71 lines (50 loc) · 1.7 KB

File metadata and controls

71 lines (50 loc) · 1.7 KB

LaunchDarkly.Api.Api.RootApi

All URIs are relative to https://app.launchdarkly.com/api/v2

Method HTTP request Description
GetRoot GET /

GetRoot

Links GetRoot ()

You can issue a GET request to the root resource to find all of the resource categories supported by the API.

Example

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 );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Links

Authorization

Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]