UNSOLVED

frigo_

updated

5 years ago

F

frigo_

2 Intern

22 Posts

0

838

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

  • DELL-Young E

    Moderator

    5421 Posts

    37 Points

    706

    1

    Posted 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. ^-^

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • frigo_

    2 Intern

    22 Posts

    667

    0

    Posted 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
    }