# List repositories Endpoint: GET /code/api/v1/repos Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. - `query` (string) The substring which is used to filter the repositories by their path name. - `sort` (string) The data by which the repositories are sorted. Enum: "identifier", "created", "updated" - `order` (string) The order of the output. Enum: "asc", "desc" - `page` (integer) The page to return. - `limit` (integer) The maximum number of results to return. - `only_favorites` (boolean) The result should contain only the favorite entries for the logged in user. - `recursive` (boolean) The result should include entities from child spaces. ## Response 200 fields (application/json): - `archived` (boolean) - `created` (integer) - `created_by` (integer) - `default_branch` (string) - `deleted` (integer,null) - `description` (string) - `fork_id` (integer) - `git_ssh_url` (string) - `git_url` (string) - `id` (integer) - `identifier` (string) - `importing` (boolean) - `is_empty` (boolean) - `is_favorite` (boolean) - `is_public` (boolean) - `last_git_push` (integer) - `num_closed_pulls` (integer) - `num_forks` (integer) - `num_merged_pulls` (integer) - `num_open_pulls` (integer) - `num_pulls` (integer) - `parent_id` (integer) - `path` (string) - `size` (integer) size of the repository in KiB - `size_lfs` (integer) size of the repository LFS in KiB - `size_updated` (integer) - `state` (integer,null) - `updated` (integer) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 404 fields (application/json): - `message` (string) - `values` (object) ## Response 500 fields (application/json): - `message` (string) - `values` (object)