File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -348,9 +348,14 @@ whose values are objects containing the following fields:
348
348
349
349
| Key | Type | Description | Requirement Level |
350
350
| --------- | ------ | ------------------------------------- | ----------------- |
351
- | ` url ` | String | The location of the release resource. | REQUIRED |
351
+ | ` url ` | String | The location of the release resource. | OPTIONAL |
352
352
| ` problem ` | Object | A [ problem details] [ RFC 7807 ] object. | OPTIONAL |
353
353
354
+ A server MAY specify a URL for a release using the ` url ` key.
355
+ A client SHOULD locate a release using the value of the ` url ` key, if one is provided.
356
+ Otherwise, the client SHOULD locate a release
357
+ by expanding the URI Template ` /{scope}/{name}/{version} ` on the originating host.
358
+
354
359
A server SHOULD communicate the unavailability of a package release
355
360
using a [ "problem details"] [ RFC 7807 ] object.
356
361
A client SHOULD consider any releases with an associated ` problem `
You can’t perform that action at this time.
0 commit comments