Repositories
A list of repositories for the current user.
Attributes
Name | Type | Description |
---|---|---|
repositories | [Repository] | List of repositories. |
Collection Items
Each entry in the repositories array has the following attributes:
Name | Type | Description |
---|---|---|
id | Integer | Value uniquely identifying the repository. |
name | String | The repository's name on GitHub. |
slug | String | Same as {repository.owner.name}/{repository.name}. |
description | String | The repository's description from GitHub. |
github_id | Integer | The repository's id on GitHub. |
vcs_id | Unknown | The repository's vcs_id. |
vcs_type | Unknown | The repository's vcs_type. |
github_language | String | The main programming language used according to GitHub. |
active | Boolean | Whether or not this repository is currently enabled on Travis CI. |
private | Boolean | Whether or not this repository is private. |
owner | Owner | GitHub user or organization the repository belongs to. |
owner_name | Unknown | The repository's owner_name. |
vcs_name | Unknown | The repository's vcs_name. |
default_branch | Branch | The default branch on GitHub. |
starred | Boolean | Whether or not this repository is starred. |
managed_by_installation | Boolean | Whether or not this repository is managed by a GitHub App installation. |
active_on_org | Boolean | Whether or not this repository runs builds on travis-ci.org (may also be null). |
migration_status | Unknown | The repository's migration_status. |
history_migration_status | Unknown | The repository's history_migration_status. |
shared | Unknown | The repository's shared. |
config_validation | Unknown | The repository's config_validation. |
server_type | Unknown | The repository's server_type. |
scan_failed_at | Unknown | The repository's scan_failed_at. |
current_build | Build | The most recently started build (this excludes builds that have been created but have not yet started). |
last_started_build | Build | Alias for current_build. |
next_build_number | Unknown | The repository's next_build_number. |
private_key | Unknown | The repository's private_key. |
token | Unknown | The repository's token. |
user_settings | Unknown | The repository's user_settings. |
allow_migration | Unknown | The repository's allow_migration. |
email_subscribed | Unknown | The repository's email_subscribed. |
Actions
For Owner
This returns a list of repositories an owner has access to.
Template Variable | Type | Description |
---|---|---|
github_id | Unknown | Documentation missing. |
Query Parameter | Type | Description |
---|---|---|
active | [Boolean] | Alias for repository.active. |
active_on_org | [Boolean] | Alias for repository.active_on_org. |
include | [String] | List of attributes to eager load. |
limit | Integer | How many repositories to include in the response. Used for pagination. |
managed_by_installation | [Boolean] | Alias for repository.managed_by_installation. |
offset | Integer | How many repositories to skip before the first entry in the response. Used for pagination. |
private | [Boolean] | Alias for repository.private. |
repository.active | [Boolean] | Filters repositories by whether or not this repository is currently enabled on Travis CI. |
repository.active_on_org | [Boolean] | Filters repositories by whether or not this repository runs builds on travis-ci.org (may also be null). |
repository.managed_by_installation | [Boolean] | Filters repositories by whether or not this repository is managed by a GitHub App installation. |
repository.private | [Boolean] | Filters repositories by whether or not this repository is private. |
repository.starred | [Boolean] | Filters repositories by whether or not this repository is starred. |
sort_by | [String] | Attributes to sort repositories by. Used for pagination. |
starred | [Boolean] | Alias for repository.starred. |
Sortable by: id, github_id, vcs_id, owner_name, name, active, default_branch.last_build, append :desc to any attribute to reverse order.
Template Variable | Type | Description |
---|---|---|
provider | Unknown | Documentation missing. |
login | Unknown | Documentation missing. |
Query Parameter | Type | Description |
---|---|---|
active | [Boolean] | Alias for repository.active. |
active_on_org | [Boolean] | Alias for repository.active_on_org. |
include | [String] | List of attributes to eager load. |
limit | Integer | How many repositories to include in the response. Used for pagination. |
managed_by_installation | [Boolean] | Alias for repository.managed_by_installation. |
offset | Integer | How many repositories to skip before the first entry in the response. Used for pagination. |
private | [Boolean] | Alias for repository.private. |
repository.active | [Boolean] | Filters repositories by whether or not this repository is currently enabled on Travis CI. |
repository.active_on_org | [Boolean] | Filters repositories by whether or not this repository runs builds on travis-ci.org (may also be null). |
repository.managed_by_installation | [Boolean] | Filters repositories by whether or not this repository is managed by a GitHub App installation. |
repository.private | [Boolean] | Filters repositories by whether or not this repository is private. |
repository.starred | [Boolean] | Filters repositories by whether or not this repository is starred. |
sort_by | [String] | Attributes to sort repositories by. Used for pagination. |
starred | [Boolean] | Alias for repository.starred. |
Sortable by: id, github_id, vcs_id, owner_name, name, active, default_branch.last_build, append :desc to any attribute to reverse order.
Template Variable | Type | Description |
---|---|---|
login | Unknown | Documentation missing. |
Query Parameter | Type | Description |
---|---|---|
active | [Boolean] | Alias for repository.active. |
active_on_org | [Boolean] | Alias for repository.active_on_org. |
include | [String] | List of attributes to eager load. |
limit | Integer | How many repositories to include in the response. Used for pagination. |
managed_by_installation | [Boolean] | Alias for repository.managed_by_installation. |
offset | Integer | How many repositories to skip before the first entry in the response. Used for pagination. |
private | [Boolean] | Alias for repository.private. |
repository.active | [Boolean] | Filters repositories by whether or not this repository is currently enabled on Travis CI. |
repository.active_on_org | [Boolean] | Filters repositories by whether or not this repository runs builds on travis-ci.org (may also be null). |
repository.managed_by_installation | [Boolean] | Filters repositories by whether or not this repository is managed by a GitHub App installation. |
repository.private | [Boolean] | Filters repositories by whether or not this repository is private. |
repository.starred | [Boolean] | Filters repositories by whether or not this repository is starred. |
sort_by | [String] | Attributes to sort repositories by. Used for pagination. |
starred | [Boolean] | Alias for repository.starred. |
Sortable by: id, github_id, vcs_id, owner_name, name, active, default_branch.last_build, append :desc to any attribute to reverse order.
For Current User
This returns a list of repositories the current user has access to.
Query Parameter | Type | Description |
---|---|---|
active | [Boolean] | Alias for repository.active. |
active_on_org | [Boolean] | Alias for repository.active_on_org. |
include | [String] | List of attributes to eager load. |
limit | Integer | How many repositories to include in the response. Used for pagination. |
managed_by_installation | [Boolean] | Alias for repository.managed_by_installation. |
offset | Integer | How many repositories to skip before the first entry in the response. Used for pagination. |
private | [Boolean] | Alias for repository.private. |
repository.active | [Boolean] | Filters repositories by whether or not this repository is currently enabled on Travis CI. |
repository.active_on_org | [Boolean] | Filters repositories by whether or not this repository runs builds on travis-ci.org (may also be null). |
repository.managed_by_installation | [Boolean] | Filters repositories by whether or not this repository is managed by a GitHub App installation. |
repository.private | [Boolean] | Filters repositories by whether or not this repository is private. |
repository.starred | [Boolean] | Filters repositories by whether or not this repository is starred. |
sort_by | [String] | Attributes to sort repositories by. Used for pagination. |
starred | [Boolean] | Alias for repository.starred. |
Example:GET /repos?limit=5&sort_by=active,name
Sortable by: id, github_id, vcs_id, owner_name, name, active, default_branch.last_build, append :desc to any attribute to reverse order.