Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.76 KB

TimezoneApi.md

File metadata and controls

58 lines (35 loc) · 1.76 KB

\TimezoneApi

All URIs are relative to https://api.uptrends.com/v4

Method HTTP request Description
TimezoneGetAllTimezones Get /Timezone Gets all timezones available.
TimezoneGetTimezoneById Get /Timezone/{timezoneId} Gets the timezone with the specified Id.

TimezoneGetAllTimezones

[]Timezone TimezoneGetAllTimezones(ctx, ) Gets all timezones available.

Required Parameters

This endpoint does not need any parameter.

Return type

[]Timezone

Authorization

No authorization required

HTTP request headers

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

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

TimezoneGetTimezoneById

Timezone TimezoneGetTimezoneById(ctx, timezoneId) Gets the timezone with the specified Id.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
timezoneId int32

Return type

Timezone

Authorization

No authorization required

HTTP request headers

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

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