Command line tool to upload a file/s to an OpenText Media Management (OTMM) instance using the OTMM REST API.
NOTE: This project is a technological demonstrator to show how to use
OTMM REST API.It doesn't pretend to be a production-ready tool.
On the other hand, OTMM provides a SDK that includes a API wrapper.
OpenText Media Management is a leading, innovative and scalable DAM solution that optimizes rich media asset management, use and distribution across the digital ecosystem. From creation to consumption, Media Management offers a consolidated asset repository for marketing, branding, commerce, video and global distribution across contributors and production environments.
The project includes a runnable jar file (see versions
folder in this repository)
It accept the following parameters:
- -c --config <CONFIG_FILE>
- -a --asset Asset file. If a directory is specified all the .png and .jgp will be uploaded.
- -p --path Path in OTMM to store the asset, e.g. "Public Folders\Stock\Stock Travel\Paris"
Execution example:
java -jar otmm-asset-uploader-22.03.15.jar --config otmm-api.properties --path "My Folders\sample" --asset the-red-or-white-cat-i-on-white-studio.jpg
Once you have executed this tool you will see your asset in OTMM
Configuration file that contains the information needed to access the OTMM REST API. It contains the following parameters:
- url: OpenText Media Management REST API URL
- version: OpenText Media Management REST API version. Default value 6
- user: OTMM user
- password: OTMM password for the given user
url=http://mydomainexmple.com:11090
version=6
user=tsuper
password=<PASSORD_GOES_HERE>