Skip to content

Commit

Permalink
[PlayFab] Swagger File containing Segment Resource (#5462)
Browse files Browse the repository at this point in the history
* base version

* PlayerAccountPool and Title

* api-version

* debug examples

* changes for Segments Swagger added

* changes to swagger

* Update readme.md

* changes to swagger

* swagger changes as per cadl generated

* changes to swagger

* changes

* Prettier formatting

* changes

* changes

* changes

* changes

* example model validation check

* example model validation check

* example model validation check

* example model validation check

* example model validation check

* changes to swagger

* trying prettier fix

* changes

* fixing Prettier problems

* Update readme.md

* changes to fix problems reported by Prettier

* Update readme.md

* removed unused ref files in examples folder

* add title MSI and fix patch contract (#5729)

* add title MSI and fix patch contract

* spell check & prettier fix

* fix lint error

* fix prettier issue

* changes as per feedback in review

* Added Swagger changes

* changes as per feedback in review

* changes as per feedback in review

* prettier fix

* changes as per feedback in review

* prettier error fix

* some small testing for resource comment in PR

* changing resource to parameters

* changes to fix x-ms-identifier-failure

* Updates for title settings support (#5792)

* Updates for title settings support

* Run PrettierCheck

* Address minor review comment.

* Update RG name maintain consistency.

* Remove extra new line

* Minor change.

* Revert "Updates for title settings support (#5792)" (#5811)

This reverts commit 9697c9592607817fefb01e962ac1cdb92dd23990.

* Add support for Title Settings (#5812)

* Update Swagger

* Update example files.

* few chhnages as per feedback in PR

* fix examples, remove user assigned identities as it is not supported (#5835)

* fix examples, remove user assigned identities as it is not supported

* remove user assigned identity support from swagger

* change which was missed in my previous commit

* changes as per review in PR

* changing playfabAccountPoolId to playfabPlayerAccountPoolId

* changing playfabAccountPoolId to playFabPlayerAccountPoolId

* changes because of typo in examples in renaming

Co-authored-by: Zainudeen V K <zainu.vk@hotmail.com>
Co-authored-by: Zainudeen V K <zainuvk@github.com>
Co-authored-by: shubgup3 <67748348+shubgup3@users.noreply.github.com>
Co-authored-by: Anshul Verma <88476874+AnshulVermaa@users.noreply.github.com>
  • Loading branch information
5 people authored Jan 13, 2022
1 parent d4840b8 commit e700871
Show file tree
Hide file tree
Showing 37 changed files with 2,670 additions and 2,277 deletions.
2,277 changes: 1 addition & 2,276 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2021-12-08-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.PlayFab/write",
"isDataAction": true,
"display": {
"provider": "Microsoft PlayFab",
"resource": "Title",
"operation": "Update Title",
"description": "Update Title"
},
"origin": "user",
"actionType": "Internal"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"api-version": "2021-12-08-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo",
"playerAccountPoolName": "DevAccountPool",
"parameters": {
"properties": {
"provisioningState": "NotSpecified"
},
"tags": {
"company": "Microsoft"
},
"location": "West US2"
}
},
"responses": {
"200": {
"body": {
"properties": {
"playFabPlayerAccountPoolId": "E19877A68438546F",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2022-01-04T11:05:51.4940669Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.playfab/playeraccountpools"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo",
"playerAccountPoolName": "DevAccountPool",
"parameters": {
"properties": {
"provisioningState": "NotSpecified"
},
"location": "West US2"
}
},
"responses": {
"200": {
"body": {
"properties": {
"playFabPlayerAccountPoolId": "E19877A68438546F",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2022-01-04T11:05:51.4940669Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.playfab/playeraccountpools"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "rgplayfab",
"playerAccountPoolName": "DevAccountPool"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://foo.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "rgplayfab",
"playerAccountPoolName": "DevAccountPool"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://foo.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo",
"playerAccountPoolName": "DevAccountPool"
},
"responses": {
"200": {
"body": {
"properties": {
"playFabPlayerAccountPoolId": "E19877A68438546F",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2022-01-04T11:05:51.4940669Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.playfab/playeraccountpools"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo",
"playerAccountPoolName": "DevAccountPool"
},
"responses": {
"200": {
"body": {
"properties": {
"playFabPlayerAccountPoolId": "E19877A68438546F",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2022-01-04T11:05:51.4940669Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.playfab/playeraccountpools"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/aagaSept23b",
"name": "aagaSept23b",
"type": "microsoft.playfab/playeraccountpools",
"location": "West US 2",
"systemData": {
"createdBy": "aaga@microsoft.com",
"createdByType": "User",
"createdAt": "2021-09-23T06:32:29.1703036Z",
"lastModifiedBy": "aaga@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-09-23T06:32:29.1703036Z"
},
"properties": {
"playFabPlayerAccountPoolId": "7CC23E30076C4012",
"provisioningState": "Failed"
}
}
],
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/aagaSept23b",
"name": "aagaSept23b",
"type": "microsoft.playfab/playeraccountpools",
"location": "West US 2",
"systemData": {
"createdBy": "aaga@microsoft.com",
"createdByType": "User",
"createdAt": "2021-09-23T06:32:29.1703036Z",
"lastModifiedBy": "aaga@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-09-23T06:32:29.1703036Z"
},
"properties": {
"playFabPlayerAccountPoolId": "7CC23E30076C4012",
"provisioningState": "Failed"
}
}
],
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/testrg/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"playFabPlayerAccountPoolId": "8085509B620AFCC5",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2021-12-16T06:19:32.111Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-16T06:19:32.111Z"
},
"tags": {
"company": "Microsoft"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.PlayFab/playerAccountPools"
}
],
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/testrg/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {},
"location": "West US"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"api-version": "2021-12-08-preview",
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789",
"resourceGroupName": "aaga-df-demo",
"playerAccountPoolName": "DevAccountPool",
"parameters": {
"tags": {
"company": "Microsoft-HYD"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"playFabPlayerAccountPoolId": "E19877A68438546F",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "zainudv@microsoft.com",
"createdByType": "User",
"createdAt": "2022-01-04T11:05:51.4940669Z",
"lastModifiedBy": "zainudv@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z"
},
"tags": {
"company": "Microsoft-HYD"
},
"location": "West US",
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool",
"name": "DevAccountPool",
"type": "microsoft.playfab/playeraccountpools"
}
}
}
}
Loading

0 comments on commit e700871

Please sign in to comment.