1.0.0 • Published 8 years ago

access-manager-api v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

access-manager-api

AccessManagerApi - JavaScript client for access-manager-api Access Manager ReST Interfaces. All returned objects are returned as child objects in the AMServiceDocument container. In addition, a Response object has the code attribute of SUCCESS if the response is successful. This API supports being called by Admins only. Delegated Admins are not supported. This SDK is automatically generated by the Swagger Codegen project:

  • API verion: V_1_0_0
  • Package version: V_1_0_0
  • Build date: 2016-03-25T18:36:20.277Z
  • 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 access-manager-api --save

git

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

npm install YOUR_USERNAME/access-manager-api --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 AccessManagerApi = require('access-manager-api');

var defaultClient = AccessManagerApi.ApiClient.default;

// Configure HTTP basic authorization: BasicAuth
var BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME'
BasicAuth.password = 'YOUR PASSWORD'

var api = new AccessManagerApi.AGClustersApi()

var resourceID = "resourceID_example"; // {String} The ID of the protected resource

var serviceID = "serviceID_example"; // {String} the proxy service ID

var proxyID = "proxyID_example"; // {String} the reverse proxy ID

var clusterID = "clusterID_example"; // {String} The Access Gateway Cluster ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProtectedResource(resourceID, serviceID, proxyID, clusterID, callback);

Documentation for API Endpoints

All URIs are relative to https://10.204.130.17:2443/amsvc/v1

