Skip to content

Latest commit

 

History

History
90 lines (64 loc) · 2.07 KB

TaskApi.md

File metadata and controls

90 lines (64 loc) · 2.07 KB

Com.Gridly.Api.TaskApi

All URIs are relative to https://api.gridly.com

Method HTTP request Description
Get GET /v1/tasks/{taskId} get

Get

Task Get (string taskId)

get

get

Example

using System.Collections.Generic;
using System.Diagnostics;
using Com.Gridly.Api;
using Com.Gridly.Client;
using Com.Gridly.Model;

namespace Example
{
    public class GetExample
    {
        public static void Main()
        {
            Configuration.Default.BasePath = "https://api.gridly.com";
            // Configure API key authorization: ApiKey
            Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");

            var apiInstance = new TaskApi(Configuration.Default);
            var taskId = "taskId_example";  // string | taskId

            try
            {
                // get
                Task result = apiInstance.Get(taskId);
                Debug.WriteLine(result);
            }
            catch (ApiException e)
            {
                Debug.Print("Exception when calling TaskApi.Get: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
taskId string taskId

Return type

Task

Authorization

ApiKey

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

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