hosting

GET /v1/transfers

List every site transfer this account is a party to.

Všechny koncové body hosting

Všechny dokumenty pro vývojáře

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X GET https://api.zinndigital.com/v1/transfers \
  -H "Authorization: Bearer zdk_live_…"

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

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.

Odpověď

NázevTypPožadovánoCo to je
transfersSiteTransfer[]Ano
org_idsUuid[]AnoThe 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.

Chyby, které může tento koncový bod vrátit

401 · 403 · 429