ClassMethodHTTP requestDescription
AccessManagerApi.AGClustersApideleteProtectedResourceDELETE /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}/protectedresources/{resourceID}Deletes one protected resources
AccessManagerApi.AGClustersApigetAGClusterAlertsByIdGET /agclusters/{clusterID}/alertsGet the AG Cluster alerts
AccessManagerApi.AGClustersApigetAGClusterByIdGET /agclusters/{clusterID}Get the specified Access Gateway Cluster by ID
AccessManagerApi.AGClustersApigetAGClusterHealthByIdGET /agclusters/{clusterID}/healthGet the AG Cluster health
AccessManagerApi.AGClustersApigetAGClusterStatisticsByIdGET /agclusters/{clusterID}/statisticsGet the AG Cluster statistics
AccessManagerApi.AGClustersApigetAGClustersGET /agclustersGet a list of Access Gateway Clusters
AccessManagerApi.AGClustersApigetAGDeviceAlertsByIdGET /agclusters/{clusterID}/devices/{deviceID}/alertsGet the AG Device alerts
AccessManagerApi.AGClustersApigetAGDeviceByIdGET /agclusters/{clusterID}/devices/{deviceID}Get the specified AG Device from the AG Cluster
AccessManagerApi.AGClustersApigetAGDeviceHealthByIdGET /agclusters/{clusterID}/devices/{deviceID}/healthGet the AG Device health
AccessManagerApi.AGClustersApigetAGDeviceStatisticsByIdGET /agclusters/{clusterID}/devices/{deviceID}/statisticsGet the AG Device statistics
AccessManagerApi.AGClustersApigetAGDevicesGET /agclusters/{clusterID}/devicesGet a list of AG Devices for the requested AG Cluster ID
AccessManagerApi.AGClustersApigetProtectedResourceByIdGET /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}/protectedresources/{resourceID}Get a protected resource given the Resource ID and Proxy Service ID and Cluster ID
AccessManagerApi.AGClustersApigetProtectedResourcesGET /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}/protectedresourcesGet a list of protected resources
AccessManagerApi.AGClustersApigetProxyServiceByIdGET /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}Get the specified proxy service given the service ID and cluster ID
AccessManagerApi.AGClustersApigetProxyServicesGET /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservicesGet a list of proxy services given the cluster ID
AccessManagerApi.AGClustersApigetReverseProxiesGET /agclusters/{clusterID}/reverseproxiesGet a list of reverse proxies given the cluster ID
AccessManagerApi.AGClustersApigetReverseProxyByIdGET /agclusters/{clusterID}/reverseproxies/{proxyID}Get the specified reverse proxy given the proxy ID and cluster ID
AccessManagerApi.AGClustersApipostProtectedResourcePOST /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}/protectedresourcesAdd new protected resource to list
AccessManagerApi.AGClustersApiputProtectedResourcePUT /agclusters/{clusterID}/reverseproxies/{proxyID}/proxyservices/{serviceID}/protectedresources/{resourceID}Update a current protected resource
AccessManagerApi.AGClustersApiupdateAGClusterPUT /agclusters/{clusterID}Update an AG Cluster
AccessManagerApi.AGClustersApiupdateAGDevicePUT /agclusters/{clusterID}/devices/{deviceID}Update an AG Cluster Device
AccessManagerApi.AdminConsolesApigetAdminConsoleByIdGET /adminconsoles/{consoleID}Get an adminConsole by console ID
AccessManagerApi.AdminConsolesApigetAdminConsolesGET /adminconsolesGet the list of known admin consoles
AccessManagerApi.AlertsApigetAlertsGET /alertsGet system alerts
AccessManagerApi.ConnectorDefinitionsApiaddConnectorDefinitionPOST /connectordefinitionsAdd a connector definition to the definitions library
AccessManagerApi.ConnectorDefinitionsApideleteConnectorDefinitionDELETE /connectordefinitions/{definitionID}Delete a ConnectorDefinition from the definitions library
AccessManagerApi.ConnectorDefinitionsApigetConnectorDefinitionByIdGET /connectordefinitions/{definitionID}Get an connectordefinition from the library by connectordefinition instance ID
AccessManagerApi.ConnectorDefinitionsApigetConnectorDefinitionsGET /connectordefinitionsGet the list of connector definitions from the library
AccessManagerApi.ConnectorDefinitionsApiupdateConnectorDefinitionPUT /connectordefinitions/{definitionID}Update the connectorDefinition in the connectorDefinition library by connectorDefinition ID
AccessManagerApi.HealthApigetHealthGET /healthGet the system health
AccessManagerApi.IDPClustersApiaddAppmarkPOST /idpclusters/{clusterID}/appmarksAdd an appmark to the specified IDP cluster
AccessManagerApi.IDPClustersApiaddConnectorInstancePOST /idpclusters/{clusterID}/connectorinstancesAdd a connector instance to the specified IDP cluster
AccessManagerApi.IDPClustersApiaddServiceProviderPOST /idpclusters/{clusterID}/serviceprovidersAdd a service provider specified IDP cluster
AccessManagerApi.IDPClustersApideleteAppmarkDELETE /idpclusters/{clusterID}/appmarks/{appmarkID}Delete appmark
AccessManagerApi.IDPClustersApideleteConnectorInstanceByIdDELETE /idpclusters/{clusterID}/connectorinstances/{instanceID}Delete a connectorInstance by instanceID
AccessManagerApi.IDPClustersApideleteIDPSessionsDELETE /idpclusters/{clusterID}/sessionsDelete active IDP sessions
AccessManagerApi.IDPClustersApideleteManagedDeviceDELETE /idpclusters/{clusterID}/manageddevices/{deviceID}Delete a managed device from the IDP cluster
AccessManagerApi.IDPClustersApigetAppmarkByIdGET /idpclusters/{clusterID}/appmarks/{appmarkID}Get the specified Appmark from the IDP cluster
AccessManagerApi.IDPClustersApigetAppmarksGET /idpclusters/{clusterID}/appmarksGet a list of Appmarks for the requested IDP cluster ID
AccessManagerApi.IDPClustersApigetBrandingGET /idpclusters/{clusterID}/brandingGet the branding for the IDP cluster
AccessManagerApi.IDPClustersApigetConnectorInstanceGET /idpclusters/{clusterID}/connectorinstancesGet a list of connector instances by idp cluster
AccessManagerApi.IDPClustersApigetConnectorInstanceByIdGET /idpclusters/{clusterID}/connectorinstances/{instanceID}Get a Connector Instance by Id
AccessManagerApi.IDPClustersApigetContractByIdGET /idpclusters/{clusterID}/contracts/{contractID}Get the specified contract from the IDP cluster
AccessManagerApi.IDPClustersApigetContractsGET /idpclusters/{clusterID}/contractsGet a list of contracts for a specified IDP cluster
AccessManagerApi.IDPClustersApigetIDPClusterAlertsByIdGET /idpclusters/{clusterID}/alertsGet the IDP cluster alerts
AccessManagerApi.IDPClustersApigetIDPClusterByIdGET /idpclusters/{clusterID}Get the specified IDP cluster
AccessManagerApi.IDPClustersApigetIDPClusterHealthByIdGET /idpclusters/{clusterID}/healthGet the IDP cluster health
AccessManagerApi.IDPClustersApigetIDPClusterStatisticsByIdGET /idpclusters/{clusterID}/statisticsGet the IDP cluster statistics
AccessManagerApi.IDPClustersApigetIDPClustersGET /idpclustersGet a list of IDP clusters
AccessManagerApi.IDPClustersApigetIDPDeviceAlertsByIdGET /idpclusters/{clusterID}/devices/{deviceID}/alertsGet the IDP cluster alerts
AccessManagerApi.IDPClustersApigetIDPDeviceByIdGET /idpclusters/{clusterID}/devices/{deviceID}Get the specified device from the IDP cluster
AccessManagerApi.IDPClustersApigetIDPDeviceHealthByIdGET /idpclusters/{clusterID}/devices/{deviceID}/healthGet the IDP cluster health
AccessManagerApi.IDPClustersApigetIDPDeviceStatisticsByIdGET /idpclusters/{clusterID}/devices/{deviceID}/statisticsGet the IDP device statistics
AccessManagerApi.IDPClustersApigetIDPDevicesGET /idpclusters/{clusterID}/devicesGet a list of IDP devices for the requested IDP cluster ID
AccessManagerApi.IDPClustersApigetIDPSessionsGET /idpclusters/{clusterID}/sessionsGet a list of IDP sessions for the requested IDP cluster ID
AccessManagerApi.IDPClustersApigetIdentityProviderByIdGET /idpclusters/{clusterID}/identityproviders/{providerID}Get the IDP identity provider by ID
AccessManagerApi.IDPClustersApigetIdentityProvidersGET /idpclusters/{clusterID}/identityprovidersGet a list of IDP cluster identity providers
AccessManagerApi.IDPClustersApigetManagedDeviceByIdGET /idpclusters/{clusterID}/manageddevices/{deviceID}Get the IDP managed device by ID
AccessManagerApi.IDPClustersApigetManagedDevicesGET /idpclusters/{clusterID}/manageddevicesGet a list of IDP cluster managed devices
AccessManagerApi.IDPClustersApigetMethodByIdGET /idpclusters/{clusterID}/methods/{methodID}Get the specified method from the IDP cluster
AccessManagerApi.IDPClustersApigetMethodsGET /idpclusters/{clusterID}/methodsGet a list of methods for a specified IDP cluster
AccessManagerApi.IDPClustersApigetMobileAccessGET /idpclusters/{clusterID}/mobileaccessGet the MobileAccess object from the IDP cluster
AccessManagerApi.IDPClustersApigetMobileUsersGET /idpclusters/{clusterID}/mobileusersGet a list of IDP cluster mobile users
AccessManagerApi.IDPClustersApigetRolesGET /idpclusters/{clusterID}/rolesGet a list of roles for a specified IDP cluster
AccessManagerApi.IDPClustersApigetServiceProviderByIdGET /idpclusters/{clusterID}/serviceproviders/{providerID}Get the IDP service provider by ID
AccessManagerApi.IDPClustersApigetServiceProvidersGET /idpclusters/{clusterID}/serviceprovidersGet a list of IDP cluster service providers
AccessManagerApi.IDPClustersApiupdateAppmarkPUT /idpclusters/{clusterID}/appmarks/{appmarkID}Update an appmark in the IDP cluster
AccessManagerApi.IDPClustersApiupdateBrandingPUT /idpclusters/{clusterID}/brandingUpdate the branding for an IDP cluster by cluster ID
AccessManagerApi.IDPClustersApiupdateConnectorInstancePUT /idpclusters/{clusterID}/connectorinstances/{instanceID}Update a Connector Instance
AccessManagerApi.IDPClustersApiupdateIDPClusterPUT /idpclusters/{clusterID}Update an IDP cluster
AccessManagerApi.IDPClustersApiupdateIDPDevicePUT /idpclusters/{clusterID}/devices/{deviceID}Update an IDP cluster device
AccessManagerApi.IDPClustersApiupdateIdentityProviderMetadataPUT /idpclusters/{clusterID}/identityproviders/{providerID}/metadataUpdate the identity provider metadata by ID
AccessManagerApi.IDPClustersApiupdateMobileAccessPUT /idpclusters/{clusterID}/mobileaccessUpdate the MobileAccess object in the IDP cluster
AccessManagerApi.IDPClustersApiupdateServiceProviderMetadataPUT /idpclusters/{clusterID}/serviceproviders/{providerID}/metadataUpdate the service provider metadata by service provider ID
AccessManagerApi.IconsApiaddIconPOST /iconsAdd an icon to the icon library
AccessManagerApi.IconsApideleteIconDELETE /icons/{iconID}Delete an icon from the icon library
AccessManagerApi.IconsApigetIconByIdGET /icons/{iconID}Get an icon from the library by icon ID
AccessManagerApi.IconsApigetIconByIdAndFormatGET /icons/{iconID}.{iconFormat}Get an icon image from the library by icon ID
AccessManagerApi.IconsApigetIconMetadataByIdGET /icons/{iconID}/metadataGet an icon metadata only from the library by icon ID
AccessManagerApi.IconsApigetIconsGET /iconsGet the list of icons from the library
AccessManagerApi.IconsApiupdateIconPUT /icons/{iconID}Update the icon in the image library by icon ID
AccessManagerApi.PoliciesApigetPoliciesByIdGET /policycontainers/{containerID}/policiesGet the policy container policies by ID
AccessManagerApi.PoliciesApigetPolicyContainerByIdGET /policycontainers/{containerID}Get the policy container by ID
AccessManagerApi.PoliciesApigetPolicyContainersGET /policycontainersGet a list of policy containers
AccessManagerApi.SecurityApigetTrustedRootByIdGET /security/trustedroots/{trustedRootID}Get the trusted root certificate by ID. The ID of a trusted root is its display name.
AccessManagerApi.SecurityApiupdateCertificatePUT /security/certificates/{certificateID}Update the security certificate by certificate ID
AccessManagerApi.SecurityApiupdateTrustedRootPUT /security/trustedroots/{trustedRootID}Update an existing trusted root certificate by ID.
AccessManagerApi.StatisticsApigetStatisticsGET /statisticsGet the system statistics
AccessManagerApi.VersionApigetVersionGET /versionGet the version of this API

Documentation for Models

Documentation for Authorization

BasicAuth

  • Type: HTTP basic authentication
1.0.0

8 years ago