From 7d0f6a834f7571812be3766483cab65fe838bc7f Mon Sep 17 00:00:00 2001 From: Alex Vernacchia Date: Tue, 17 Dec 2024 09:28:33 +0000 Subject: [PATCH 1/2] feat(api-v1.1): edge - update schema --- keys.schema.json | 8 ++------ keys.template.json | 5 ++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/keys.schema.json b/keys.schema.json index 67850da..a98c086 100644 --- a/keys.schema.json +++ b/keys.schema.json @@ -129,13 +129,9 @@ "type": "string", "description": "You can find your client ID by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi" }, - "clientSecret": { - "type": "string", - "description": "You can find your client secret by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi" - }, - "accessTokenUrl": { + "apiKey": { "type": "string", - "description": "You can find your access token URL by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi" + "description": "You can find your api key by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi" }, "uploadOnly": { "type": "boolean", diff --git a/keys.template.json b/keys.template.json index 395fc75..ecca7ad 100644 --- a/keys.template.json +++ b/keys.template.json @@ -14,8 +14,7 @@ }, "edge": { "clientId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd", - "clientSecret": "abcdefg", - "productId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd", - "accessTokenUrl": "https://login.microsoftonline.com/aaaaaaa-aaaa-bbbb-cccc-dddddddddddd/oauth2/v2.0/token" + "apiKey": "abcdefg", + "productId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd" } } From 8f21bafb4cc2be15a2a3271faff0bccfc038091a Mon Sep 17 00:00:00 2001 From: Alex Vernacchia Date: Tue, 17 Dec 2024 09:28:47 +0000 Subject: [PATCH 2/2] feat(api-v1.1): update readme with new edge example --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index d699746..5f0cd21 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,8 @@ The final json might look like this: "edge": { "zip": "chromium_addon.zip", "clientId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd", - "clientSecret": "ab#c4de6fg", + "apiKey": "ab#c4de6fg", "productId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd", - "accessTokenUrl": "https://login.microsoftonline.com/aaaaaaa-aaaa-bbbb-cccc-dddddddddddd/oauth2/v2.0/token", "notes": "This is a test submission" } }