Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Maps/Alias to add versio…
Browse files Browse the repository at this point in the history
…n preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0 and preview/2.0 (Azure#13921)

* Copy Creator API 1.0 to 2.0

* draft of planB

* adding ontology properties; adding DataUpload

* updated alias apis

* put v1 API back so diffing is easier

* reapplying v2 so diffs are easier

* remove type from datasetsources

* incorporate suggestions from review board

* adding ontology field

* Update alias v2 apis.

* fix conversion descriptions, update alias

* Fix the alias file.

* Add get details example.

* fix casing on headers; mapData more consistent

* minor comment and linting fixes

* Adds base for updating Microsoft.Maps/Alias from version preview/1.0 to version 2.0

* Updates readme

* Updates API version in new specs and examples

* Add baseline from preview/1.0

* update api-version in examples

* add v2 files to readme

* fix avacado errors

* Adding string length limit to the descriptions for feature state.

Adding string length limit to the descriptions for feature state.

* Adding ontology element to the WFS resopnse examples.

Adding ontology element to the WFS resopnse examples.

* Updating length to 1000 from 1024.

Updating length to 1000 from 1024.

* Update dataset v2 descriptions and examples.

* Update the examples to have the right details.

* reran linter; added spellcheck words

* more linting: 202 description alignment

* fixed example linting for alias, data, dataset

* example linting changes for conv, fs, tileset

* change featurestateset patch to put

* autorest linting fixes

* Reverting FeatureState body to include array to match V1 body and response.

* adding missing operationIds

* added examples; more linting

* remove x-ms-long-running

* Update alias documentation for resourceId -> creatorDataItemId change

Co-authored-by: Robert Johnson <rojohn@microsoft.com>
Co-authored-by: Subbarayudu Kamma <skamma@microsoft.com>
  • Loading branch information
3 people authored and mkarmark committed Jul 20, 2021
1 parent 9d1f861 commit fe616a6
Show file tree
Hide file tree
Showing 55 changed files with 8,177 additions and 1 deletion.
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ Dsms
DTDL
Dtus
duration'PT
dwgzippackage
dynamicpersongroups
EAPMSCHA
EAPMSCHAP
Expand Down Expand Up @@ -664,6 +665,7 @@ fconfig
FDID
fearthecowboy
featurecapabilities
featurestate
Featurization
featurized
Featurizer
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"api-version": "2.0",
"subscription-key": "[subscription-key]",
"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"
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request - Error message."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found - The requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "Unknown error - An error occurred while processing the request. Please try again later."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"api-version": "2.0",
"subscription-key": "[subscription-key]"
},
"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"
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request - Error message."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found - The requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "Unknown error - An error occurred while processing the request. Please try again later."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"api-version": "2.0",
"subscription-key": "[subscription-key]",
"aliasId": "[aliasId]"
},
"responses": {
"204": {},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request - One or more parameters were incorrectly specified or are mutually exclusive."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found - The requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "Unknown error - An error occurred while processing the request. Please try again later."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"api-version": "2.0",
"subscription-key": "[subscription-key]",
"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"
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request - One or more parameters were incorrectly specified or are mutually exclusive."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found - The requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "Unknown error - An error occurred while processing the request. Please try again later."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"parameters": {
"api-version": "2.0",
"subscription-key": "[subscription-key]"
},
"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"
}
]
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request - One or more parameters were incorrectly specified or are mutually exclusive."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found - The requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "Unknown error - An error occurred while processing the request. Please try again later."
}
}
}
}
}
Loading

0 comments on commit fe616a6

Please sign in to comment.