Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Maps/Alias to add version preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0, preview/2.0 and preview/2.0 #13921

Merged
merged 43 commits into from
Apr 30, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3201913
Copy Creator API 1.0 to 2.0
JCookit Mar 3, 2021
2fcf0f6
draft of planB
JCookit Mar 9, 2021
38224c1
adding ontology properties; adding DataUpload
JCookit Mar 10, 2021
14e01c3
updated alias apis
JCookit Mar 10, 2021
7b01345
put v1 API back so diffing is easier
JCookit Mar 10, 2021
6df71a3
reapplying v2 so diffs are easier
JCookit Mar 10, 2021
d663c7c
remove type from datasetsources
JCookit Mar 11, 2021
c6b56b5
incorporate suggestions from review board
JCookit Mar 19, 2021
f2a89e4
adding ontology field
JCookit Mar 24, 2021
e3ee703
Update alias v2 apis.
rojohn-ms Mar 30, 2021
071aca8
fix conversion descriptions, update alias
JCookit Mar 31, 2021
155583e
Merge master
rojohn-ms Mar 31, 2021
c0c6045
Fix the alias file.
rojohn-ms Mar 31, 2021
9f05840
Add get details example.
rojohn-ms Mar 31, 2021
568192d
fix casing on headers; mapData more consistent
JCookit Apr 8, 2021
236dfd9
minor comment and linting fixes
JCookit Apr 12, 2021
6813382
Adds base for updating Microsoft.Maps/Alias from version preview/1.0 …
JCookit Apr 13, 2021
c42b105
Updates readme
JCookit Apr 13, 2021
1e229ca
Updates API version in new specs and examples
JCookit Apr 13, 2021
e0c3f7d
Add baseline from preview/1.0
JCookit Apr 13, 2021
ef57559
Merge branch 'dev-maps-Microsoft-Maps-1.0.PlanB' into dev-maps-Micros…
JCookit Apr 13, 2021
c0ccaec
update api-version in examples
JCookit Apr 14, 2021
37ef296
add v2 files to readme
JCookit Apr 15, 2021
70be3ef
fix avacado errors
JCookit Apr 15, 2021
7eef688
Adding string length limit to the descriptions for feature state.
Apr 15, 2021
b6d5b6f
Adding ontology element to the WFS resopnse examples.
Apr 15, 2021
43aae4f
Merge branch 'dev-maps-Microsoft.Maps-2.0' of https://github.com/JCoo…
Apr 15, 2021
76a8953
Updating length to 1000 from 1024.
Apr 15, 2021
fccba92
Update dataset v2 descriptions and examples.
rojohn-ms Apr 19, 2021
cffbd83
Merge branch 'dev-maps-Microsoft.Maps-2.0' of https://github.com/JCoo…
rojohn-ms Apr 19, 2021
c9948c0
Update the examples to have the right details.
rojohn-ms Apr 19, 2021
7b42804
reran linter; added spellcheck words
JCookit Apr 20, 2021
ba125ba
more linting: 202 description alignment
JCookit Apr 20, 2021
c4c5443
fixed example linting for alias, data, dataset
JCookit Apr 21, 2021
fdd5b16
example linting changes for conv, fs, tileset
JCookit Apr 22, 2021
f056190
change featurestateset patch to put
JCookit Apr 22, 2021
675e9c5
autorest linting fixes
JCookit Apr 22, 2021
2e3beab
Reverting FeatureState body to include array to match V1 body and res…
Apr 22, 2021
2f24c21
adding missing operationIds
JCookit Apr 23, 2021
d716e4d
added examples; more linting
JCookit Apr 23, 2021
2e671bb
remove x-ms-long-running
JCookit Apr 23, 2021
4531f12
Merge branch 'master' into dev-maps-Microsoft.Maps-2.0
JCookit Apr 26, 2021
339cec5
Update alias documentation for resourceId -> creatorDataItemId change
rojohn-ms Apr 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor comment and linting fixes
  • Loading branch information
JCookit committed Apr 12, 2021
commit 236dfd92b17c76e809eb9cd71f3e8213d4827979
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@
}
}
},

"delete": {
"x-publish": true,
"description": "**Alias - Delete API**\n\n**Applies to:** S1 pricing tier.\n<br>\n\nThis API allows the caller to delete a previously created alias.<br> \nYou can also use this API to delete old/unused aliases to create space for new content.\nThis API does not delete the references resource, only the alias referencing the resource.\n\n\n### Submit Delete Request\n\nTo delete your alias you will issue a `DELETE` request where the path will contain the `aliasId` of the alias to delete.<br> \n\n\n### Delete Alias Response\n\nThe Delete API returns a HTTP `204 No Content` response with an empty body, if the alias was deleted successfully.<br> \nA HTTP `400 Bad Request` error response will be returned if the alias with the passed-in `aliasId` is not found. ",
Expand Down Expand Up @@ -307,7 +306,6 @@
}
}
},

