-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #407 from ritza-co/19.04.05
Docs 19.04.05 release (Week 3, 2025)
- Loading branch information
Showing
65 changed files
with
635 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
224 changes: 175 additions & 49 deletions
224
docs/integration/external-integrations/freshservice-integration.mdx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: "Database Viewer Schema" | ||
sidebar_position: 2 | ||
--- | ||
|
||
import ThemedImage from '@theme/ThemedImage' | ||
import useBaseUrl from '@docusaurus/useBaseUrl' | ||
|
||
The database Viewer Schema tools are a resource for consulting on the structure of the Device42 database. | ||
|
||
This page walks you through how to access and use the two database viewer tools, the Entity Relationship Diagram (ERD) and the Data Dictionary. | ||
|
||
## Locate the Viewer Tools | ||
|
||
The database viewer tools are found under the help menu. Hover your cursor over the **question mark icon** to reveal the **Viewer Schema** options: **Entity Relationship Diagram** and **Data Dictionary**. | ||
|
||
<ThemedImage | ||
alt="Viewer Schema menu location" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/menu-viewer-schema-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/menu-viewer-schema-dark.png'), | ||
}} | ||
/> | ||
|
||
## Entity Relationship Diagram | ||
|
||
The ERD is a handy way to navigate the Device42 database schema, visualize relationships, and use the information to assemble DOQL queries. | ||
|
||
- The ERD is searchable using the **Find** field, below the **Device42 - Viewer Entity Relationship Diagram** header. By searching for `device`, database views that contain "device" are highlighted (for example, `view_device_v1` and other related fields), while others fade into the background: | ||
|
||
<ThemedImage | ||
alt="EDR Viewer example" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/edr-device-example-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/edr-device-example-dark.png'), | ||
}} | ||
/> | ||
|
||
- Click the **tiny triangle symbol** on a table to expand it or use the **Expand All** button to expand all the database entities: | ||
|
||
<ThemedImage | ||
alt="EDR expand buttons" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/tiny-triangle-closed-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/tiny-triangle-closed-dark.png'), | ||
}} | ||
/> | ||
|
||
<ThemedImage | ||
alt="Expanded entity" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/tiny-triangle-open-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/tiny-triangle-open-dark.png'), | ||
}} | ||
/> | ||
|
||
## Data Dictionary | ||
|
||
The Data Dictionary is a text-based viewer used to explore the details of the Device42 database. Each view lists the **Column** names in the database table, the **Data Type** for those columns, and a short **Description** of each of those fields. | ||
|
||
You can filter by Data Building Blocks (**DBB**), Device42 Object Query Language (**DOQL**), or both (**All**) views. | ||
|
||
- **DBB**: Structured database views require little-to-no extra view-joining, and are composed to let you quickly create reports. These views are refreshed on a nightly basis. | ||
|
||
<ThemedImage | ||
alt="Data Dictionary DBB view" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/data-dictionary-dbb-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/data-dictionary-dbb-dark.png'), | ||
}} | ||
/> | ||
|
||
- **DOQL**: These raw, less-structured views provide full access to all the information discovered and stored in Device42. Use them to create custom queries and reports for any use case, whether building queries from scratch or just adding one or two more fields to a DBB-based report. | ||
|
||
<ThemedImage | ||
alt="Data Dictionary DOQL view" | ||
sources={{ | ||
light: useBaseUrl('/assets/images/db-viewer-schema/data-dictionary-doql-light.png'), | ||
dark: useBaseUrl('/assets/images/db-viewer-schema/data-dictionary-doql-dark.png'), | ||
}} | ||
/> | ||
|
||
### Data Dictionary API | ||
|
||
If you prefer using our API, you can also get the Data Dictionary from this endpoint: | ||
|
||
``` | ||
/services/data/v1.0/dd/ | ||
``` | ||
Find the parameter explanations and more details about running DOQL queries via the API on the [DOQL - Device42 Object Query Language page](index.mdx). |
Oops, something went wrong.