REST Driver Publisher Enhancements

Idea ID 2809684

REST Driver Publisher Enhancements

REST Publisher enhancements:

1. Specification

The REST publisher API should have a Swagger/ OpenAPI specification.It seems to me the current PUT/ modify syntax is difficult to describe with Swagger, therefore it might be better to change it:

Current PUT payload according to docs:


New approach:









It would make sense to also support the "operation":"replace" (replaceAllValues).

2. HTTP Methods

- HTTP PATCH is recommended for the kind of modify operation (add/remove attribute dedicated values) that we currently support for PUT

- HTTP PUT is recommended for an object "replacement", i.e. the kind of modify operation we are currently supporting with POST on an existing object

3. HTTP Return Codes

More control on HTTP return codes, we can't set the codes at all in the current driver version

4. Publisher URL

It would be great to have more flexibility regarding the URL, e.g. a mapping from "/sfum/users/v1" to "/User"

Tags (3)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.