You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom media types will make it easier for us to iterate on request and response formats for API methods. It will also make migrating to new formats and maintaining backward compatibility much more straightforward.
Implementation plan:
Experiment with media types in webhook implementation Webhook notifications #42. For this, we'll try to use application/vnd.docker.distribution.events.v1+json for the event format.
Set baseline use of application/json to refer to the current specification.
Define custom media types for other formats (manifest, layers, etc.). Here are some possible examples:
Custom media types will make it easier for us to iterate on request and response formats for API methods. It will also make migrating to new formats and maintaining backward compatibility much more straightforward.
Implementation plan:
application/vnd.docker.distribution.events.v1+json
for the event format.application/json
to refer to the current specification.application/vnd.docker.distribution.layer+tar
application/vnd.docker.distribution.manifest.v1+json
application/vnd.docker.distribution.manifest.v1+prettyjws
The text was updated successfully, but these errors were encountered: