Skip to content

Commit 26c1793

Browse files
authored
Merge pull request #2424 from hpe-dev-incubator/cms/blog/get-started-with-the-foundational-apis-for-the-hpe-greenlake-edge-to-cloud-platform-–-part-2-configuring-and-managing-a-workspace
Update Blog “get-started-with-the-foundational-apis-for-the-hpe-greenlake-edge-to-cloud-platform-–-part-2-configuring-and-managing-a-workspace”
2 parents 923474a + 6afb4ac commit 26c1793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/blog/get-started-with-the-foundational-apis-for-the-hpe-greenlake-edge-to-cloud-platform-–-part-2-configuring-and-managing-a-workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A typical scenario to manage infrastructure resources from the HPE GreenLake pla
9292

9393
### Adding a device and subscription
9494

95-
Here I am going to use the REST API calls from the Postman collection folder: ***Configuring and Managing GLP Workspace/Step4-Devices and Subscriptions***.
95+
Here I am going to use the REST API calls from the Postman collection folder: ***Configuring and Managing GLP Workspace/Step4-Service Catalog, Devices and Subscriptions***.
9696

9797
The **POST** REST API call ***Add devices - Aruba Access Point with Tag*** from ***/devices/v1beta1/devices*** subfolder allows me to add an HPE Aruba Networking device to the inventory in the workspace by providing device details in the data payload (Body) of the request. The device information for HPE Aruba Networking equipment includes the *Serial Number* and the *MAC address*.
9898

@@ -116,7 +116,7 @@ Optionally I can assign a “**tag**” to the device while adding it to the inv
116116
}
117117
```
118118

119-
The “**Add devices**” API call is an asynchronous operation, and the response of the request indicates ***Status: 202 Accepted***. The response contains the transaction Id of the asynchronous operation that I can use as a Path variable in the subsequent **GET** API call ***Get progress or status of async operations in devices*** to verify whether the asynchronous operation is successful or not:
119+
The “**Add devices**” API call is an asynchronous operation. Asynchronous operations are API operations that cannot be completed immediately. The response of the request indicates ***Status: 202 Accepted*** and contains the _transaction Id_ of the asynchronous operation that I can use as a Path variable in the subsequent **GET** API call ***Get progress or status of async operations in devices*** to verify whether the asynchronous operation is successful or not:
120120

121121
`GET {{baseUrl}}/devices/v1beta1/async-operations/:id`
122122

0 commit comments

Comments
 (0)