Travis CI API Docs

Request

An individual request

Attributes

Minimal Representation

Included when the resource is returned as part of another resource.

NameTypeDescription
idIntegerValue uniquely identifying the request.
stateStringThe state of a request (eg. whether it has been processed or not).
resultStringThe result of the request (eg. rejected or approved).
messageStringTravis-ci status message attached to the request.
pull_request_mergeableUnknownThe request's pull_request_mergeable.

Standard Representation

Included when the resource is the main response of a request, or is eager loaded.

NameTypeDescription
idIntegerValue uniquely identifying the request.
stateStringThe state of a request (eg. whether it has been processed or not).
resultStringThe result of the request (eg. rejected or approved).
messageStringTravis-ci status message attached to the request.
pull_request_mergeableUnknownThe request's pull_request_mergeable.
repositoryRepositoryGitHub user or organization the request belongs to.
branch_nameStringName of the branch requested to be built.
commitCommitThe commit the request is associated with.
builds[Build]The request's builds.
ownerOwnerGitHub user or organization the request belongs to.
created_atStringWhen Travis CI created the request.
event_typeStringOrigin of request (push, pull request, api).
base_commitStringThe base commit the request is associated with.
head_commitStringThe head commit the request is associated with.
messagesUnknownThe request's messages.
configObjectBuild configuration (as parsed from .travis.yml).
raw_configsUnknownThe request's raw_configs.

Actions

Find

This returns an individual request.

GET
/repo/{provider}/{repository.id}/request/{request.id}
Template VariableTypeDescription
providerUnknownDocumentation missing.
repository.idIntegerValue uniquely identifying the repository.
request.idIntegerValue uniquely identifying the request.
Query ParameterTypeDescription
include[String]List of attributes to eager load.
GET
/repo/{provider}/{repository.slug}/request/{request.id}
Template VariableTypeDescription
providerUnknownDocumentation missing.
repository.slugStringSame as {repository.owner.name}/{repository.name}.
request.idIntegerValue uniquely identifying the request.
Query ParameterTypeDescription
include[String]List of attributes to eager load.
GET
/repo/{repository.id}/request/{request.id}
Template VariableTypeDescription
repository.idIntegerValue uniquely identifying the repository.
request.idIntegerValue uniquely identifying the request.
Query ParameterTypeDescription
include[String]List of attributes to eager load.
GET
/repo/{repository.slug}/request/{request.id}
Template VariableTypeDescription
repository.slugStringSame as {repository.owner.name}/{repository.name}.
request.idIntegerValue uniquely identifying the request.
Query ParameterTypeDescription
include[String]List of attributes to eager load.