Pending proposed edits to this article.

Authentication

Bearer token (content:read): A workspace API key: ud_live_…

Parameters

NameInTypeRequiredDescription
idpathstringYesArticle id or slug.
start_cursorquerystringnext_cursor from the previous page.
page_sizequeryinteger
bot_idquerystringOnly for a key that covers several bots (see GET /bots). Or send the Usedocs-Bot header.

Responses

StatusDescription
200Pending edits.
400The request is missing something or has a bad value.
401No API key, or the key is revoked.
403A read key on a write, or a key for another bot.
404Not found.
429Rate limited: 120 requests a minute per key, 30 tasks an hour. See Retry-After.

Response fields

FieldTypeDescription
resultsDraft[]
has_moreboolean
next_cursor`stringnull`

results[]: Draft

FieldTypeDescription
idstringedit_…, article_…, or gap_…
typestringOne of: edit, new_article, gap_draft.
articleId`stringnull`
titlestring
sourcestringOne of: code, customers, requests, import, translations.
detailstring
reasonstring
conflictbooleanThe article changed after the edit was proposed.
livebooleanThe edited article is published.
originUrl`stringnull`
createdAtstring (date-time)