API PBS v4.0.14

vegushka

Member
Jun 3, 2021
1
0
21
44
Hello, I need help understanding the PBS API.
Server version 4.0.14, storage "storage_n", namespace "serv".
When requesting
https://{HOST.CONN}:{$PBS.URL.PORT}/api2/json/admin/datastore/storage_n/snapshots- I receive all the data.
When requesting
https://{HOST.CONN}:{$PBS.URL.PORT}/api2/json/admin/datastore/storage_n/serv/snapshots, the response code "404" did not match any of the required status codes "200".
Path '/api2/json/admin/datastore/storage_n/serv/snapshots' not found.
The API key permissions are set for the entire storage and are distributed.
I was try get
https://{HOST.CONN}:{$PBS.URL.PORT}/api2/json/admin/datastore/storage_n/namespace/serv/snapshots - same error.
Can you tell me how to get a list of snapshots in namespace?