Partner endpoint for DownlineHydra tracked program links (Marty 2026-11-15): POST /api/partner/dh/links, net.v1-signed with NETWORK_SSO_SECRET. op ensure makes or updates one link per program on the member's own account (by email, else network username), tagged with a new 'DownlineHydra' network source and the program id as sub-id (?s1=&placement=), clean link host from domains.hosts(); op stats answers clicks per program. rotator.ensurePartner / partnerStats; catalog template downlinehydra; NET_SRC dh. qa/partner-dhlinks.test.mjs 13/13, partner-spins 13/13, netsrc 16/16. LOCAL ONLY, not pushed or deployed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,6 +59,36 @@
|
||||
"verified": true,
|
||||
"source": "network"
|
||||
},
|
||||
{
|
||||
"key": "downlinehydra",
|
||||
"name": "DownlineHydra",
|
||||
"site": "downlinehydra.com",
|
||||
"costModel": "",
|
||||
"params": [
|
||||
{
|
||||
"key": "clickid",
|
||||
"token": "{clickid}",
|
||||
"label": "Click id",
|
||||
"role": "externalId"
|
||||
},
|
||||
{
|
||||
"key": "placement",
|
||||
"token": "{program}",
|
||||
"label": "Program",
|
||||
"role": "param"
|
||||
},
|
||||
{
|
||||
"key": "s1",
|
||||
"token": "{program}",
|
||||
"label": "Program (sub-id)",
|
||||
"role": "param"
|
||||
}
|
||||
],
|
||||
"postbackUrl": "",
|
||||
"notes": "DownlineHydra downline builder. Your saved referral links for outside programs (wild heads and my heads) go out as LinkSpin links: every click carries the program id as placement and s1, so Reports split them by program.",
|
||||
"verified": true,
|
||||
"source": "network"
|
||||
},
|
||||
{
|
||||
"key": "instantadpay",
|
||||
"name": "InstantAdPay",
|
||||
|
||||
Reference in New Issue
Block a user