"get": {
"x-publish": true,
"description": "**Alias - Get Details API**\n\n**Applies to:** S1 pricing tier.\n<br>\n\nThis API allows the caller to fetch the details of a previously created alias.\n\n\n### Submit Get Details Request\n\nTo get the details of your alias, you will issue a `GET` request with the `aliasId` in the path.<br>\n\n\n### Get Details Response\n\nThe Get Details API returns the previously created alias in `json` format. The response contains the following details for the alias resource:\n\n > createdTimestamp - The timestamp that the alias was created.\n > aliasId - The id for the alias.\n > resourceId - The id for the resource that this alias references (could be null if the alias has not been assigned).\n > lastUpdatedTimestamp - The last time the alias was assigned to a resource.\n\n\nHere's a sample response: \n\n<br>\n\n```json\n{\n \"createdTimestamp\": \"2020-02-13T21:19:11.123Z\",\n \"aliasId\": \"a8a4b8bb-ecf4-fb27-a618-f41721552766\",\n \"resourceId\": \"e89aebb9-70a3-8fe1-32bb-1fbd0c725f14\",\n \"lastUpdatedTimestamp\": \"2020-02-13T21:19:22.123Z\"\n}\n```",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@
"x-publish": true,
"description": "**Dataset Get API**\n\n**Applies to:** S1 pricing tier.\n<br>\n\nCreator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. The Dataset APIs are part of Creator.\nThis API allows the caller to fetch a previously successfully created dataset.\n",
"operationId": "Dataset_GetPreview",

"parameters": [
{
"$ref": "#/parameters/DatasetId"
Expand Down Expand Up @@ -337,7 +336,7 @@
},
"/datasets/operations/{operationId}": {
"get": {
"description": "This path will be obtained from a call to /datasets/create. While in progress, an http202 will be returned, followed by an http200 once completed.",
"description": "This path will be obtained from a call to /datasets/create. While in progress, an http200 will be returned with no extra headers - followed by an http200 with Resource-Location header once successfully completed.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionKey"
Expand All @@ -349,8 +348,7 @@
"$ref": "#/parameters/OperationId"
}
],

"responses":{
"responses": {
"200": {
"$ref": "#/responses/200Async"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
"required": true,
"x-ms-parameter-location": "method"
}

},
"paths": {
"/conversions": {
Expand Down Expand Up @@ -356,7 +355,7 @@
},
"/conversions/operations/{operationId}": {
"get": {
"description": "This path will be obtained from a call to POST /conversions. While in progress, an http200 will be returned with no extra headers - followed by an http200 with Resource-Location header once completed.",
"description": "This path will be obtained from a call to POST /conversions. While in progress, an http200 will be returned with no extra headers - followed by an http200 with Resource-Location header once successfully completed.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionKey"
Expand All @@ -368,8 +367,7 @@
"$ref": "#/parameters/OperationId"
}
],

"responses":{
"responses": {
"200": {
"$ref": "#/responses/200Async"
},
Expand All @@ -379,7 +377,6 @@
}
}
}

},
"definitions": {
"ODataErrorResponse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@
}
}
},

"get": {
"x-publish": true,
"description": "**Applies to:** S1 pricing tier.\n<br>\n\nThis GET API allows the user to get the stateset Information.\n\nThe stateset Information includes the datasetId associated to the stateset, and the styles of that stateset.",
Expand Down Expand Up @@ -396,7 +395,7 @@
"put": {
"x-publish": true,
"operationId": "FeatureState_UpdateStatesPreview",
"description": "**Applies to:** S1 pricing tier. <br>\nThis POST API allows the user to update the state of the given feature in the given stateset.",
"description": "**Applies to:** S1 pricing tier. <br>\nThis PUT API allows the user to update the state of the given feature in the given stateset.",
"x-ms-examples": {
"Update the states of a feature": {
"$ref": "./examples/UpdateStates.json"
Expand Down Expand Up @@ -544,7 +543,6 @@
}
}
}

},
"definitions": {
"ODataErrorResponse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}
}
},
"202": {
"202": {
"description": "Request Accepted: The request has been accepted for processing. Please use the URL in the location Header to obtain status.",
"headers": {
"Operation-Location": {
Expand Down Expand Up @@ -363,10 +363,9 @@
}
}
},

"/tilesets/operations/{operationId}": {
"get": {
"description": "This path will be obtained from a call to /tilesets/create. While in progress, an http202 will be returned, followed by an http200 once completed.",
"description": "This path will be obtained from a call to /tilesets/create. While in progress, an http200 will be returned with no extra headers - followed by an http200 with Resource-Location header once successfully completed.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionKey"
Expand All @@ -378,8 +377,7 @@
"$ref": "#/parameters/OperationId"
}
],

"responses":{
"responses": {
"200": {
"$ref": "#/responses/200Async"
},
Expand All @@ -389,7 +387,6 @@
}
}
}

},
"definitions": {
"ODataErrorResponse": {
Expand Down