hosting
GET /v1/transfers
List every site transfer this account is a party to.
Autentifikacija
Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija s kodom 403, a ne 404.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
curl -X GET https://api.zinndigital.com/v1/transfers \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
Both directions in one list. direction is computed per request from the caller's own organizations — the same row is outgoing to one party and incoming to the other, so a stored direction would be wrong for one of its two readers. org_ids carries the caller's own organization ids. That is the value a customer gives to somebody who is transferring them a site: transfers are addressed by organization id rather than by email address, because resolving a recipient by email would turn the offer form into a way to discover whether an address has an account with us and whether it is in arrears. Requires sites.view.
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
transfers | SiteTransfer[] | Da | — |
org_ids | Uuid[] | Da | The caller's own organization ids — what they give to somebody transferring them a site. See SiteTransferProposal.target_org_id for why transfers are addressed this way. |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 429