Skip to content

Commit

Permalink
Merge pull request #54 from vernak2539/publish-v1.1
Browse files Browse the repository at this point in the history
Edge - Publish API v1.1
  • Loading branch information
louisgv authored Jan 6, 2025
2 parents e4b8ed8 + b353707 commit e9d47c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
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

0 comments on commit e9d47c0

Please sign in to comment.