Share feedback
Answers are generated based on the documentation.

Get namespaces and repos

GET/
Gets a list of your namespaces and repos which have data available.

Connection and access

API connection and authentication guidance

https://hub.docker.com/api/publisher/analytics/v1

Use one of these alternatives. Requirements within an alternative apply together.

  • HubAuth

Parameters

No parameters are declared.

Request and responses

Response 200

Success

application/json

Schema: NamespaceData

Schema example

{
  "namespaces": [
    "myorganization"
  ]
}

Referenced schemas

#/components/schemas/NamespaceData

Complete operation contract
{
  "description": "Gets a list of your namespaces and repos which have data available.",
  "operationId": "getNamespaces",
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/NamespaceData"
          }
        }
      },
      "description": "Success"
    }
  },
  "summary": "Get namespaces and repos",
  "tags": [
    "discovery"
  ]
}