[SOLVED] API question

NothingTV

Active Member
Nov 4, 2019
40
2
28
Hi there,

I try to automate few things within the Proxmox Backup Server and I'm missing one important endpoint: How can I get all Backups (with IDs, Notes etc.) of a namespace?

Best regards
 
Since it is a GET endpoint you add ?ns=NAMESPACE at the end, so the whole thing looks something like
Code:
https://<HOST>:8007/api2/json/admin/datastore/<DATASTORE>/groups?ns=<NAMESPACE>
for testing you can just login normally and then update the URL so you don't have to worry about authentication.
 
Is it possible, that it does'nt support any kind of special characters in the namespace? I already tried it like this and got the Bad Request response. The Namespace has a "-" in it's name, just tried another namespace without a special character and it seem to work (only seem, because they don't have any data).
 
  • Like
Reactions: NothingTV