ReadMe
App · 4 actions
Look up documentation versions and guides from a ReadMe Refactored project.
Actions
| Action | What it does |
|---|---|
| Get a guide | Read a guide's title, Markdown content and publication state. |
| Get documentation project | Get the connected project's name, description and default version. |
| List documentation branches | Find versions and branches in the connected ReadMe project. |
| List guides in a category | Get guide pages, including nested pages, from a category in a ReadMe branch. |
Get a guide
Read a guide's title, Markdown content and publication state.
Inputs
- Branch
branchtextRequired - The version or branch name. Use stable for the default published version.
- Slug
slugtextRequired - The last part of the guide URL.
Outputs
dataobject- The response from ReadMe.
Example output
{
"data": {
"data": {
"content": {
"body": "example"
},
"slug": "example",
"state": "example",
"title": "example",
"updated_at": "example",
"uri": "example"
}
}
}Get documentation project
Get the connected project's name, description and default version.
Inputs
None.
Outputs
dataobject- The response from ReadMe.
Example output
{
"data": {
"data": {
"default_version": {
"name": "example"
},
"description": "example",
"id": "example",
"name": "example",
"refactored": true,
"subdomain": "example"
}
}
}List documentation branches
Find versions and branches in the connected ReadMe project.
Inputs
- Search
searchtext - A word or version number to look for.
- Page
pagenumber - Page number, starting at 1.At least 1.
Outputs
dataobject- The response from ReadMe.
Example output
{
"data": {
"data": [
{
"display_name": "example",
"name": "example",
"updated_at": "example",
"uri": "example"
}
],
"page": 1,
"per_page": 1,
"total": 1
}
}List guides in a category
Get guide pages, including nested pages, from a category in a ReadMe branch.
Inputs
- Branch
branchtextRequired - The version or branch name. Use stable for the default published version.
- Category
categorytextRequired - The exact name of the category in the Guides sidebar.
Outputs
dataobject- The response from ReadMe.
Example output
{
"data": {
"data": [
{
"slug": "example",
"title": "example",
"updated_at": "example",
"uri": "example"
}
],
"total": 1
}
}