You are here: Web API Functions > getitem

getitem

The getitem command downloads an item hosted by Express Server.

NOTE: This command is disabled unless explicitly enabled in the catalog configuration file (catalogs.xml). See Changing Download Policy.

Syntax

The getitem command may be invoked in several ways.

The following downloads the specified item:

getitem?cat=<catalog-name>&item=<item-id>

Parameters

The following parameters may be used with the getitem command:

cat

The catalog name.

item

The ID of the item.

Example

The following downloads the entire item. The following item is live in that it contains a real URL that will access an Express Server. Change the hostname to your host to see your own server's responses to this query.

http://demo.lizardtech.com/lizardtech/iserv/getitem?cat=Geo&item=camyard.sid   

The following is the same query as the one above but expressed in the hierarchical query format:

http://demo.lizardtech.com/lizardtech/iserv/catalogs/Geo/camyard.sid/cmd/getitem