hosting

POST /v1/sites/{siteId}/wordpress/cron

Run one scheduled task now.

Dukkan hosting wuraren ƙarshe

Tabbatar da Asali

Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin sites.view; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.

Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/wordpress/cron \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "hook": <string> }'

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

Runs a single named task immediately and returns the queue as it then reads. ⛔ The hook is **confirmed to exist before it is run**. Running an unknown hook fails with the scheduler's own words, which we would surface as "we could not run it" — true, unactionable, and indistinguishable from a real failure. Naming it back is the difference, so a hook that has since disappeared is a refusal that says so. ⛔ This addresses **one named hook**, never "everything currently due". A button labelled with one task's name must not have the blast radius of the whole queue. Refused where `wp_cron` is `false`. Requires `sites.view` and `sites.panel_access`.

Sigogi

SunaNau'iAna buƙataAbin da yake
siteId (path)UuidEhSite ID (UUIDv7).

Jikin buƙata

SunaNau'iAna buƙataAbin da yake
hookstringEhThe hook name, exactly as `listSiteWordPressCronEvents` reports it. A closed alphabet, because this value reaches the scheduler as an argument — nothing a caller types can be re…

Martani

SunaNau'iAna buƙataAbin da yake
dataSiteWordPressCronEvent[]Eh

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404 · 422 · 429 · 503