|
| 1 | +<!-- NOTE: Auto-generated from the JSON PURL type definition. |
| 2 | +Do not manually edit this file. Edit the JSON type definition instead. --> |
| 3 | + |
| 4 | +# PURL Type Definition: chrome |
| 5 | + |
| 6 | +- **Type Name:** chrome |
| 7 | +- **Description:** Chrome Browser Extensions (extensions from the official Chrome Webstore) |
| 8 | +- **Schema ID:** `https://packageurl.org/types/chrome-definition.json` |
| 9 | + |
| 10 | +## PURL Syntax |
| 11 | + |
| 12 | +The structure of a PURL for this package type is: |
| 13 | + |
| 14 | + pkg:chrome/<name>@<version>?<qualifiers>#<subpath> |
| 15 | + |
| 16 | +## Repository Information |
| 17 | + |
| 18 | +- **Use Repository:** Yes |
| 19 | +- **Default Repository URL:** https://https://chromewebstore.google.com/ |
| 20 | +- **Note:** There is no documented API, only a sitemap and 'updatecheck' endpoints. |
| 21 | + |
| 22 | +## Namespace definition |
| 23 | + |
| 24 | +- **Requirement:** Prohibited |
| 25 | +- **Note:** `There is no namespace` |
| 26 | + |
| 27 | +## Name definition |
| 28 | + |
| 29 | +- **Native Label:** version |
| 30 | +- **Note:** `The name is a 32 characters a-z and is case insensitive` |
| 31 | + |
| 32 | +## Version definition |
| 33 | + |
| 34 | +- **Requirement:** Optional |
| 35 | +- **Native Label:** version |
| 36 | +- **Note:** `The chrome extension version is semver-like but 1-4 segments` |
| 37 | + |
| 38 | +## Examples |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +- `pkg:chrome/dlpngalgnefjeiefhmpklpfiohadpglk@1` |
| 44 | +- `pkg:chrome/dlpngalgnefjeiefhmpklpfiohadpglk` |
| 45 | + |
| 46 | +## Note |
| 47 | + |
| 48 | +There is currently no documented API for querying different versions of a package - there only seems to be responses on the latest version. To this end the version component of a chrome purl can be optional. |
0 commit comments