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

Edge - Publish API v1.1 #54

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,9 @@ submitFirefox({
})

submitEdge({
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",
clientId: "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd",
apiKey: "abcdefg",
zip: "dist/some-zip-v{version}.zip",
notes: "Changes for reviewers",
verbose: false
Expand Down
7 changes: 3 additions & 4 deletions tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ Returns `Promise<true>` or throws an exception on failure.

Returns `Promise<true>` or throws an exception.

## Edge Add-ons API
## Edge Add-ons API (v1.1)

`submitEdge`

| Argument | Type | How to Obtain |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
|------------------| ------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `productId` | string | Create an edge add-on and go to the dashboard: `https://partner.microsoft.com/en-us/dashboard/microsoftedge/{product-id}/package/dashboard` |
| `clientId` | string | https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi |
| `clientSecret` | string | https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi |
| `accessTokenUrl` | string | https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi |
| `apiKey` | string | https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi |

Returns `Promise<true>` or throws an exception.

Expand Down