News and Blog Postings from the EnterMedia DAM team.

Using REST API to integrate EnterMedia with other applications

We have received several requests from users who are interested in using EnterMedia through other applications. Below is one client's question and our response how the integration might be done.


Question: We want to use EnterMedia for the following tasks through our application:

·Retrieve a list of Categories and Create Categories in EnterMedia

·Retrieve a list of values for a Field

·Create Fields In a Category

·Search for Assets to return a list of Assets (including Metadata specified dynamically) based on Catalog, Category, Field

·Upload Asset to a Catalog and also apply categories and other metadata to the Asset

A java based Web service might work for us but we are open to suggestions. The input and output parameters for the calls are an xml (the schema for the xml is not developed yet so we are open to suggestions on this).


EnterMedia Response: While we don't have a full webservice we do have a REST API.  I think you'll be able to use our new REST API to accomplish all of your goals.  As I said the API is new, so as of right now you can only get a list of catalogs and a list of all of the assets in a catalog.  We will be adding a lot more to the API in the near future, and I think we'll be able to meet all of your requests.

There is some sparse documentation at http://entermediasoftware.com/docs/rest/index.html.  In our examples, we use jQuery to send HTML requests to the server and to parse responses from the server.  This could be done in Java, but we used jQuery because it's quick and easy.  If you would like an example of a Java client, let us know and we'll see what we can do.  If you would like to add to the API yourselves, I encourage you look at the source code and ask us any questions that you have.
 

Log in or post as Anonymous:

Submission test: 4+4=