Travis CI API Docs

Messages

A list of messages. Messages belong to resource types.

Attributes

NameTypeDescription
messages[Message]List of messages.

Collection Items

Each entry in the messages array has the following attributes:

NameTypeDescription
idIntegerThe message's id.
levelStringThe message's level.
keyStringThe message's key.
codeStringThe message's code.
argsJsonThe message's args.
srcUnknownThe message's src.
lineUnknownThe message's line.

Actions

For Request

This will return a list of messages created by travis-yml for a request, if any exist.

GET
/repo/{provider}/{repository.id}/request/{request.id}/messages
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.
limitIntegerHow many messages to include in the response. Used for pagination.
offsetIntegerHow many messages to skip before the first entry in the response. Used for pagination.
GET
/repo/{provider}/{repository.slug}/request/{request.id}/messages
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.
limitIntegerHow many messages to include in the response. Used for pagination.
offsetIntegerHow many messages to skip before the first entry in the response. Used for pagination.
GET
/repo/{repository.id}/request/{request.id}/messages
Template VariableTypeDescription
repository.idIntegerValue uniquely identifying the repository.
request.idIntegerValue uniquely identifying the request.
Query ParameterTypeDescription
include[String]List of attributes to eager load.
limitIntegerHow many messages to include in the response. Used for pagination.
offsetIntegerHow many messages to skip before the first entry in the response. Used for pagination.
GET
/repo/{repository.slug}/request/{request.id}/messages
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.
limitIntegerHow many messages to include in the response. Used for pagination.
offsetIntegerHow many messages to skip before the first entry in the response. Used for pagination.