Request
An individual request
Attributes
Minimal Representation
Included when the resource is returned as part of another resource.
Name | Type | Description |
---|---|---|
id | Integer | Value uniquely identifying the request. |
state | String | The state of a request (eg. whether it has been processed or not). |
result | String | The result of the request (eg. rejected or approved). |
message | String | Travis-ci status message attached to the request. |
pull_request_mergeable | Unknown | The request's pull_request_mergeable. |
Standard Representation
Included when the resource is the main response of a request, or is eager loaded.
Name | Type | Description |
---|---|---|
id | Integer | Value uniquely identifying the request. |
state | String | The state of a request (eg. whether it has been processed or not). |
result | String | The result of the request (eg. rejected or approved). |
message | String | Travis-ci status message attached to the request. |
pull_request_mergeable | Unknown | The request's pull_request_mergeable. |
repository | Repository | GitHub user or organization the request belongs to. |
branch_name | String | Name of the branch requested to be built. |
commit | Commit | The commit the request is associated with. |
builds | [Build] | The request's builds. |
owner | Owner | GitHub user or organization the request belongs to. |
created_at | String | When Travis CI created the request. |
event_type | String | Origin of request (push, pull request, api). |
base_commit | String | The base commit the request is associated with. |
head_commit | String | The head commit the request is associated with. |
messages | Unknown | The request's messages. |
config | Object | Build configuration (as parsed from .travis.yml). |
raw_configs | Unknown | The request's raw_configs. |
Actions
Find
This returns an individual request.
GET
/repo/{provider}/{repository.id}/request/{request.id}
Template Variable | Type | Description |
---|---|---|
provider | Unknown | Documentation missing. |
repository.id | Integer | Value uniquely identifying the repository. |
request.id | Integer | Value uniquely identifying the request. |
Query Parameter | Type | Description |
---|---|---|
include | [String] | List of attributes to eager load. |
GET
/repo/{provider}/{repository.slug}/request/{request.id}
Template Variable | Type | Description |
---|---|---|
provider | Unknown | Documentation missing. |
repository.slug | String | Same as {repository.owner.name}/{repository.name}. |
request.id | Integer | Value uniquely identifying the request. |
Query Parameter | Type | Description |
---|---|---|
include | [String] | List of attributes to eager load. |
GET
/repo/{repository.id}/request/{request.id}
Template Variable | Type | Description |
---|---|---|
repository.id | Integer | Value uniquely identifying the repository. |
request.id | Integer | Value uniquely identifying the request. |
Query Parameter | Type | Description |
---|---|---|
include | [String] | List of attributes to eager load. |
GET
/repo/{repository.slug}/request/{request.id}
Template Variable | Type | Description |
---|---|---|
repository.slug | String | Same as {repository.owner.name}/{repository.name}. |
request.id | Integer | Value uniquely identifying the request. |
Query Parameter | Type | Description |
---|---|---|
include | [String] | List of attributes to eager load. |