The following API functions are handled by the utils controller on the CONTENTdm Website, instead of by dmwebservices on the CONTENTdm Server. The utils functions return binary data, where the dmwebservices functions return text in XML or JSON format. These functions also differ in that utils calls are relative to the URL of the CONTENTdm Website, but dmwebservices calls are absolute, requiring the full URL of the CONTENTdm Server.
Signature | Returns |
---|---|
/utils/getfile/collection/alias/id/pointer/filename/name
|
Returns the stored file for the specified item. The call will enforce access control defined for the item. |
Signature | Returns |
---|---|
/utils/ajaxhelper/?CISOROOT=alias&CISOPTR=pointer&action=2&
|
Returns a scaled and cropped image for display. The specified item must be an image. The returned image is in JPEG format. |
Signature | Returns |
---|---|
utils/getstream/collection/alias/id/pointer
|
Plays the stream for the specified item. |
Signature | Returns |
---|---|
/utils/getthumbnail/collection/alias/id/pointer
|
Returns the thumbnail for the specified item. The thumbnail is a JPEG image of maximum dimensions 160 x 120 pixels. |