forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding new apis: BulkCollectionsAction QueryApprovedPlans * Fix queryApprovedOffers api * fix prettier check * Fix queryApprovedPlans API * Fix queryApprovedPlans response to list instead if disctionary
- Loading branch information
1 parent
3d6b1f4
commit a0ff3fb
Showing
3 changed files
with
278 additions
and
0 deletions.
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
33 changes: 33 additions & 0 deletions
33
...ource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/BulkCollectionsAction.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,33 @@ | ||
{ | ||
"parameters": { | ||
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
"api-version": "2021-06-01", | ||
"payload": { | ||
"properties": { | ||
"collectionIds": [ | ||
"c752f021-1c37-4af5-b82f-74c51c27b44a", | ||
"f47ef1c7-e908-4f39-ae29-db181634ad8d" | ||
], | ||
"action": "EnableCollections" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"succeeded": [ | ||
{ | ||
"collectionId": "c752f021-1c37-4af5-b82f-74c51c27b44a", | ||
"collectionName": "Test collection" | ||
} | ||
], | ||
"failed": [ | ||
{ | ||
"collectionId": "f47ef1c7-e908-4f39-ae29-db181634ad8d", | ||
"collectionName": "Test collection 2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/QueryApprovedPlans.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,42 @@ | ||
{ | ||
"parameters": { | ||
"privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
"api-version": "2021-06-01", | ||
"payload": { | ||
"properties": { | ||
"offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
"planIds": [ | ||
"testPlanA", | ||
"testPlanB", | ||
"testPlanC" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"details": [ | ||
{ | ||
"planId": "testPlanA", | ||
"subscriptionIds": [ | ||
"85e3e079-c718-4e4c-abbe-f72fceba8305", | ||
"7752d461-4bf1-4185-8b56-8a3f11486ac6" | ||
], | ||
"allSubscriptions": false | ||
}, | ||
{ | ||
"planId": "testPlanB", | ||
"subscriptionIds": [], | ||
"allSubscriptions": true | ||
}, | ||
{ | ||
"planId": "testPlanC", | ||
"subscriptionIds": [], | ||
"allSubscriptions": false | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |