docker.io accounts API (Engine)

docker.io accounts API

Get a single user

GET /api/v1.1/users/:username/

Get profile info for the specified user.

Parameters:

  • username – username of the user whose profile info is being requested.

Request Headers:

  • Authorization – required authentication credentials of either type HTTP Basic or OAuth Bearer Token.

Status Codes:

  • 200 – success, user data returned.
  • 401 – authentication error.
  • 403 – permission error, authenticated user must be the user whose data is being requested, OAuth access tokens must have profile_read scope.
  • 404 – the specified username does not exist.

Example request:

    GET /api/v1.1/users/janedoe/ HTTP/1.1
    Host: