-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Maps/Alias to add versio…
…n preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0 and preview/2.0 (#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
1 parent
c2ea3a3
commit 0ed4422
Showing
55 changed files
with
8,177 additions
and
1 deletion.
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
464 changes: 464 additions & 0 deletions
464
specification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/alias.json
Large diffs are not rendered by default.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
specification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/examples/Alias_Assign.json
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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
specification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/examples/Alias_Create.json
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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
specification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/examples/Alias_Delete.json
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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...ification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/examples/Alias_GetDetails.json
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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
specification/maps/data-plane/Microsoft.Maps/Alias/preview/2.0/examples/Alias_List.json
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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.