links

POST /v1/link-edits/{editId}/undo

Put back exactly what a bulk edit replaced.

ټول links پای ټکي

تصدیق‌هویت

د بیارر ټوکن په توګه یو API کي وسپارئ. دا پای ټکی په مشخصاتو کې کوم ځانګړی اجازه لیک نه بیانوي، نو خپل کیلي ته لږترلږه هغه څه ورکړئ چې ورته اړتیا لري او د فرض کولو پر ځای ځواب وپلټئ.

دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.

هڅه وکړئ

د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.

curl -X POST https://api.zinndigital.com/v1/link-edits/{editId}/undo \
  -H "Authorization: Bearer zdk_live_…"

ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ

تفصیلات

Reverses the items that actually **applied** — a `stale` item is not reversed, because re-inserting a link the customer had already removed themselves would be a change nobody asked for, and a failed item never wrote anything to put back. Once. A second undo would reverse the first and put the original change back, which is the opposite of what the button says, so it is a `409`.

پارامترونه

نومډولاړیندا څه شی دی
editId (path)stringهوThe bulk edit's id.

ځواب

نومډولاړیندا څه شی دی
idstringهو
target_idstringنه
target_hoststringهوThe host as it read when the edit was made. Kept as a string as well as a key, because a rewrite can empty a target of its last link and an audit line reading "edited (deleted t…
actionstring<rewrite, unlink>هو
new_hrefstringنه
new_textstringنهNew visible text. Empty means *keep whatever each link already says* — which is the common case, because one target's links carry many different anchors and flattening them all…
statusstring<pending, running, applied, partial, failed>هو`partial` is the honest answer when some sites succeeded and some did not, and it exists because the other two are lies in that case: an operator's next action depends entirely…
expected_linksintegerهوWhat the operator was told would change, **recorded when they confirmed it** rather than recomputed later. The whole value of a confirmation is that it can be held up against th…
expected_postsintegerهو
expected_sitesintegerهو
undo_ofstringنهThe edit this one reverses, if any.
undone_bystringنهThe edit that has already reversed this one. Present so the screen offers undo once — two undos of one edit put the original change back.
created_atstringهو
finished_atstringنه
itemsLinkEditItem[]نه

تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي

401 · 403 · 404 · 409 · 422 · 503