Skip to content

Commit

Permalink
Add documentation about what is sent for delete events
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Scothern <[email protected]>
  • Loading branch information
rscothern committed Feb 8, 2016
1 parent ee3b7ff commit fd7ccc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ manifest:
}
```

The target struct of events which are sent when manifests and blobs are deleted
will contain a subset of the data contained in Get and Put events. Specifically,
only the digest and repository will be sent.

```json
"target": {
"digest": "sha256:d89e1bee20d9cb344674e213b581f14fbd8e70274ecf9d10c514bab78a307845",
"repository": "library/test"
},
```

> __NOTE:__ As of version 2.1, the `length` field for event targets
> is being deprecated for the `size` field, bringing the target in line with
> common nomenclature. Both will continue to be set for the foreseeable
Expand Down

0 comments on commit fd7ccc0

Please sign in to comment.