Skip to main content
POST
Unarchive a repo

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repo
string
required

The repo's internal id (id in the repo response).

org
string
required

Response

Successful Response

id
string
required

The repo's internal id in Kosli, unaffected by renames.

name
string
required

The repo's full name at its VCS host, e.g. 'acme/payments'.

url
string
required

The repo's URL at its VCS host.

short_name
string | null

The last segment of name, e.g. 'payments'.

provider
enum<string> | null

The VCS provider hosting the repo.

Available options:
github,
gitlab,
bitbucket,
bitbucket_cloud,
bitbucket_dc,
azure-devops,
azure_devops_services,
azure_devops_server,
circleci,
git,
subversion
repo_id
string | null

The id the VCS host gives the repo.

vcs_instance
string | null

The VCS host the repo is on, e.g. 'gitlab.company.com'.

namespace_path
string[] | null

The namespaces above the repo at its VCS host, outermost first, e.g. ['acme'].

additional_info
Additional Info · object | null

Provider-specific details reported with the repo, e.g. a Bitbucket project key.

description
string | null

The repo's description, as reported.

tags
Tags · object

The tags set on the repo in Kosli.

Links to related resources, keyed by relation (self, next, ...), each a link or a list of links

moved_to
string | null

The id of the repo this one moved to, whose builds and deployments include this repo's. Null when the repo has not moved.

moved_at
number | null

Unix time the move was recorded. Null when the repo has not moved.

moved_by
string | null

Display name of the user who recorded the move: null when the repo has not moved, and 'Unknown' when that user has been deleted.

archived_at
number | null

Unix time the repo was archived. Null when it is not archived.

archived_by
string | null

Display name of the user who archived the repo: null when it is not archived, and 'Unknown' when that user has been deleted.

moved_from
string[]

The ids of the repos that moved to this one.