Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Latest commit

 

History

History
65 lines (48 loc) · 1.35 KB

AccountApi.md

File metadata and controls

65 lines (48 loc) · 1.35 KB

IO.Swagger.Api.AccountApi

All URIs are relative to https://coda.io/apis/v1

Method HTTP request Description
Whoami GET /whoami Get user info

Whoami

User Whoami ()

Get user info

Returns basic info about the current user.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class WhoamiExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();

            try
            {
                // Get user info
                User result = apiInstance.Whoami();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.Whoami: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

User

Authorization

Bearer

HTTP request headers

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

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