Skip to content

Commit aa2424c

Browse files
Merge pull request #283834 from baanders/8-7-postman
ADT: Remove Postman
2 parents 7754abf + 6c110ed commit aa2424c

40 files changed

+228
-287
lines changed

articles/digital-twins/.openpublishing.redirection.digital-twins.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,20 @@
185185
"redirect_url": "https://github.com/Azure-Samples/digital-twins-samples/tree/master/scripts",
186186
"redirect_document_id": false
187187
},
188+
{
189+
"source_path": "how-to-use-postman-with-digital-twins.md",
190+
"redirect_url": "/azure/digital-twins/how-to-use-apis",
191+
"redirect_document_id": true
192+
},
188193
{
189194
"source_path": "how-to-configure-postman.md",
190-
"redirect_url": "/azure/digital-twins/how-to-use-postman-with-digital-twins",
195+
"redirect_url": "/azure/digital-twins/how-to-use-apis",
191196
"redirect_document_id": false
192197
},
193198
{
194199
"source_path": "how-to-use-postman.md",
195-
"redirect_url": "/azure/digital-twins/how-to-use-postman-with-digital-twins",
196-
"redirect_document_id": true
200+
"redirect_url": "/azure/digital-twins/how-to-use-apis",
201+
"redirect_document_id": false
197202
},
198203
{
199204
"source_path": "about-digital-twins.md",

articles/digital-twins/TOC.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
href: how-to-query-graph.md
104104
- name: Develop client apps
105105
items:
106-
- name: Call Azure Digital Twins APIs with Postman
107-
href: how-to-use-postman-with-digital-twins.md
106+
- name: Call Azure Digital Twins APIs
107+
href: how-to-use-apis.md
108108
- name: Use 3D Scenes Studio
109109
href: how-to-use-3d-scenes-studio.md
110110
- name: Write app authentication code
@@ -283,8 +283,6 @@
283283
href: https://explorer.digitaltwins.azure.net
284284
- name: 3D Scenes Studio
285285
href: https://explorer.digitaltwins.azure.net/3dscenes
286-
- name: Azure Digital Twins Postman Collection
287-
href: https://github.com/microsoft/azure-digital-twins-postman-samples
288286
- name: Sample for ingesting OPC UA data into Azure Digital Twins
289287
href: https://github.com/digitaltwinconsortium/ManufacturingOntologies
290288
- name: DTDL parser sample

articles/digital-twins/concepts-apis-sdks.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.custom: engagement-fy23
1818

1919
# Azure Digital Twins APIs and SDKs
2020

21-
This article gives an overview of the Azure Digital Twins APIs available, and the methods for interacting with them. You can either use the REST APIs directly with their associated Swaggers (through a tool like [Postman](how-to-use-postman-with-digital-twins.md)), or through an SDK.
21+
This article gives an overview of the Azure Digital Twins APIs available, and the methods for interacting with them. You can either use the REST APIs directly with their associated Swaggers, or through an SDK.
2222

2323
Azure Digital Twins comes equipped with control plane APIs, data plane APIs, and SDKs for managing your instance and its elements.
2424
* The control plane APIs are [Azure Resource Manager (ARM)](../azure-resource-manager/management/overview.md) APIs, and cover resource management operations like creating and deleting your instance.
@@ -44,11 +44,11 @@ This section contains more detailed information about using the APIs and SDKs.
4444
### API notes
4545

4646
Here's some general information for calling the Azure Digital Twins APIs directly.
47-
* You can use an HTTP REST-testing tool like Postman to make direct calls to the Azure Digital Twins APIs. For more information about this process, see [Call the Azure Digital Twins APIs with Postman](how-to-use-postman-with-digital-twins.md).
47+
* You can use an HTTP REST-testing tool to make direct calls to the Azure Digital Twins APIs. For more information about this process, see [Call the Azure Digital Twins APIs](how-to-use-apis.md).
4848
* Azure Digital Twins doesn't currently support Cross-Origin Resource Sharing (CORS). For more info about the impact and resolution strategies, see [Cross-Origin Resource Sharing (CORS) for Azure Digital Twins](concepts-security.md#cross-origin-resource-sharing-cors).
4949

5050
Here's some more information about authentication for API requests.
51-
* One way to generate a bearer token for Azure Digital Twins API requests is with the [az account get-access-token](/cli/azure/account#az-account-get-access-token()) CLI command. For detailed instructions, see [Get bearer token](how-to-use-postman-with-digital-twins.md#get-bearer-token).
51+
* One way to generate a bearer token for Azure Digital Twins API requests is with the [az account get-access-token](/cli/azure/account#az-account-get-access-token()) CLI command. For detailed instructions, see [Add bearer token](how-to-use-apis.md#add-bearer-token).
5252
* Requests to the Azure Digital Twins APIs require a user or service principal that is a part of the same [Microsoft Entra ID](../active-directory/fundamentals/active-directory-whatis.md) tenant where the Azure Digital Twins instance exists. To prevent malicious scanning of Azure Digital Twins endpoints, requests with access tokens from outside the originating tenant will be returned a "404 Sub-Domain not found" error message. This error will be returned even if the user or service principal was given an Azure Digital Twins Data Owner or Azure Digital Twins Data Reader role through [Microsoft Entra B2B](../active-directory/external-identities/what-is-b2b.md) collaboration. For information on how to achieve access across multiple tenants, see [Write app authentication code](how-to-authenticate-client.md#authenticate-across-tenants).
5353

5454
### SDK notes
@@ -101,7 +101,7 @@ You'll also need to grant the following **RBAC permissions** to the system-assig
101101
* [Storage Blob Data Reader](../role-based-access-control/built-in-roles.md#storage-blob-data-reader) for the Azure Storage input blob container
102102
* [Storage Blob Data Contributor](../role-based-access-control/built-in-roles.md#storage-blob-data-contributor) for the Azure Storage output blob container
103103

104-
Finally, generate a bearer token that can be used in your requests to the Jobs API. For instructions, see [Get bearer token](how-to-use-postman-with-digital-twins.md#get-bearer-token).
104+
Finally, generate a bearer token that can be used in your requests to the Jobs API. For instructions, see [Add bearer token](how-to-use-apis.md#add-bearer-token).
105105

106106
### Format data
107107

@@ -164,7 +164,7 @@ Keep the following considerations in mind while working with the Import Jobs API
164164
The [Delete Jobs API](/rest/api/digital-twins/dataplane/jobs) is a data plane API that allows you to delete all models, twins, and relationships in an instance with a single API call. Delete Jobs API operations are also available as [CLI commands](/cli/azure/dt/job/deletion). Visit the API documentation to see the request details for creating a delete job and checking its status.
165165

166166
To make sure all elements are deleted, follow these recommendations while using the Delete Jobs API:
167-
* For instructions on how to generate a bearer token to authenticate API requests, see [Get bearer token](how-to-use-postman-with-digital-twins.md#get-bearer-token).
167+
* For instructions on how to generate a bearer token to authenticate API requests, see [Add bearer token](how-to-use-apis.md#add-bearer-token).
168168
* If you recently imported a large number of entities to your graph, wait for some time and verify that all elements are synchronized in your graph before beginning the delete job.
169169
* Stop all operations on the instance, especially upload operations, until the delete job is complete.
170170

@@ -186,8 +186,8 @@ For information about viewing and managing Azure Digital Twins metrics, see [Mon
186186

187187
## Next steps
188188

189-
See how to make direct requests to the Azure Digital Twins APIs using Postman:
190-
* [Call the Azure Digital Twins APIs with Postman](how-to-use-postman-with-digital-twins.md)
189+
See how to make direct requests to the Azure Digital Twins APIs:
190+
* [Call the Azure Digital Twins APIs](how-to-use-apis.md)
191191

192192
Or, practice using the .NET SDK by creating a client app with this tutorial:
193193
* [Code a client app](tutorial-code.md)

articles/digital-twins/how-to-send-twin-to-twin-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Now, your function can receive events through your Event Grid topic. The data fl
8383

8484
The last step is to verify that the flow is working, by updating a twin and checking that related twins are updated according to the logic in your Azure function.
8585

86-
To kick off the process, update the twin that's the source of the event flow. You can use the [Azure CLI](/cli/azure/dt/twin#az-dt-twin-update), [Azure Digital Twins SDK](how-to-manage-twin.md#update-a-digital-twin), or [Azure Digital Twins REST APIs](how-to-use-postman-with-digital-twins.md?tabs=data-plane) to make the update.
86+
To kick off the process, update the twin that's the source of the event flow. You can use the [Azure CLI](/cli/azure/dt/twin#az-dt-twin-update), [Azure Digital Twins SDK](how-to-manage-twin.md#update-a-digital-twin), or [Azure Digital Twins REST APIs](how-to-use-apis.md?tabs=data-plane) to make the update.
8787

8888
Next, query your Azure Digital Twins instance for the related twin. You can use the [Azure CLI](/cli/azure/dt/twin#az-dt-twin-query), or the [Azure Digital Twins REST APIs and SDK](how-to-query-graph.md#run-queries-with-the-api). Verify that the twin received the data and updated as expected.
8989

0 commit comments

Comments
 (0)