Skip to content

cmdb-api.markdown: host specific configuration API to v2 - #3504

Closed
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:cmdb-api-v2
Closed

cmdb-api.markdown: host specific configuration API to v2#3504
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:cmdb-api-v2

Conversation

@larsewi

@larsewi larsewi commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

It appears that there is a new version (v2) of the API:

$ curl -k --user admin:password -X GET "https://localhost/api/cmdb/<HOSTKEY>/classes/default:cfengine_internal_masterfiles_update/"
This version of CMDB API is no longer available. Please use /v2/... instead

$ curl -k --user admin:password -X GET "https://localhost/api/cmdb/v2/<HOSTKEY>/classes/default:cfengine_internal_masterfiles_update/"
{"data":[],"meta":{"total":0,"page":2,"count":0}}

Ticket: ENT-13208
Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech

It appears that there is a new version (v2) of the API:

```
$ curl -k --user admin:password -X GET "https://localhost/api/cmdb/<HOSTKEY>/classes/default:cfengine_internal_masterfiles_update/"
This version of CMDB API is no longer available. Please use /v2/... instead

$ curl -k --user admin:password -X GET "https://localhost/api/cmdb/v2/<HOSTKEY>/classes/default:cfengine_internal_masterfiles_update/"
{"data":[],"meta":{"total":0,"page":2,"count":0}}
```

Ticket: ENT-13208
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi
larsewi marked this pull request as ready for review September 11, 2025 08:52
@aleksandrychev

Copy link
Copy Markdown
Contributor

@larsewi I still have work to make docs changes for cmdb. I will open new PR

@larsewi
larsewi deleted the cmdb-api-v2 branch April 27, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants