Skip to content

Commit

Permalink
[Hub Generated] Review request for Creator to add version stable/2023…
Browse files Browse the repository at this point in the history
…-07-01 (Azure#24330)

* Adds base for updating Creator from version preview/2023-03-01-preview to version 2023-07-01

* Updates readme

* Updates API version in new specs and examples

* updated minWidth param default value and description (Azure#24385)

* updated minWIdth param default value and description

* fixed spelling

* Remove alias from Style APIs and improve sprite description (Azure#24391)

* Remove alias from Style APIs and improve sprite description

* Fix validation errors

* Dataset Swagger changes - Removing Udid support from GA (Azure#24358)

* Dataset Swagger changes - Removing Udid support from GA

* Changing version to 2023-07-01 in some places

---------

Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>

* Remove Wayfinding and Routeset from GA (Azure#24468)

* Remove Wayfinding and Routeset from GA

* Adding to Creator SDK readme

* Revert "Adding to Creator SDK readme"

This reverts commit b72f517.

---------

Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>

---------

Co-authored-by: davsta90 <88048110+davsta90@users.noreply.github.com>
Co-authored-by: Xubin <zhugexubin@gmail.com>
Co-authored-by: tejitpabari@microsoft.com <tejitpabari@microsoft.com>
  • Loading branch information
4 people authored and harryli0108 committed Jul 28, 2023
1 parent 2ba24ad commit d4fee02
Show file tree
Hide file tree
Showing 69 changed files with 7,565 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@
},
"MinWidth": {
"name": "minWidth",
"description": "The minimum width (in meters) of openings in the resulting path. For example, if you specified a minimum width of 0.5, the searched path will avoid openings less than 0.5 meters wide. Note: by using this value, the resulting path points will be buffered from walls and other vertical obstacles by half of the distance provided.",
"description": "The minimum width (in meters) of openings in the searched path. For example, if you specified a minimum width of 0.85, the searched path will avoid openings less than 85 centimeters wide. Note: by using this value, the resulting path points will be buffered from walls and other vertical obstacles by half of the width provided.",
"type": "number",
"in": "query",
"default": "0.0",
"default": "0.55",
"x-ms-parameter-location": "client"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@
},
"MinWidth": {
"name": "minWidth",
"description": "The minimum width (in meters) of openings in the resulting path. For example, if you specified a minimum width of 0.5, the searched path will avoid openings less than 0.5 meters wide. Note: by using this value, the resulting path points will be buffered from walls and other vertical obstacles by half of the distance provided.",
"description": "The minimum width (in meters) of openings in the searched path. For example, if you specified a minimum width of 0.85, the searched path will avoid openings less than 85 centimeters wide. Note: by using this value, the resulting path points will be buffered from walls and other vertical obstacles by half of the width provided.",
"type": "number",
"in": "query",
"default": "0.0",
"default": "0.55",
"x-ms-parameter-location": "client"
}
},
Expand Down
20 changes: 18 additions & 2 deletions specification/maps/data-plane/Creator/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,33 @@ These are the global settings for Creator Client.
``` yaml
title: CreatorClient
openapi-type: data-plane
tag: package-preview-2023-03
tag: package-2023-07
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: 'https://atlas.microsoft.com/.default'
```
### Tag: package-2023-07
These settings apply only when `--tag=package-2023-07` is specified on the command line.

```yaml $(tag) == 'package-2023-07'
input-file:
- stable/2023-07-01/alias.json
- stable/2023-07-01/dataset.json
- stable/2023-07-01/dwgconversion.json
- stable/2023-07-01/features.json
- stable/2023-07-01/featurestate.json
- stable/2023-07-01/mapconfiguration.json
- stable/2023-07-01/style.json
- stable/2023-07-01/tileset.json
```
### Tag: package-preview-2023-03

These settings apply only when `--tag=package-preview-2023-03` is specified on the command line.

```yaml $(tag) == 'package-preview-2023-03'
``` yaml $(tag) == 'package-preview-2023-03'
input-file:
- preview/2023-03-01-preview/alias.json
- preview/2023-03-01-preview/dataset.json
Expand All @@ -51,6 +66,7 @@ input-file:
- preview/2023-03-01-preview/tileset.json
- preview/2023-03-01-preview/wayfind.json
```

### Tag: package-preview-2022-09

These settings apply only when `--tag=package-preview-2022-09` is specified on the command line.
Expand Down
311 changes: 311 additions & 0 deletions specification/maps/data-plane/Creator/stable/2023-07-01/alias.json

Large diffs are not rendered by default.

361 changes: 361 additions & 0 deletions specification/maps/data-plane/Creator/stable/2023-07-01/dataset.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"aliasId": "[aliasId]",
"creatorDataItemId": "[creatorDataItemId]"
},
"responses": {
"200": {
"body": {
"createdTimestamp": "2021-05-01T01:02:03.456Z",
"aliasId": "25084fb7-307a-4720-8f91-7952a0b91012",
"creatorDataItemId": "633a009a-dfa2-4d51-a419-420122e11c94",
"lastUpdatedTimestamp": "2021-05-01T01:02:03.456Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01"
},
"responses": {
"201": {
"headers": {},
"body": {
"createdTimestamp": "2021-05-01T01:02:03.456Z",
"aliasId": "25084fb7-307a-4720-8f91-7952a0b91012",
"creatorDataItemId": null,
"lastUpdatedTimestamp": "2021-05-01T01:02:03.456Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"aliasId": "[aliasId]"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"aliasId": "[aliasId]"
},
"responses": {
"200": {
"body": {
"createdTimestamp": "2020-02-13T21:19:11+00:00",
"aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766",
"creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14",
"lastUpdatedTimestamp": "2020-02-13T21:19:22+00:00"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01"
},
"responses": {
"200": {
"body": {
"aliases": [
{
"createdTimestamp": "2020-02-13T21:19:11+00:00",
"aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766",
"creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14",
"lastUpdatedTimestamp": "2020-02-13T21:19:22+00:00"
},
{
"createdTimestamp": "2020-02-13T21:19:11+00:00",
"aliasId": "1856dbfc-7a66-ee5a-bf8d-51dbfe1906f6",
"creatorDataItemId": null,
"lastUpdatedTimestamp": "2020-02-13T21:19:11+00:00"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"udid": "25084fb7-307a-4720-8f91-7952a0b91012",
"dwgPackageVersion": "1.0"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "https://us.atlas.microsoft.com/conversions/operations/{operationId}?api-version=2023-07-01",
"Access-Control-Expose-Headers": "Operation-Location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"conversionId": "99884fb7-87a9-0920-7f93-7952a0b91012"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"conversionId": "54398242-ea6c-1f31-4fa6-79b1ae0fc24d"
},
"responses": {
"200": {
"body": {
"conversionId": "54398242-ea6c-1f31-4fa6-79b1ae0fc24d",
"udid": "31838736-8b84-11ea-bc55-0242ac130003",
"created": "5/19/2020 9:00:00 AM +00:00",
"description": "User provided description.",
"ontology": "facility-2.0",
"featureCounts": {
"directoryInfo": 1,
"level": 3,
"facility": 1,
"unit": 150,
"category": 8,
"areaElement": 0,
"opening": 10
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c"
},
"responses": {
"200": {
"body": {
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
"created": "2021-04-20T22:43:14.9401559+00:00",
"status": "Succeeded",
"warning": {
"code": "dwgConversionProblem",
"details": [
{
"code": "warning",
"details": [
{
"code": "manifestWarning",
"message": "Ignoring unexpected JSON property: unitProperties[0].nonWheelchairAccessible with value False"
}
]
}
]
}
},
"headers": {
"Resource-Location": "https://us.atlas.microsoft.com/conversions/3e36b996-f6d1-b068-0fcb-dd6b014c3447?api-version=2023-07-01"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c"
},
"responses": {
"200": {
"body": {
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
"created": "2021-04-23T19:14:03.2452596+00:00",
"status": "Running"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01"
},
"responses": {
"200": {
"body": {
"conversions": [
{
"conversionId": "54398242-ea6c-1f31-4fa6-79b1ae0fc24d",
"udid": "31838736-8b84-11ea-bc55-0242ac130003",
"created": "5/19/2020 9:00:00 AM +00:00",
"description": "User provided description.",
"ontology": "facility-2.0",
"featureCounts": {
"directoryInfo": 1,
"level": 3,
"facility": 1,
"unit": 150,
"category": 8,
"areaElement": 0,
"opening": 10
}
},
{
"conversionId": "2acf7d32-8b84-11ea-bc55-0242ac130003",
"udid": "1214bc58-8b84-11ea-bc55-0242ac1300039",
"created": "5/20/2020 11:30:00 AM +00:00",
"description": "User provided description.",
"ontology": "facility-2.0",
"featureCounts": {
"structure": 614,
"directoryInfo": 1,
"level": 2,
"facility": 1,
"unit": 461,
"category": 30,
"verticalPenetration": 8,
"opening": 270
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"conversionId": "{conversionId}",
"datasetId": "{appendDatasetId}",
"outputOntology": "facility-2.0"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "https://us.atlas.microsoft.com/datasets/operations/{operationId}?api-version=2023-07-01",
"Access-Control-Expose-Headers": "Operation-Location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"conversionId": "{conversionId}"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "https://us.atlas.microsoft.com/datasets/operations/{operationId}?api-version=2023-07-01",
"Access-Control-Expose-Headers": "Operation-Location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"geography": "us",
"api-version": "2023-07-01",
"datasetId": "{datasetId}"
},
"responses": {
"204": {}
}
}
Loading

0 comments on commit d4fee02

Please sign in to comment.