reseller

GET /v1/reseller/services/{siteId}

One provisioned service.

அனைத்து reseller இறுதிப்புள்ளிகளும்

அங்கீகாரம்

பியரர் டோக்கனாக (bearer token) ஒரு API விசையை அனுப்பவும். அந்த விசை reseller.view அனுமதியைக் கொண்டிருக்க வேண்டும்; அது இல்லாத விசை 404 அல்ல, 403 குறியீட்டுடன் மறுக்கப்படும்.

உங்கள் அமைப்பு ஐடி எங்கு செல்ல வேண்டும்

இந்த எண்ட் பாயிண்ட் org_id என்பதை வினவல் அளபுருவாக (query parameter) எடுத்துக்கொள்கிறது. இதை விட்டுவிட்டால், அழைப்பு உங்கள் முழு டெனன்சி துணை மரத்தையும் (tenancy subtree) உள்ளடக்கும்; ஒரு நிறுவனத்திற்கு மட்டுமே அழைப்பைக் சுருக்க இதை அனுப்பவும்.

உங்கள் நிறுவன ஐடி உங்கள் டாஷ்போர்டில் உள்ள API விசைகள் திரையில், விசைக்கு அருகிலேயே உள்ளது. நீங்கள் செய்யும் ஒவ்வொரு அழைப்பிலும் இதுவே ஒரே ஐடி ஆகும்.

முயன்று பார்

கோண அடைப்புக்குறிகளில் உள்ள எதையும் உங்கள் சொந்த மதிப்புகளுடன் மாற்றவும், மேலும் விசை பிளேஸ்ஹோல்டரை உங்கள் டாஷ்போர்டில் உள்ள விசையுடன் மாற்றவும்.

curl -X GET https://api.zinndigital.com/v1/reseller/services/{siteId} \
  -H "Authorization: Bearer zdk_live_…"

உள்நுழைந்துள்ளீர்களா? உங்கள் டேஷ்போர்டில் உள்ள ஏபிஐ கன்சோல் உங்கள் உண்மையான நிறுவன ஐடி மற்றும் உங்கள் சொந்த சாவியை நிரப்புகிறது, மேலும் நேரலை ஏபிஐக்கு எதிராக கோரிக்கையை இயக்குகிறது, இதனால் நீங்கள் உண்மையான பதிலைக் காண முடியும். இந்த எண்ட்மார்க்கை ஏபிஐ கன்சோலில் திறக்கவும்

விவரங்கள்

The same row `listResellerServices` returns, for one site. A site outside your client subtree is a 404, never a 403 — so this is not an existence oracle. Requires `reseller.view`.

அளவுருக்கள்

பெயர்வகைதேவைப்படுகிறதுஅது என்ன
siteId (path)Uuidஆம்Site ID (UUIDv7).
org_id (query)Uuidஇல்லைWhich of your organizations this applies to. Required only when you belong to more than one here.

பதில்

பெயர்வகைதேவைப்படுகிறதுஅது என்ன
site_idUuidஆம்UUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_idUuidஆம்UUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_namestringஆம்
primary_domainstringஆம்
namestringஇல்லை
statusSiteStatusஆம்A site's lifecycle state (docs/04 §3). A newly created site is `pending` until the provisioning workflow picks it up; `deleted` is terminal. `restricted` and `quarantined` are t…
product_lineobjectஇல்லை
plan_codeobjectஇல்லை
plan_nameobjectஇல்லை
held_by_resellerbooleanஇல்லைTrue when the current suspension was placed through this surface, which is the only case `unsuspendResellerService` will release. A site suspended by the abuse desk reports fals…
pending_deletion_atobjectஇல்லைWhen a scheduled deletion falls due, or null.
sell_amount_minorobjectஇல்லைWhat YOU charge for this plan, in minor units of `sell_currency` — your own price-list row if you have authored one, otherwise our list price with your default markup applied. N…
sell_currencyobjectஇல்லை
created_atstringஆம்
disk_used_bytesobjectஇல்லைNull when the hosting platform has no usage to report for this site.
bandwidth_used_bytesobjectஇல்லைOutbound bandwidth this billing period, or null.
usage_measured_atobjectஇல்லைWhen the reading was taken. Null alongside null usage — so "we have not measured this" is never mistaken for "it used nothing" (§2.44).

இந்த எண்ட்ஸ்பாயிண்ட் திரும்ப அனுப்பக்கூடிய பிழைகள்

401 · 403 · 404 · 429