hosting
GET /v1/connector/status
Is this site's connector credential still live? — called by the Zinn® WordPress plugin.
Նույնականացում
Այս վերջնակետը հանրային է: Այն չի պահանջում որևէ հավատարմագիր կամ կազմակերպություն. դա այն է, ինչ կարդում են մեր սեփական մարքեթինգային կայքը և արհեստական բանականության պատասխանների շարժիչները:
Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
curl -X GET https://api.zinndigital.com/v1/connector/statusՄուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ API-ի դեմ, որպեսզի կարողանաք տեսնել փաստացի պատասխանը: Բացեք այս վերջնակետը API վահանակում
Մանրամասներ
Unauthenticated by session, authorised by the per-site bearer token minted when the customer connected. The caller is PHP on a server we have never seen. ⛔ Unlike /v1/connector/backup/claim, this endpoint DOES distinguish a good token from a bad one, and that is not a regression of that decision — it is a different question. It says nothing about a site: it says whether the token the caller already holds is live, which is exactly what the legitimate holder needs and is worth nothing to anybody else. Learning one bit about somebody else's site would require possessing their token first. ⛔ A refused account and an outage are different answers with different remedies, so a refusal carries refused: true and a reason written for the site owner (CLAUDE.md §2.57). The plugin shows the reason and links to billing; it never reports a suspension as an outage or an outage as a suspension.
Պատասխան
| Անուն | Տեսակ | Պահանջվում է | Ինչ է դա |
|---|---|---|---|
connected | boolean | Այո | Whether the presented token is live. False for an unknown one. |
org | string | Ոչ | The organisation this site belongs to. Empty when unreadable. |
refused | boolean | Ոչ | Present and true when the account may not currently publish. |
reason | string | Ոչ | Why, written for the site owner. Only set alongside refused. |
Այս վերջնակետի կողմից վերադարձվող սխալները
429