Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 2.12 KB

LocalizationsApi.md

File metadata and controls

65 lines (43 loc) · 2.12 KB

DyspatchClient.LocalizationsApi

All URIs are relative to https://api.dyspatch.io

Method HTTP request Description
localizationsLocalizationIdGet GET /localizations/{localizationId} Get Localization Object by ID

localizationsLocalizationIdGet

LocalizationRead localizationsLocalizationIdGet(localizationId, accept)

Get Localization Object by ID

Returns a specific localization object with a matching ID

Example

var DyspatchClient = require('dyspatch-client');
var defaultClient = DyspatchClient.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';

var apiInstance = new DyspatchClient.LocalizationsApi();

var localizationId = "localizationId_example"; // String | A localization ID

var accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2018.08\", set the value to \"application/vnd.dyspatch.2018.08+json\"


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.localizationsLocalizationIdGet(localizationId, accept, callback);

Parameters

Name Type Description Notes
localizationId String A localization ID
accept String A version of the API that should be used for the request. For example, to use version "2018.08", set the value to "application/vnd.dyspatch.2018.08+json"

Return type

LocalizationRead

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.dyspatch.2018.08+json