---
title: "Create new repository for code coverage"
method: POST
path: "/repos"
tags: ["Repository"]
---

# Create new repository for code coverage

`POST /repos`

## Request body

- CoreRepo
  - `branch` string
  - `id` integer
  - `name` string
  - `nameSpace` string
  - `private` boolean
  - `reportID` string
  - `scm` unknown
  - `url` string

## Response `200`

Created repository

## Changes

> 28 revisions in range; 1 could not be searched.

- **2020-06-22** `f17d3346d1e4` — 1 info
  - endpoint added
- **2020-06-11** `4e89eab82a65` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/covergates/apis/codecover-api/changes/repos/post.md)

---

[API](https://skmtc.dev/covergates/apis/codecover-api.md) · [All operations](https://skmtc.dev/covergates/apis/codecover-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/covergates/codecover-api/revisions/10479aa66d33/schema)
