Before performing any task using API services, you must review the prerequisites. General prerequisites apply to all services. Prerequisites that are service-specific are common to all endpoints for the service, but may vary depending upon the service role for example, administrator or user.
See Organization and service user roles in vRealize Automation.
General prerequisites for all services
Before performing any task for any service, the following prerequisites must be satisfied:
- Verify that you have an active access token. See Getting Your Authentication Token.
- Verify that the URL variable is assigned.
url='https://appliance.domain.com'
Prerequisites specific to API services
Product: Service | Service prerequisites | Role-specific prerequisites |
---|---|---|
Cloud Assembly: Blueprint service To access the Swagger documentation for the Blueprint API, see |
Verify that the Blueprint API version variable is assigned as in the following example.
api_version='2019-09-12'
|
Verify that you are at least an organization member in VMware vRealize Automation with a Cloud Assembly administrator service role. |
Service Broker: Catalog service To access the Swagger documentation for the Catalog API, see |
Verify that the Catalog API version variable is assigned as in the following example.
api_version='2020-08-25'
|
Verify that you are at least an organization member in VMware vRealize Automation with a Service Broker administrator service role. |
Code Stream: Code Stream service To access the Swagger documentation for the Code Stream API, see |
Verify that the Code Stream API version variable is assigned as in the following example.
api_version='2019-10-17'
|
Verify that you are at least an organization member in VMware vRealize Automation with a Code Stream administrator service role. |
Service Broker: Deployment service To access the Swagger documentation for the Deployment API, see
Note: For the Cloud Assembly: Deployment service, use the prerequisites for the Cloud Assembly: Infrastructure as a Service (IaaS) service.
|
Verify that the Deployment API version variable is assigned as in the following example.
api_version='2020-08-25'
|
Verify that you are at least an organization member in VMware vRealize Automation with a Service Broker administrator service role. |
Cloud Assembly: Infrastructure as a Service (IaaS) service To access the Swagger documentation for the IaaS API, see |
Verify that the IaaS API version variable is assigned as in the following example.
api_version='2021-07-15'
If you do not assign a value to the apiVersion variable or you assign it to a value other than 2021-07-15, the IaaS API behavior will default to value of the previous version or 2019-01-15. |
|
Service Broker: Policies service To access the Swagger documentation for the Policies API, see |
Verify that the Policies API version is assigned as in the following example.
api_version='2020-08-25'
|
Verify that you are at least an organization member in VMware vRealize Automation with a Service Broker administrator service role. |
All products: Project service To access the Swagger documentation for the Projects API, see |
Verify that the Projects API version variable is assigned as in the following example.
api_version='2019-01-15'
|
Verify that you are at least an organization member in VMware vRealize Automation with an administrator service role. |