You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/purview/tutorial-atlas-2-2-apis.md
+38-38Lines changed: 38 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,41 +1,41 @@
1
1
---
2
-
title: "How to use new APIs available with Atlas 2.2"
3
-
description: This tutorial describes the new APIs available with Atlas 2.2 upgrade.
2
+
title: "Use new APIs available with Atlas 2.2."
3
+
description: This tutorial describes the new APIs available with the Atlas 2.2 upgrade.
4
4
author: nayenama
5
5
ms.author: nayenama
6
6
ms.service: purview
7
7
ms.subservice: purview-data-catalog
8
8
ms.topic: tutorial
9
9
ms.date: 04/18/2022
10
10
11
-
# Customer intent: I can use the new APIs available with Atlas 2.2
11
+
# Customer intent: As a developer, I want to use the new APIs available with Atlas 2.2 to interact programmatically with the data map in Microsoft Purview.
12
12
---
13
13
14
14
# Tutorial: Atlas 2.2 new functionality
15
15
16
-
In this tutorial, you learn how to programmatically interact with new Atlas 2.2 APIs with Microsoft Purview's data map.
17
-
18
-
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
16
+
In this tutorial, learn to programmatically interact with new Atlas 2.2 APIs with the data map in Microsoft Purview.
19
17
20
18
## Prerequisites
21
19
22
-
* To get started, you must have an existing Microsoft Purview account. If you don't have a catalog, see the [quickstart for creating a Microsoft Purview account](create-catalog-portal.md).
20
+
* If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
21
+
22
+
* You must have an existing Microsoft Purview account. If you don't have a catalog, see the [quickstart for creating a Microsoft Purview account](create-catalog-portal.md).
23
23
24
-
* To establish bearer token and to call any Data Plane APIs see [the documentation about how to call REST APIs for Purview Data planes](tutorial-using-rest-apis.md).
24
+
* To establish a bearer token and to call any data plane APIs, see [the documentation about how to call REST APIs for Microsoft Purview data planes](tutorial-using-rest-apis.md).
25
25
26
-
## Business Metadata APIs
26
+
## Business metadata APIs
27
27
28
-
Business Metadata is a template containing multiple custom attributes (key values) which can be created globally and then applied across multiple typedefs.
28
+
Business metadata is a template that contains custom attributes (key values). You can create these attributes globally and then apply them across multiple typedefs.
29
29
30
-
### Create a Business metadata with attributes
30
+
### Create business metadata with attributes
31
31
32
-
You can send POST request to the following endpoint
32
+
You can send a `POST` request to the following endpoint:
33
33
34
34
```
35
35
POST {{endpoint}}/api/atlas/v2/types/typedefs
36
36
```
37
37
38
-
Sample JSON
38
+
Sample JSON:
39
39
40
40
```json
41
41
{
@@ -67,15 +67,15 @@ Sample JSON
67
67
}
68
68
```
69
69
70
-
### Add/Update an attribute to an existing business metadata
70
+
### Add or update an attribute to existing business metadata
71
71
72
-
You can send PUT request to the following endpoint:
72
+
You can send a `PUT` request to the following endpoint:
73
73
74
74
```
75
75
PUT {{endpoint}}/api/atlas/v2/types/typedefs
76
76
```
77
77
78
-
Sample JSON
78
+
Sample JSON:
79
79
80
80
```json
81
81
{
@@ -118,23 +118,23 @@ Sample JSON
118
118
}
119
119
```
120
120
121
-
### Get Business metadata definition
121
+
### Get a business metadata definition
122
122
123
-
You can send GET request to the following endpoint
123
+
You can send a `GET` request to the following endpoint:
124
124
125
125
```
126
126
GET {endpoint}}/api/atlas/v2/types/typedef/name/{{Business Metadata Name}}
127
127
```
128
128
129
-
### Set Business metadata attribute to an entity
129
+
### Set a business metadata attribute to an entity
130
130
131
-
You can send POST request to the following endpoint
131
+
You can send a `POST` request to the following endpoint:
132
132
133
133
```
134
134
POST {{endpoint}}/api/atlas/v2/entity/guid/{{GUID}}/businessmetadata?isOverwrite=true
135
135
```
136
136
137
-
Sample JSON
137
+
Sample JSON:
138
138
139
139
```json
140
140
{
@@ -145,15 +145,15 @@ Sample JSON
145
145
}
146
146
```
147
147
148
-
### Delete Business metadata attribute from an entity
148
+
### Delete a business metadata attribute from an entity
149
149
150
-
You can send DELETE request to the following endpoint
150
+
You can send a `DELETE` request to the following endpoint:
0 commit comments