Cisco UCS Director REST API Interface Prerequisites

Accessing Cisco Director REST API Interface

Question

Assume that ucsd-dcloud.cisco.com is the correct address of the Cisco UCS Director server.

Which two options are prerequisites to access the Cisco Director REST API interface? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

CD.

To access the Cisco Director REST API interface, the following two prerequisites must be fulfilled:

  1. Submit the username/password to http://ucsd-dcloud.cisco.com/api/access to obtain session cookie:

This option is necessary to authenticate and authorize the user to access the REST API. The user needs to submit the correct username and password for the UCS Director server to obtain the session cookie. The session cookie will then be used in all subsequent requests to the API to validate the user's access rights.

  1. Obtain the REST API Access Key code for the User Information dialog box:

This option is necessary to generate the REST API Access Key, which is a unique identifier used to authenticate and authorize a specific user to access the API. The user needs to obtain this code from the User Information dialog box in the UCS Director user interface. Once the REST API Access Key code is generated, it should be used in all subsequent requests to the API to authenticate and authorize the user.

Option A, running the dbgtoken utility and asking TAC to generate a response cookie, is not a valid prerequisite for accessing the Cisco Director REST API interface. This option is used to generate a debug token, which is used to troubleshoot issues with the UCS Director server.

Option C, obtaining the Developer menu on the Advanced tab of the User Information dialog box, is not a valid prerequisite for accessing the Cisco Director REST API interface. This option is used to enable the Developer menu in the UCS Director user interface, which provides additional tools for developers to test and debug API requests.

Option D, obtaining the developer token from Cisco DevNet, is also not a valid prerequisite for accessing the Cisco Director REST API interface. This option is used to obtain a developer token from Cisco DevNet, which can be used to access various Cisco APIs, but not the UCS Director REST API interface specifically.