Question

Find what are the options for a parameter in the API developer Guide

  • 6 March 2019
  • 1 reply
  • 1359 views

Badge
Hi,

I have troubles to use Prism API v3 using the reference guide.

For exemple I don't see the different possible options for an attribute.
I explain myself with a quick example:

If I want to create an alert with api using the reference guide below
https://developer.nutanix.com/reference/prism_central/v3/api/alerts/postalertsnotify

the attribute "notification_type" is required and must be a string. But what kind of value is expected here? I need to know what are the possible values, and what does mean each value.

This is just an example, but it is the same for all other API end point. At this point API becomes a headache for me...

Do I miss something here?

Thank you for your help

This topic has been closed for comments

1 reply

Badge +1
I just wanted to reply and say good luck. The developer portal documentation is very poor especially for the param objects in all API documentation. I got lucky with a recent script where I was able to guess the object type.

My only real advice would be to have a look online to see if anyone has written a script using the same URI or try searching github for other scripts that you might be able to get an idea for the object you need to parse.