1.0.8 • Published 9 years ago

synacta-jsclient v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

synacta-jsclient

Synacta - JavaScript client for synacta WebApi This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: v1
  • Build date: 2016-05-13T14:34:31.590Z
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen For more information, please visit http://www.agile-is.de/

Installation

For Node.js

npm

Install it via:

npm install synacta-jsclient --save

open the file ApiClient.js in javascript-client/src/ and change the basePath to your URL.

Maybe you need to add additional informations in the 'defaultHeader' or 'authentication' to authenticate.

bower

Install it via:

bower install synacta-jsclient

git

The library is hosted at a git repository, install it via:

https://github.com/AgileIS/Synacta-JSClient

For browser

Include synacta-jsclient.min.js in the HTML pages. Include synacta-clientconf.js in the HTML pages. Change the baseURL in synacta-clientconf.js to your URL.

In Script Block use:

var baseApi = new window.AIS.Synacta.repo.SynactaApi.BaseApi(); var orgApi = new window.AIS.Synacta.repo.SynactaApi.OrganisationApi(); ...

then with:

baseApi.apiBaseRootGet();

you start the request against the /base/root Route.

Getting Started

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

var Synacta = require('synacta-jsclient');

var baseApi = new Synacta.BaseApi();

var id = "id_example"; // {String} 


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

Documentation for API Endpoints

ClassMethodHTTP requestDescription
Synacta.AuthorizationApiapiAuthorizationPrincipalsByIdGetGET /_api/authorization/Principals/{id}
Synacta.AuthorizationApiapiAuthorizationPrincipalsGetGET /_api/authorization/Principals
Synacta.AuthorizationApiapiAuthorizationRightsGetGET /_api/authorization/Rights
Synacta.AuthorizationApiapiAuthorizationRolesAddGetGET /_api/authorization/Roles/Add
Synacta.AuthorizationApiapiAuthorizationRolesByIdDeleteDELETE /_api/authorization/Roles/{id}
Synacta.AuthorizationApiapiAuthorizationRolesByIdGetGET /_api/authorization/Roles/{id}
Synacta.AuthorizationApiapiAuthorizationRolesByIdPostPOST /_api/authorization/Roles/{id}
Synacta.AuthorizationApiapiAuthorizationRolesGetGET /_api/authorization/Roles
Synacta.AuthorizationApiapiAuthorizationRolesPutPUT /_api/authorization/Roles
Synacta.BaseApiapiBaseByTypeByIdAddByNewContainerTypeGetGET /_api/base/{type}/{id}/Add/{newContainerType}
Synacta.BaseApiapiBaseByTypeByIdAddPutPUT /_api/base/{type}/{id}/Add
Synacta.BaseApiapiBaseByTypeByIdCheckinPutPUT /_api/base/{type}/{id}/Checkin
Synacta.BaseApiapiBaseByTypeByIdCheckoutPutPUT /_api/base/{type}/{id}/Checkout
Synacta.BaseApiapiBaseByTypeByIdChildrenGetGET /_api/base/{type}/{id}/Children
Synacta.BaseApiapiBaseByTypeByIdChildrenTypesGetGET /_api/base/{type}/{id}/Children/Types
Synacta.BaseApiapiBaseByTypeByIdDeleteDELETE /_api/base/{type}/{id}
Synacta.BaseApiapiBaseByTypeByIdDocumentsGetGET /_api/base/{type}/{id}/Documents
Synacta.BaseApiapiBaseByTypeByIdDocumentsTypesGetGET /_api/base/{type}/{id}/Documents/Types
Synacta.BaseApiapiBaseByTypeByIdGetGET /_api/base/{type}/{id}
Synacta.BaseApiapiBaseByTypeByIdGetFileGetGET /_api/base/{type}/{id}/GetFile
Synacta.BaseApiapiBaseByTypeByIdLookupListByLookupListNameGetGET /_api/base/{type}/{id}/LookupList/{lookupListName}
Synacta.BaseApiapiBaseByTypeByIdMovePostPOST /_api/base/{type}/{id}/Move
Synacta.BaseApiapiBaseByTypeByIdPostPOST /_api/base/{type}/{id}
Synacta.BaseApiapiBaseByTypeByIdUploadFilePostPOST /_api/base/{type}/{id}/UploadFile
Synacta.BaseApiapiBaseByTypeByIdVersionsByVersionIdGetGET /_api/base/{type}/{id}/Versions/{versionId}
Synacta.BaseApiapiBaseByTypeByIdVersionsByVersionIdGetFileGetGET /_api/base/{type}/{id}/Versions/{versionId}/GetFile
Synacta.BaseApiapiBaseByTypeByIdVersionsByVersionIdRestorePostPOST /_api/base/{type}/{id}/Versions/{versionId}/Restore
Synacta.BaseApiapiBaseByTypeByIdVersionsGetGET /_api/base/{type}/{id}/Versions
Synacta.BaseApiapiBaseByTypeGetGET /_api/base/{type}
Synacta.BaseApiapiBaseRootGetGET /_api/base/Root
Synacta.BaseApiapiBaseTypesGetGET /_api/base/Types
Synacta.LoggingApiapiLogGetGET /_api/log
Synacta.OrganisationApiapiOrgByIdAddGetGET /_api/org/{id}/Add
Synacta.OrganisationApiapiOrgByIdAddPutPUT /_api/org/{id}/Add
Synacta.OrganisationApiapiOrgByIdByTypeGetGET /_api/org/{id}/{type}
Synacta.OrganisationApiapiOrgByIdChildrenGetGET /_api/org/{id}/Children
Synacta.OrganisationApiapiOrgByIdDeleteDELETE /_api/org/{id}
Synacta.OrganisationApiapiOrgByIdGetGET /_api/org/{id}
Synacta.OrganisationApiapiOrgByIdMovePostPOST /_api/org/{id}/Move
Synacta.OrganisationApiapiOrgByIdPostPOST /_api/org/{id}
Synacta.OrganisationApiapiOrgByIdRecycleBinByRecycleIdGetGET /_api/org/{id}/RecycleBin/{recycleId}
Synacta.OrganisationApiapiOrgByIdRecycleBinByRecycleIdRestorePostPOST /_api/org/{id}/RecycleBin/{recycleId}/Restore
Synacta.OrganisationApiapiOrgByIdRecycleBinGetGET /_api/org/{id}/RecycleBin
Synacta.OrganisationApiapiOrgGetGET /_api/org
Synacta.OrganisationApiapiOrgOrgTreeGetGET /_api/org/OrgTree

Documentation for Models

Documentation for Authorization

All endpoints require authorization.

1.0.8

9 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago