Skip to content

Commit

Permalink
Navigate API public preview (#28191)
Browse files Browse the repository at this point in the history
* generate base from 2023-09-01

* add navigate API

* update example

* update ErrorResponse to AtlasErrorResponse

* update example
  • Loading branch information
SerenaLin2020 authored May 8, 2024
1 parent 7331914 commit dd1b1d0
Show file tree
Hide file tree
Showing 134 changed files with 15,977 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"body": {
"keywords": "exa",
"filter": {
"and": [
{
"entityType": "azure_blob_path",
"includeSubTypes": false
}
]
},
"limit": 10
},
"api-version": "2024-03-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"text": "example",
"queryPlusText": "example"
},
{
"text": "exampleconfiguration",
"queryPlusText": "exampleconfiguration"
},
{
"text": "exampleresources",
"queryPlusText": "exampleresources"
}
]
}
}
},
"title": "Discovery_AutoComplete",
"operationId": "Discovery_AutoComplete"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/",
"extendedProperties": {}
},
"includeNextLevelAssetCount": true,
"properties": {}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": "<token>"
},
"responses": {
"200": {
"body": {
"items": [
{
"name": "azure_blob_service",
"type": "Azure Blob Storage",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "azure_blob_service",
"extendedProperties": {}
},
"properties": {
"cloudType": "Azure"
},
"count": 54
},
{
"name": "azure_datalake_gen2_service",
"type": "Azure Data Lake Storage Gen2",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "azure_datalake_gen2_service",
"extendedProperties": {}
},
"properties": {
"cloudType": "Azure"
},
"count": 47
},
{
"name": "azure_sql_server",
"type": "Azure SQL Server",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "azure_sql_server",
"extendedProperties": {}
},
"properties": {
"cloudType": "Azure"
},
"count": 31
},
{
"name": "azure_storage_account",
"type": "Azure Storage Account",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "azure_storage_account",
"extendedProperties": {}
},
"properties": {
"cloudType": "Azure"
},
"count": 101
},
{
"name": "azure_sql_db",
"type": "Azure SQL Database",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "azure_sql_db",
"extendedProperties": {}
},
"properties": {
"cloudType": "Azure"
},
"count": 84
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/azure_sql_server",
"extendedProperties": {}
},
"properties": {}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": "<token>"
},
"responses": {
"200": {
"body": {
"items": [
{
"name": "testsqlserver01",
"type": "azure_sql_server",
"isLeafNode": false,
"isEntity": true,
"itemPath": {
"path": "testsqlserver01",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {
"identifier": "mssql://testsqlserver01.database.windows.net",
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01",
"cloudType": "Azure"
}
},
{
"name": "testsqlserver02",
"type": "azure_sql_server",
"isLeafNode": false,
"isEntity": true,
"itemPath": {
"path": "testsqlserver02",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver02.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {
"identifier": "mssql://testsqlserver02.database.windows.net",
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver02",
"cloudType": "Azure"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/azure_sql_server/testsqlserver01",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": "<token>"
},
"responses": {
"200": {
"body": {
"items": [
{
"properties": {},
"name": "databases",
"type": "databases",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "databases",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
}
},
{
"properties": {},
"name": "datawarehouses",
"type": "datawarehouses",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "datawarehouses",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/azure_sql_server/testsqlserver01/databases",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": "<token>"
},
"responses": {
"200": {
"body": {
"items": [
{
"name": "exampleDatabase01",
"type": "azure_sql_db",
"isLeafNode": false,
"isEntity": true,
"itemPath": {
"path": "exampleDatabase01",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01/databases/exampleDatabase01"
}
},
{
"name": "exampleDatabase02",
"type": "azure_sql_db",
"isLeafNode": false,
"isEntity": true,
"itemPath": {
"path": "exampleDatabase02",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01/databases/exampleDatabase02"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/azure_sql_server/testsqlserver01/databases/exampleDatabase01",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
},
"properties": {}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": "<token>"
},
"responses": {
"200": {
"body": {
"items": [
{
"properties": {},
"name": "schemas",
"type": "schemas",
"isLeafNode": false,
"isEntity": false,
"itemPath": {
"path": "schemas",
"extendedProperties": {
"resourceGroup": "test-rg",
"serverEndpoint": "testsqlserver01.database.windows.net",
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353"
}
}
}
]
}
}
}
}
Loading

0 comments on commit dd1b1d0

Please sign in to comment.