BES Server API and Uploading Files\Creating Tasks For Software Distribution

Wondering if anyone has used the BES Server API to automate the uploading of files to the BES Server and\or used it to create fixlets\tasks? Ideally we would like to use some of the features provided by the Software Distribution Dashboard, yet in a more automated way. Specifically, uploading files\compressing them\renaming to sha1\256, then and associating then creating a task that uses them.

1 Like

First I would suggest you check the REST API which was added in 9.x releases

A start might be https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/RESTAPI%20Upload

The dashboard uses a different API than what is traditionally called the BES Server API to do the upload and compress.

1 Like

Thanks Alan! I assume by using the upload file api that files will get uploaded to the BigFix Enterprise\BES Server\wwwrootbes\Uploads folder using the same format?

if so then we will just have to incorporate the zipping up of within our tool.

The nice thing about integrating with the Software Distribution Dashboard is the management of the files\tasks is together and that interface could still be used to modify the packages if need be. So if that isn’t the recommended way then I guess we will have use your suggestion.

We use the REST API to automate the creation of fixlets/tasks.

We tend to leave everything in the Uploads folder unless we are low on space. We have a script that we run periodically that deletes all files in the Uploads folder that are no longer referenced by any actions/fixlets/tasks/baselines.

We also have a very large web cache and use the downloads from web directly instead of uploading them to the root server using the upload option.

1 Like