Question

Prism v3 API

  • 23 October 2020
  • 1 reply
  • 80 views

I want to fetch report results from Prism Central, and thought the Prism v3 API might do that.  I get a 404 when I call any of the reports endpoints.  Other API calls I have tried work as expected, including for vms, clusters, and others.

For example doing a POST to this address:

https://myprismcentral:9440/api/nutanix/v3/report_configs/list

returns HTTP 404 and this message:

{"message": "The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again. You have requested this URI [/v3/report_configs/list] but did you mean /v3/remote_connections/list or /v3/alerts/list or /v3/containers/list ?"}

I would appreciate any advice, please.  Thank you very much.


1 reply

Userlevel 5
Badge +5

Hey, A. Sherwood,

 

Without assuming that anything is wrong yet, what happens when you do the same from the API explorer in PC? Is it the same 404 that’s returned? (PC>Username>REST API Explorer)

Reply