Read the Docs
App · 4 actions
Find documentation projects and versions, queue builds and follow build results in Read the Docs.
Actions
| Action | What it does |
|---|---|
| List documentation builds | Get recent builds and their status or limit the results to running or ended builds. |
| List documentation projects | Find the projects your Read the Docs account can access. |
| List documentation versions | Get a project's published and unpublished documentation versions. |
| Queue a documentation build | Start a new build for a project version. |
List documentation builds
Get recent builds and their status or limit the results to running or ended builds.
Inputs
- Project slug
project_slugtextRequired - The name in your project's Read the Docs dashboard URL.
- Running
runningtrue/false - Choose Yes for running builds or No for builds that have ended.
- Limit
limitnumber - How many results to return.From 1 to 50.
- Offset
offsetnumber - How many results to skip before returning a page.At least 0.
Outputs
dataobject- The response from Read the Docs.
Example output
{
"data": {
"count": 1,
"next": "example",
"results": [
{
"created": "example",
"duration": 1,
"error": "example",
"finished": "example",
"id": 1,
"project": "example",
"state": {
"code": "example",
"name": "example"
},
"success": true,
"urls": {},
"version": "example"
}
]
}
}List documentation projects
Find the projects your Read the Docs account can access.
Inputs
- Limit
limitnumber - How many results to return.From 1 to 50.
- Offset
offsetnumber - How many results to skip before returning a page.At least 0.
Outputs
dataobject- The response from Read the Docs.
Example output
{
"data": {
"count": 1,
"next": "example",
"results": [
{
"default_version": "example",
"name": "example",
"slug": "example",
"urls": {}
}
]
}
}List documentation versions
Get a project's published and unpublished documentation versions.
Inputs
- Project slug
project_slugtextRequired - The name in your project's Read the Docs dashboard URL.
- Limit
limitnumber - How many results to return.From 1 to 50.
- Offset
offsetnumber - How many results to skip before returning a page.At least 0.
Outputs
dataobject- The response from Read the Docs.
Example output
{
"data": {
"count": 1,
"next": "example",
"results": [
{
"active": true,
"built": true,
"identifier": "example",
"slug": "example",
"urls": {},
"verbose_name": "example"
}
]
}
}Queue a documentation build
Start a new build for a project version.
Inputs
- Project slug
project_slugtextRequired - The name in your project's Read the Docs dashboard URL.
- Version slug
version_slugtextRequired - The version slug, such as latest or stable.
Outputs
dataobject- The response from Read the Docs.
Example output
{
"data": {
"build": {
"created": "example",
"duration": 1,
"error": "example",
"finished": "example",
"id": 1,
"project": "example",
"state": {
"code": "example",
"name": "example"
},
"success": true,
"urls": {},
"version": "example"
},
"project": {
"default_version": "example",
"name": "example",
"slug": "example",
"urls": {}
},
"version": {
"active": true,
"built": true,
"identifier": "example",
"slug": "example",
"urls": {},
"verbose_name": "example"
}
}
}