-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Marketplace miberezi 2020 #12495
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
Merged
Merged
Marketplace miberezi 2020 #12495
Changes from 39 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
616529c
FIxing Privatestore ,Offer properties and examples
MiriBerezin db39aba
Fixing properties types
MiriBerezin cbcdaa5
Fixing camel cases
MiriBerezin 39f51f9
Add Idempotence to custom-words.txt
MiriBerezin 52c20df
prettier check changes
MiriBerezin 277c8a8
adding description to isGov
MiriBerezin 0576586
resolve conflicts
MiriBerezin 47c8ecd
Merge branch 'master' into Marketplace-miberezi-2020
MiriBerezin 363fb45
Fix updateSuppressedDueIdempotence type
MiriBerezin bc79982
Merge branch 'Marketplace-miberezi-2020' of https://github.com/MiriBe…
MiriBerezin 47ee152
Merge branch 'master' into Marketplace-miberezi-2020
MiriBerezin 03b64d4
FIx swagger validation issues
MiriBerezin 69d47e1
Fix json
MiriBerezin d78f981
Fix indentation conflicts
MiriBerezin 1e4f311
Merge branch 'master' into Marketplace-miberezi-2020
MiriBerezin e059350
Fix corruption
MiriBerezin b54a2bc
Fix validations
MiriBerezin 6160386
FIx marketplace swagger
MiriBerezin ae3b2d1
Merge branch 'master' into Marketplace-miberezi-2020
MiriBerezin 64143de
Merge branch 'master' into Marketplace-miberezi-2020
MiriBerezin 4ca8b6b
new notifications apis
MiriBerezin 9f5c4af
prettier check run
MiriBerezin 8485982
Fix spell check
MiriBerezin 7482de2
fix missing definitions on json file and and new json file to readme …
MiriBerezin 6e17032
FIx errors
MiriBerezin 2838584
Fix missing curly bracket
MiriBerezin 36b4853
prettier check
MiriBerezin 9ed03cb
Fixing errors
MiriBerezin b5d0488
Fix swagger errors
MiriBerezin 3a4878e
Fix more errors
MiriBerezin ea1e433
Fix errors
MiriBerezin 6528d5f
adding all existing apis to new api version
MiriBerezin 9b96ce9
missing parameters
MiriBerezin f49484c
add support to systemData
MiriBerezin 9ccdb14
Revert "add support to systemData"
MiriBerezin 684be9a
Revert "missing parameters"
MiriBerezin 78a6644
Revert "adding all existing apis to new api version"
MiriBerezin 4e3133e
support multiple version
MiriBerezin e383061
remove duplicated operation path
MiriBerezin cf63d08
change swagger to support resource pattern
MiriBerezin bdb21d4
fix tests
MiriBerezin 0cd10a7
fix typo
MiriBerezin a732a0a
package lock
MiriBerezin 70a78e2
prettier
MiriBerezin ba11981
fix sdk for .net
MiriBerezin f9dce0a
Fix documetation per ARM RPC
MiriBerezin b6eae5d
npm run prettier
MiriBerezin c832399
fix tests
MiriBerezin e9a704b
fix tests
MiriBerezin 5fd308b
Fix tests
MiriBerezin 24deea4
Fix ARM comments
MiriBerezin 7b26b61
Revert "package lock"
MiriBerezin 8813d4b
delete WithdrawPlan.json
MiriBerezin f0c3f0f
Re-add WithdrawPlan.json
MiriBerezin eb7df4a
fix tests
MiriBerezin 5b01fa4
fix tests
MiriBerezin c8ed406
Fix tests
MiriBerezin 30c5590
Fix tests
MiriBerezin a913633
fix tests
MiriBerezin 82d5242
remove npm-debug.log
MiriBerezin d5f0200
Fix comments
MiriBerezin a46044c
change to "format": "date-time"
MiriBerezin 7544709
Fix tests
MiriBerezin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
897 changes: 897 additions & 0 deletions
897
...ion/marketplace/resource-manager/Microsoft.Marketplace/stable/2020-12-01/Marketplace.json
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...ce-manager/Microsoft.Marketplace/stable/2020-12-01/examples/GetOfferApprovalRequests.json
This file contains hidden or 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,37 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "api-version": "2020-12-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "marketplacetestthirdparty;marketplacetestthirdparty.md-test-third-party-2;20210105_2:18", | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "displayName": "Test offer", | ||
| "plans": [ | ||
| { | ||
| "planId": "Test plan", | ||
| "planDisplayName": "Test plan name", | ||
| "requesters": [ | ||
| { | ||
| "user": "e1fae668-f844-45a0-8cc3-2fcd411234567", | ||
| "date": "2026-01-05T14:18:29.7028583+02:00", | ||
| "justification": "requested" | ||
| }, | ||
| { | ||
| "user": "e1fae668-f844-45a0-8cc3-2fcd411234534", | ||
| "date": "2019-01-26T15:13:54.4395401+02:00", | ||
| "justification": "Because I want to..." | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "messageCode": 0 | ||
| } | ||
| } | ||
| } | ||
| } |
42 changes: 42 additions & 0 deletions
42
...anager/Microsoft.Marketplace/stable/2020-12-01/examples/GetPrivateStoreNotifications.json
This file contains hidden or 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": "2020-12-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "stopSellNotifications": [], | ||
| "newNotifications": [ | ||
| { | ||
| "offerId": "TestPublisher.TestOffer", | ||
| "displayName": "Test name", | ||
| "isFuturePlansEnabled": true, | ||
| "plans": [ | ||
| { | ||
| "planDisplayName": "Test plan name", | ||
| "planId": "TestPlanId" | ||
| } | ||
| ], | ||
| "messageCode": 10001, | ||
| "icon": "https://store-images.s-microsoft.com/image/testapps.33169.691280b6-4519-4532-a123-c106dc5495cc.98b4450b-a020-4e2f-9e57-c5c5fec0d33f.a331afc8-d85c-4af7-88d8-3565891234567" | ||
| } | ||
| ], | ||
| "approvalRequests": [ | ||
| { | ||
| "publisherId": "testpublisher", | ||
| "offerId": "testpublisher.testoffer", | ||
| "displayName": "test name", | ||
| "plans": [ | ||
| { | ||
| "planDisplayName": "test plan name", | ||
| "planId": "plantest" | ||
| } | ||
| ], | ||
| "icon": "https://store-images.s-microsoft.com/image/testapps.33169.691280b6-4519-4532-a123-c106dc5495cc.98b4450b-a020-4e2f-9e57-c5c5fec0d33f.a331afc8-d85c-4af7-88d8-3565891234567" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
48 changes: 48 additions & 0 deletions
48
...osoft.Marketplace/stable/2020-12-01/examples/GetPrivateStoreOfferWithRequestApproval.json
This file contains hidden or 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,48 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "api-version": "2020-12-01", | ||
| "OfferDetailsProperties": { | ||
| "properties": { | ||
| "properties": { | ||
| "publisherId": "testpublisher", | ||
| "planIds": [ | ||
| "hourly", | ||
| "byol", | ||
| "*" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "uniqueOfferId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "plansDetails": { | ||
| "*": { | ||
| "planId": "*", | ||
| "status": "None", | ||
| "requestDate": null, | ||
| "justification": null | ||
| }, | ||
| "plantesta": { | ||
| "planId": "plantesta", | ||
| "status": "AllowedByAdmin", | ||
| "requestDate": null, | ||
| "justification": "" | ||
| }, | ||
| "planb": { | ||
| "planId": "p[lanb", | ||
| "status": "None", | ||
| "requestDate": null, | ||
| "justification": "test" | ||
| } | ||
| }, | ||
| "etag": null, | ||
| "messageCode": 0 | ||
| } | ||
| } | ||
| } | ||
| } |
24 changes: 24 additions & 0 deletions
24
.../resource-manager/Microsoft.Marketplace/stable/2020-12-01/examples/UpdateAdminAction.json
This file contains hidden or 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,24 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "api-version": "2020-12-01", | ||
| "AdminActionDetails": { | ||
| "properties": { | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "adminAction": "Approved", | ||
| "existingRequestedPlans": [ | ||
| "plan1" | ||
| ], | ||
| "approvedPlans": [ | ||
| "plan2" | ||
| ], | ||
| "comment": "ok", | ||
| "user": "" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": {} | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
...rce-manager/Microsoft.Marketplace/stable/2020-12-01/examples/UpdateOfferNotification.json
This file contains hidden or 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,21 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "api-version": "2020-12-01", | ||
| "UpdateNotificationDetails": { | ||
| "properties": { | ||
| "RemovePlans": [ | ||
| "md-test-third-party" | ||
| ], | ||
| "AddPlans": null, | ||
| "Acknowledge": false, | ||
| "Dismiss": false, | ||
| "RemoveOffer": false | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": {} | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...ource-manager/Microsoft.Marketplace/stable/2020-12-01/examples/UpsertApprovalRequest.json
This file contains hidden or 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,51 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "api-version": "2020-12-01", | ||
| "CreateApprovalRequestDetails": { | ||
| "properties": { | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "justification": "Because I want to...", | ||
| "user": "", | ||
| "planIds": [ | ||
| "testplan" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Marketplace/privateStores/9afd3c45-5230-4d58-9469-2cacc00bba68/offers/marketplacetestthirdparty.md-test-third-party-2/requestApprovals", | ||
| "name": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "type": "Microsoft.Marketplace/privateStores/offers/requestApprovals", | ||
| "properties": { | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "offerDisplayName": "marketplacetestthirdparty test name", | ||
| "plansDetails": [ | ||
| { | ||
| "planId": "testplan", | ||
| "planDisplayName": "marketplacetestthirdparty test name - test plans", | ||
| "requesters": [ | ||
| { | ||
| "user": "e1fae668-f844-45a0-8cc3-2fcd411234567", | ||
| "date": "2023-01-05T14:18:29.7028583+02:00", | ||
| "justification": "Test requested" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "createDate": "2023-01-05T14:18:29.7028583+02:00", | ||
| "modifiedAt": "2023-01-05T14:18:29.7028583+02:00", | ||
| "isClosed": false, | ||
| "status": "Pending", | ||
| "admin": null, | ||
| "adminActionDate": "0001-01-01T00:00:00", | ||
| "messageCode": 0 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...ce/resource-manager/Microsoft.Marketplace/stable/2020-12-01/examples/WithdrawRequest.json
This file contains hidden or 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,13 @@ | ||
| { | ||
| "parameters": { | ||
| "privateStoreId": "a0e28e55-90c4-41d8-8e34-bb7ef7775406", | ||
| "offerId": "marketplacetestthirdparty.md-test-third-party-2", | ||
| "publisherId": "marketplacetestthirdparty", | ||
| "planId": "testplan", | ||
| "api-version": "2020-12-01" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.