mirror of
https://github.com/distribution/distribution.git
synced 2026-10-28 10:15:27 +08:00
The events table in the notifications documentation listed length, repository, fromRepository, url and tag as fields of the event itself, while they are fields of the event target, as the example below the table shows. The table also did not mention the size and mediaType fields the target carries, nor the references field set when notifications.events.includereferences is enabled. Split the table into the event fields and the target fields, and note that the target embeds an OCI descriptor whose mediaType, digest and size are always serialized. Update the delete event example to match what the registry sends, and point the godoc links at the v3 module. Fixes #4650 Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>