---
title: "Get config.json"
method: GET
path: "/api/v4/projects/{id}/packages/cargo/config.json"
tags: ["packages_cargo"]
---

# Get config.json

`GET /api/v4/projects/{id}/packages/cargo/config.json`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/packages/cargo/config.json`
- Auth: none declared

This will be used by cargo for further requests

## Path parameters

- `id` string, required

## Response `200`

Get config.json

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
