Unsolved

1 Rookie

 • 

22 Posts

816

June 26th, 2021 05:00

Update Management plugin restful API

Greetings

Using Dell OpenManage with the "Update Manager" plug-in, repositories need to be created with the GUI, using "Create Repository" and selecting a specific version of the Base Catalog (such as "Enterprise Server Catalog-21.06.00". There is no "latest" catalog available). My goal is to roll out the latest catalog automaticaly on my devices, from a local repo managed by the Update Manager plug-in.

To synchronize a new version of the catalog (since there is no "latest" catalog in the Update Manager), I need to create a new repository through the GUI again. So to stay up to date, I need to create a new repository a couple of times a month (one for Enterprise Server Catalog-21.06.00, one for Enterprise Server Catalog-21.06.01, etc.)

I am looking for documentation for a possible RESTful API to create a new repository with the latest Base Catalog. I see it should be possible to POST data under /api/UpdateManagementService/Repositories, but I could not find any documentation on that or any related code anywhere on the Internet or in the user guiides. I can GET the existing repositories successfully at that URL though.

Is the restful API usable? Is there any example or documentation for it?

Thanks

Moderator

 • 

5.3K Posts

June 27th, 2021 19:00

Hi, thanks for choosing Dell. As of now, we don’t have a lot of documents to refer to, I’m afraid. Users would need to study on their own according to their needs.

 

https://dell.to/3A2N9U3

 

Wish you a great week ahead and let us know if you have any other questions. ^-^

1 Rookie

 • 

22 Posts

July 2nd, 2021 02:00

Thanks. Still without an example of a payload I don't think I can make it work by myself

$ cat lebase
{
     "BaseCatalogName": "21.06.01",
     "Name": "test"
}
$ curl -X POST -H 'Content-type: application/json' -d @lebase -k -u admin:pass \
    'https://ome/api/UpdateManagementService/Repositories' | jq .
{
  "Value": 1,
  "Message": "Failed",
  "Id": 0,
  "Name": null,
  "JobID": null
}
No Events found!

Top