The API functionality allows external applications to connect to Asset Bank to perform searches and retrieve assets.
The API (Application Programming Interface) allows external applications to connect to Asset Bank to search and retrieve assets.
We are happy to provide help to your developers in their use of the API, we charge for this on a Time & Materials basis.
Asset Bank's REST API is detailed in this document: REST API v1.3.8.
The URL of your REST API will be the URL of your Asset Bank (including the webapp name) plus /rest, for example: http://yourassetbank/asset-bank/rest
The API functionality can be restricted to only allow connections from certain clients (i.e. the applications calling it), based on their IP address. This option should be used when the Asset Bank server is accessible from the internet to prevent unauthorised requests. We recommend that you only allow access to the API from machines that are used only as servers, and not as web-browsing clients, to avoid the risk of CSRF attacks. If required the API functionality can be configured so that Asset Bank allows connections from any client, however this should only be used if the Asset Bank server is within a private network.
The ApplicationSettings.properties settings needed to enable the API are:
api-restrict-by-ip=[true or false]
api-allowed-ip-addresses=[comma separated list of ip addresses]
In versions of AssetBank later than 3.1723, the API application settings have been moved inside the application and can be changed without the need for an application restart by navigating to:
Admin > System > REST API Settings
Direct Link Cache
The 'direct link cache' enables clients (which can be browsers) to call a URL that converts and returns an image based on request parameters. This can be used to display images resized to particular requirements. See Direct Link Cache