Skip to content

Commit 9278a72

Browse files
committed
Formatting
1 parent f06a964 commit 9278a72

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/purview/tutorial-custom-types.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ description: This tutorial will explain what type definitions are, how to create
44
author: adinastoll
55
ms.author: adnegrau
66
ms.service: purview
7-
ms.topic: tutorial
7+
ms.topic: how-to
88
ms.date: 03/08/2023
99
---
1010

1111

12-
# Tutorial: Type definitions and how to create custom types
12+
# Type definitions and how to create custom types
1313

1414
This tutorial will explain what type definitions are, how to create custom types, and how to initialize assets of custom types in Microsoft Purview.
1515

@@ -57,7 +57,7 @@ Essentially, a *Type* can be seen as a *Class* from Object Oriented Programming
5757

5858
You can see all type definitions in your Microsoft Purview account by sending a `GET` request to the [All Type Definitions](/rest/api/purview/catalogdataplane/types/get-all-type-definitions) endpoint:
5959

60-
```
60+
```http
6161
GET https://{{ENDPOINT}}/catalog/api/atlas/v2/types/typedefs
6262
```
6363

@@ -81,7 +81,7 @@ To better understand the Type system, let's look at an example and see how an **
8181

8282
You can get the complete type definition by sending a `GET` request to the Type Definition [endpoint](/rest/api/purview/catalogdataplane/types/get-type-definition-by-name):
8383

84-
```
84+
```http
8585
GET https://{{ENDPOINT}}/catalog/api/atlas/v2/types/typedef/name/{name}
8686
```
8787

@@ -182,7 +182,7 @@ In the previous example, *azure_sql_table_columns* was the name of the relations
182182

183183
For the full definition, you can do make a `GET` request to the following [endpoint](/rest/api/purview/catalogdataplane/types/get-type-definition-by-name) using *azure_sql_table_columns* as the name:
184184

185-
```
185+
```http
186186
GET https://{{ENDPOINT}}/catalog/api/atlas/v2/types/typedef/name/azure_sql_table_columns
187187
```
188188

@@ -259,7 +259,7 @@ The question is, how did Microsoft Purview select the *data_tye* property from t
259259

260260
You can get the type definition of an Azure SQL Column by making a `GET` request to the [endpoint](/rest/api/purview/catalogdataplane/types/get-type-definition-by-name):
261261

262-
```
262+
```http
263263
GET https://{{ENDPOINT}}/catalog/api/atlas/v2/types/typedef/name/{name}
264264
```
265265

@@ -336,7 +336,7 @@ They should be linked together through a 1:n relationship.
336336

337337
1. Create the *custom_type_parent* type definition by making a `Post` request to:
338338

339-
```
339+
```http
340340
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/types/typedefs
341341
```
342342

@@ -367,7 +367,7 @@ They should be linked together through a 1:n relationship.
367367

368368
1. Create the *custom_type_child* type definition by making a `POST` request to:
369369

370-
```
370+
```http
371371
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/types/typedefs
372372
```
373373

@@ -398,7 +398,7 @@ They should be linked together through a 1:n relationship.
398398

399399
1. Create a custom type relationship definition by making a `POST` request to:
400400

401-
```
401+
```http
402402
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/types/typedefs
403403
```
404404

@@ -433,7 +433,7 @@ They should be linked together through a 1:n relationship.
433433

434434
1. Initialize a new asset of type *custom_type_parent* by making a `POST` request to:
435435

436-
```
436+
```http
437437
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/entity
438438
```
439439

@@ -460,7 +460,7 @@ They should be linked together through a 1:n relationship.
460460

461461
1. Initialize a new asset of type *custom_type_child* by making a `POST` request to:
462462

463-
```
463+
```http
464464
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/entity
465465
```
466466

@@ -485,7 +485,7 @@ They should be linked together through a 1:n relationship.
485485

486486
1. Initialize a new relationship of type *custom_parent_child_relationship* by making a `POST` request to:
487487

488-
```
488+
```http
489489
POST https://{{ENDPOINT}}.purview.azure.com/catalog/api/atlas/v2/relationship/
490490
```
491491

0 commit comments

Comments
 (0)