Autopilot's review by what it updates: the posts and articles with updates waiting for the team or going out by themselves, the ones that reach the most people first (view: decided: the latest 100 decided). The changelog line isn't here: it's written into the running draft by itself
Tuti APIAutopilot
List updates by target
/code-change-targetsAuthorization Bearer token
Query parameters
viewstringwaiting, ordecided: those whose updates were all decided, the latest first, each with itsoutcomeDefault:
"waiting"One of
"waiting""decided"
Responses
200Posts and articles with updates from Autopilotapplication/json · object
Posts and articles with updates from Autopilot
feedbackarray of AutopilotTargetrequiredPosts
ShowHide 16 properties
pathstringrequiredIts review's path, for codeChanges.target:
feedback/<post id>, orarticles/<article id>(a new article's update id until its draft exists)sectionstringrequiredA post, or an article
One of
"feedback""help_center"titlestringrequiredThe post's or article's title
groupobject · nullablerequiredWhere it is: a post's board, an article's collection with its
icon; null for an article in none or a new article's draftShowHide 3 properties
idstringrequirednamestringrequirediconstring · nullablerequired
badgestring · nullablerequiredWhat its updates waiting or applied do; null once all were dismissed or undone
One of
"completing""in_progress""updated""new"outcomeobject · nullablerequiredWith
view: decided: what became of it; null while something waitsShowHide 3 properties
outcomestringrequiredWhat became of it (
approved: an edit kept unpublished)One of
"completed""in_progress""published""approved""drafted""linked""dismissed""undone"linestringrequiredWho decided it, as a row says it: "Approved by Olive", "Published by Autopilot"
atstring · nullablerequiredWhen
pullRequestsarray of CodeChangePullRequestrequiredThe pull requests behind it, the latest merged first
ShowHide 7 properties
idstringrequiredThe code change's id
repostringrequiredThe repository, as owner/name
numberintegerrequiredThe pull request's number on GitHub
urlstringrequiredThe pull request on GitHub
titlestringrequiredThe pull request's title
authorstringrequiredIts author's GitHub login
mergedAtstringrequiredWhen it merged
samplebooleanrequiredOn sample content
sincestringrequiredWhen its first update still here was suggested
reachintegerrequiredHow many people it reaches: a post's author, voters, commenters and subscribers; an article's views in 30 days
waitingintegerrequiredUpdates on it waiting for the team (not those going out by themselves)
stoppedstring · nullablerequiredWho stopped one going out by itself ("Stopped by Olive"); null when nobody did
scheduledarray of stringrequiredUpdates going out by themselves, by id: any can be published now or stopped (codeChangeActions.publishNow, stop). A Verify run's fix is never one: it always waits for the team
nextDueAtstring · nullablerequiredWhen the first of those goes
sureobject · nullablerequiredNull when only the changelog line waits, or nothing does
ShowHide 2 properties
percentintegerrequiredHow sure Autopilot is of those waiting, on average
likelybooleanrequiredLikely by their kinds' thresholds, on average
likelyarray of objectrequiredWhat approving it from the list approves (codeChangeActions.applyMany)
ShowHide 4 properties
idstringrequiredkindstringrequiredWhat it does:
linksthe pull request to a post,resolves(completes) a post,moves_forward(a progress update),article_edit,new_article(a draft) orchangelog_lineOne of
"links""resolves""moves_forward""article_edit""new_article""changelog_line"revisionstringThe version it applies, for codeChangeActions.apply's
revisionemailsintegerHow many people approving it emails
helpCenterarray of AutopilotTargetrequiredArticles: edits, and new articles' drafts
ShowHide 16 properties
pathstringrequiredIts review's path, for codeChanges.target:
feedback/<post id>, orarticles/<article id>(a new article's update id until its draft exists)sectionstringrequiredA post, or an article
One of
"feedback""help_center"titlestringrequiredThe post's or article's title
groupobject · nullablerequiredWhere it is: a post's board, an article's collection with its
icon; null for an article in none or a new article's draftShowHide 3 properties
idstringrequirednamestringrequirediconstring · nullablerequired
badgestring · nullablerequiredWhat its updates waiting or applied do; null once all were dismissed or undone
One of
"completing""in_progress""updated""new"outcomeobject · nullablerequiredWith
view: decided: what became of it; null while something waitsShowHide 3 properties
outcomestringrequiredWhat became of it (
approved: an edit kept unpublished)One of
"completed""in_progress""published""approved""drafted""linked""dismissed""undone"linestringrequiredWho decided it, as a row says it: "Approved by Olive", "Published by Autopilot"
atstring · nullablerequiredWhen
pullRequestsarray of CodeChangePullRequestrequiredThe pull requests behind it, the latest merged first
ShowHide 7 properties
idstringrequiredThe code change's id
repostringrequiredThe repository, as owner/name
numberintegerrequiredThe pull request's number on GitHub
urlstringrequiredThe pull request on GitHub
titlestringrequiredThe pull request's title
authorstringrequiredIts author's GitHub login
mergedAtstringrequiredWhen it merged
samplebooleanrequiredOn sample content
sincestringrequiredWhen its first update still here was suggested
reachintegerrequiredHow many people it reaches: a post's author, voters, commenters and subscribers; an article's views in 30 days
waitingintegerrequiredUpdates on it waiting for the team (not those going out by themselves)
stoppedstring · nullablerequiredWho stopped one going out by itself ("Stopped by Olive"); null when nobody did
scheduledarray of stringrequiredUpdates going out by themselves, by id: any can be published now or stopped (codeChangeActions.publishNow, stop). A Verify run's fix is never one: it always waits for the team
nextDueAtstring · nullablerequiredWhen the first of those goes
sureobject · nullablerequiredNull when only the changelog line waits, or nothing does
ShowHide 2 properties
percentintegerrequiredHow sure Autopilot is of those waiting, on average
likelybooleanrequiredLikely by their kinds' thresholds, on average
likelyarray of objectrequiredWhat approving it from the list approves (codeChangeActions.applyMany)
ShowHide 4 properties
idstringrequiredkindstringrequiredWhat it does:
linksthe pull request to a post,resolves(completes) a post,moves_forward(a progress update),article_edit,new_article(a draft) orchangelog_lineOne of
"links""resolves""moves_forward""article_edit""new_article""changelog_line"revisionstringThe version it applies, for codeChangeActions.apply's
revisionemailsintegerHow many people approving it emails
400The request isn't valid: a field is missing, has the wrong type or is out of range, or the body isn't a JSON object. The message names the field.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
500Something went wrong on Tuti's side. Try again in a moment.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change

