• Josh Hawn's avatar
    [api spec] Update authN and authZ errors · 0f670bdc
    Josh Hawn authored
    Associate HTTP 401s with Authentication errors rather than Authorization
    errors. Changes the meaning of the UNAUTHORIZED error to be authentication
    specific.
    
    Defines DENIED error code to be associated with authorization
    errors which result in HTTP 403 responses.
    
    Add 'No Such Repository' errors to more endpoints.
    
    Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
    0f670bdc