1.0.1 • Published 7 years ago

thomas_schwarz_whitney v1.0.1

Weekly downloads
1
License
Unlicense
Repository
-
Last release
7 years ago

thomas_schwarz_whitney

ThomasSchwarzWhitney - JavaScript client for thomas_schwarz_whitney No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.1
  • Package version: 1.0.1
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install thomas_schwarz_whitney --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/thomas_schwarz_whitney then install it via:

    npm install YOUR_USERNAME/thomas_schwarz_whitney --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var ThomasSchwarzWhitney = require('thomas_schwarz_whitney');

var defaultClient = ThomasSchwarzWhitney.ApiClient.instance;

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

var api = new ThomasSchwarzWhitney.DefaultApi()

var alias = "alias_example"; // {String} Alias within dataset


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.countryAliasesAliasDelete(alias, callback);

Documentation for API Endpoints

All URIs are relative to https://65ecdpsr0k.execute-api.us-west-2.amazonaws.com/referencedata

ClassMethodHTTP requestDescription
ThomasSchwarzWhitney.DefaultApicountryAliasesAliasDeleteDELETE /country/aliases/{alias}
ThomasSchwarzWhitney.DefaultApicountryAliasesAliasGetGET /country/aliases/{alias}
ThomasSchwarzWhitney.DefaultApicountryAliasesAliasPatchPATCH /country/aliases/{alias}
ThomasSchwarzWhitney.DefaultApicountryAliasesAliasPutPUT /country/aliases/{alias}
ThomasSchwarzWhitney.DefaultApicountryAliasesGetGET /country/aliases
ThomasSchwarzWhitney.DefaultApicountryAliasesPatchPATCH /country/aliases
ThomasSchwarzWhitney.DefaultApicountryAliasesPostPOST /country/aliases
ThomasSchwarzWhitney.DefaultApicountryColumnsCNameDeleteDELETE /country/columns/{cName}
ThomasSchwarzWhitney.DefaultApicountryColumnsCNameGetGET /country/columns/{cName}
ThomasSchwarzWhitney.DefaultApicountryColumnsCNamePutPUT /country/columns/{cName}
ThomasSchwarzWhitney.DefaultApicountryColumnsGetGET /country/columns
ThomasSchwarzWhitney.DefaultApicountryColumnsPostPOST /country/columns
ThomasSchwarzWhitney.DefaultApicountryDeleteDELETE /country
ThomasSchwarzWhitney.DefaultApicountryGetGET /country
ThomasSchwarzWhitney.DefaultApicountryImportsCsvGetGET /country/imports/csv
ThomasSchwarzWhitney.DefaultApicountryImportsCsvPostPOST /country/imports/csv
ThomasSchwarzWhitney.DefaultApicountryImportsCsvUuidGetGET /country/imports/csv/{uuid}
ThomasSchwarzWhitney.DefaultApicountryItemsDeleteDELETE /country/items
ThomasSchwarzWhitney.DefaultApicountryItemsGetGET /country/items
ThomasSchwarzWhitney.DefaultApicountryItemsIdDeleteDELETE /country/items/{id}
ThomasSchwarzWhitney.DefaultApicountryItemsIdGetGET /country/items/{id}
ThomasSchwarzWhitney.DefaultApicountryItemsIdPatchPATCH /country/items/{id}
ThomasSchwarzWhitney.DefaultApicountryItemsIdPutPUT /country/items/{id}
ThomasSchwarzWhitney.DefaultApicountryItemsPatchPATCH /country/items
ThomasSchwarzWhitney.DefaultApicountryItemsPostPOST /country/items
ThomasSchwarzWhitney.DefaultApicountryPermissionsOwnersPostPOST /country/permissions/owners/
ThomasSchwarzWhitney.DefaultApicountryPermissionsOwnersUserCredentialDeleteDELETE /country/permissions/owners/{userCredential}
ThomasSchwarzWhitney.DefaultApicountryPermissionsViewers1UserCredentialDeleteDELETE /country/permissions/viewers/1/{userCredential}
ThomasSchwarzWhitney.DefaultApicountryPermissionsViewersPostPOST /country/permissions/viewers
ThomasSchwarzWhitney.DefaultApicountryPutPUT /country
ThomasSchwarzWhitney.DefaultApicountrySearchGetGET /country/search
ThomasSchwarzWhitney.DefaultApicountrySearchScoredGetGET /country/search/scored
ThomasSchwarzWhitney.DefaultApicountryVers1DeleteDELETE /country/vers/1
ThomasSchwarzWhitney.DefaultApicountryVers1GetGET /country/vers/1
ThomasSchwarzWhitney.DefaultApicountryVers1ItemsGetGET /country/vers/1/items
ThomasSchwarzWhitney.DefaultApicountryVers1ItemsIdGetGET /country/vers/1/items/{id}
ThomasSchwarzWhitney.DefaultApicountryVers1SearchGetGET /country/vers/1/search
ThomasSchwarzWhitney.DefaultApicountryVers1SearchScoredGetGET /country/vers/1/search/scored
ThomasSchwarzWhitney.DefaultApicountryVersGetGET /country/vers
ThomasSchwarzWhitney.DefaultApicountryVersPostPOST /country/vers
ThomasSchwarzWhitney.DefaultApiswaggerCountry1GetGET /swagger/country/1
ThomasSchwarzWhitney.DefaultApiswaggerCountryGetGET /swagger/country

Documentation for Models

Documentation for Authorization

api-key

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header