4.0.31 • Published 6 years ago

lean_ix_pathfinder_rest_api v4.0.31

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
6 years ago

lean_ix_pathfinder_rest_api

LeanIxPathfinderRestApi - JavaScript client for lean_ix_pathfinder_rest_api Core application for storage and analysis of IT landscape data This SDK is automatically generated by the Swagger Codegen project:

  • API version: 4.0.31
  • Package version: 4.0.31
  • Build date: 2018-02-25T22:17:25.217+01:00
  • Build package: class 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 lean_ix_pathfinder_rest_api --save

git

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

    npm install GIT_USER_ID/GIT_REPO_ID --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 LeanIxPathfinderRestApi = require('lean_ix_pathfinder_rest_api');

var defaultClient = LeanIxPathfinderRestApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: token
var token = defaultClient.authentications['token'];
token.accessToken = "YOUR ACCESS TOKEN"

var api = new LeanIxPathfinderRestApi.AssetsApi()

var asset = "asset_example"; // {String} 


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

Documentation for API Endpoints

All URIs are relative to https://localhost/services/pathfinder/v1

ClassMethodHTTP requestDescription
LeanIxPathfinderRestApi.AssetsApideleteAssetDELETE /assets/{asset}deleteAsset
LeanIxPathfinderRestApi.AssetsApidownloadAssetGET /assets/{asset}downloadAsset
LeanIxPathfinderRestApi.AssetsApiupsertAssetPOST /assets/{asset}upsertAsset
LeanIxPathfinderRestApi.BookmarksApicreateBookmarkPOST /bookmarkscreateBookmark
LeanIxPathfinderRestApi.BookmarksApideleteBookmarkDELETE /bookmarks/{id}deleteBookmark
LeanIxPathfinderRestApi.BookmarksApigetBookmarkGET /bookmarks/{id}getBookmark
LeanIxPathfinderRestApi.BookmarksApigetBookmarksGET /bookmarksgetBookmarks
LeanIxPathfinderRestApi.BookmarksApiupdateBookmarkPUT /bookmarks/{id}updateBookmark
LeanIxPathfinderRestApi.DocumentsApidownloadDocumentGET /documents/{documentId}/downloaddownloadDocument
LeanIxPathfinderRestApi.ExportsApicreateExportFilePOST /exports/excelcreateExportFile
LeanIxPathfinderRestApi.ExportsApicreateFullExportPOST /exports/fullExportcreateFullExport
LeanIxPathfinderRestApi.ExportsApidownloadExportFileGET /exports/downloads/{workspaceId}downloadExportFile
LeanIxPathfinderRestApi.ExportsApigetExportsGET /exportsgetExports
LeanIxPathfinderRestApi.FactSheetsApiarchiveFactSheetDELETE /factSheets/{id}deleteFactSheet
LeanIxPathfinderRestApi.FactSheetsApicreateFactSheetPOST /factSheetscreateFactSheet
LeanIxPathfinderRestApi.FactSheetsApicreateFactSheetRelationPOST /factSheets/{id}/relationscreateFactSheetRelation
LeanIxPathfinderRestApi.FactSheetsApideleteFactSheetRelationDELETE /factSheets/{id}/relations/{relationId}deleteFactSheetRelation
LeanIxPathfinderRestApi.FactSheetsApigetFactSheetGET /factSheets/{id}getFactSheet
LeanIxPathfinderRestApi.FactSheetsApigetFactSheetRelationsGET /factSheets/{id}/relationsgetFactSheetRelations
LeanIxPathfinderRestApi.FactSheetsApigetFactSheetsGET /factSheetsgetFactSheets
LeanIxPathfinderRestApi.FactSheetsApiupdateFactSheetPUT /factSheets/{id}updateFactSheet
LeanIxPathfinderRestApi.FactSheetsApiupdateFactSheetRelationPUT /factSheets/{id}/relations/{relationId}updateFactSheetRelation
LeanIxPathfinderRestApi.FeaturesApigetFeaturesGET /featuresgetFeatures
LeanIxPathfinderRestApi.GraphqlApiprocessGraphQLPOST /graphqlprocessGraphQL
LeanIxPathfinderRestApi.GraphqlApiprocessGraphQLMultipartPOST /graphql/uploadprocessGraphQLMultipart
LeanIxPathfinderRestApi.ModelsApigetAuthorizationGET /models/authorizationgetAuthorization
LeanIxPathfinderRestApi.ModelsApigetDataModelGET /models/dataModelgetDataModel
LeanIxPathfinderRestApi.ModelsApigetEnrichedDataModelGET /models/dataModel/enrichedgetEnrichedDataModel
LeanIxPathfinderRestApi.ModelsApigetLanguageGET /models/languages/{id}getLanguage
LeanIxPathfinderRestApi.ModelsApigetReportingModelGET /models/reportingModelgetReportingModel
LeanIxPathfinderRestApi.ModelsApigetViewModelGET /models/viewModelgetViewModel
LeanIxPathfinderRestApi.ModelsApiupdateAuthorizationPUT /models/authorizationupdateAuthorization
LeanIxPathfinderRestApi.ModelsApiupdateDataModelPUT /models/dataModelupdateDataModel
LeanIxPathfinderRestApi.ModelsApiupdateLanguagePUT /models/languages/{id}updateLanguage
LeanIxPathfinderRestApi.ModelsApiupdateReportingModelPUT /models/reportingModelupdateReportingModel
LeanIxPathfinderRestApi.ModelsApiupdateViewModelPUT /models/viewModelupdateViewModel
LeanIxPathfinderRestApi.TodosApicreateTodoPOST /todoscreateTodo
LeanIxPathfinderRestApi.TodosApideleteTodoDELETE /todos/{id}deleteTodo
LeanIxPathfinderRestApi.TodosApigetTodoGET /todos/{id}getTodo
LeanIxPathfinderRestApi.TodosApigetTodosGET /todosgetTodos
LeanIxPathfinderRestApi.TodosApiupdateTodoPUT /todos/{id}updateTodo

Documentation for Models

Documentation for Authorization

token

  • Type: OAuth
  • Flow: implicit
  • Authorization URL: depends
  • Scopes: N/A