Skip to content

Instantly share code, notes, and snippets.

@pubudu91
Last active May 14, 2016 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pubudu91/d339d13948118df29f6166717ea96994 to your computer and use it in GitHub Desktop.
Save pubudu91/d339d13948118df29f6166717ea96994 to your computer and use it in GitHub Desktop.
swagger: '2.0'
info:
version: "1.6"
title: "Docker Registry HTTP API"
# Describe your paths here
paths:
# This is a path endpoint.
/v2:
# This is a HTTP operation
get:
# Describe this verb here.
description:
Tells whether this Docker Registry instance supports
Docker Registry HTTP API v2
# Expected responses for this operation:
responses:
# Response code
200:
description: Successful response
401:
description: Unauthorized access
404:
description: Registry does not implement v2 of the API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment