---
title: "Get current server configuration"
method: GET
path: "/v2/_zot/ext/mgmt"
---

# Get current server configuration

`GET /v2/_zot/ext/mgmt`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/docs/v2/_zot/ext/mgmt/get.ts> (a function with typed inputs; its response is checked against the schema)

Get current server configuration

## Query parameters

- `resource` 'config'

## Response `200`

OK

- ExtensionsStrippedConfig
  - `binaryType` string
  - `commit` string
  - `distSpecVersion` string
  - `http` object
    - `auth` ExtensionsAuth
      - `allowAnonymousAccess` boolean
      - `apikey` boolean
      - `bearer` ExtensionsBearerConfig
        - `realm` string
        - `service` string
      - `htpasswd` ExtensionsHTPasswd
        - `path` string
      - `ldap` object
        - `address` string
      - `openid` ExtensionsOpenIDConfig
        - `providers` object
  - `releaseTag` string

## Other responses

- `500`: internal server error

## Changes

- **2023-07-06** `fb0b7a93e91a`: 1 info
  - added the new optional `query` request parameter `resource`
- **2023-06-19** `387ec2e44d46`: 1 info
  - endpoint added
- **2021-10-21** `81b68c5e4fde`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/changes/v2/_zot/ext/mgmt/get.md)

---

[API](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification.md) - [All operations](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/revisions/7937343ee83f?raw)
