{"openapi":"3.1.0","info":{"title":"Referradar API","version":"1.0.0","description":"Referradar API. Request schemas come from the same zod contracts the runtime validates with; every registered route gets a generated stub. `/v1/*` is the canonical surface. Browser code talks to `/api/*` (BFF), which forwards with a shared secret. `/mcp` is the MCP Streamable HTTP endpoint; `/webhooks/creem` receives signed Creem events."},"servers":[{"url":"/","description":"Current origin"}],"tags":[{"name":"health","description":"Health check"},{"name":"auth","description":"Google login, session, logout"},{"name":"public","description":"Free public opportunity library"},{"name":"projects","description":"Website projects, analysis and assets"},{"name":"opportunities","description":"Saved, submitted and acquired opportunities"},{"name":"billing","description":"Creem subscriptions and entitlements"},{"name":"mcp","description":"MCP API keys and endpoint"},{"name":"admin","description":"Admin-only reads"},{"name":"openapi","description":"OpenAPI + docs"}],"components":{"securitySchemes":{"BackendSecret":{"type":"apiKey","in":"header","name":"X-Backend-Secret"},"AdminUserId":{"type":"apiKey","in":"header","name":"X-Admin-User-Id"},"McpApiKey":{"type":"http","scheme":"bearer"}},"responses":{"RateLimited":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"NotFound":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"schemas":{"ErrorEnvelope":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["AUTH_UNAUTHORIZED","CONFLICT","EXTERNAL_SERVICE_FAILED","FEATURE_DISABLED","FORBIDDEN","INTERNAL_ERROR","NOT_FOUND","PLAN_LIMIT_REACHED","RATE_LIMITED","REQUEST_TOO_LARGE","VALIDATION_FAILED"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"type":["string","number"]}}}},"requestId":{"type":"string"}}},"PatchAdminResourcesIdBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":120},"domain":{"type":"string","minLength":3,"maxLength":253},"opportunityType":{"type":"string","enum":["directory","launch_platform","guest_post","resource_page","review","community","newsletter","podcast","open_source","partnership"]},"niches":{"$ref":"#/components/schemas/PostProjectsBodyNiches"},"productTypes":{"$ref":"#/components/schemas/PostProjectsBodyProductTypes"},"audiences":{"$ref":"#/components/schemas/PostProjectsBodyAudiences"},"languages":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":2,"maxLength":8}},"costType":{"type":"string","enum":["free","free_tier","paid","unknown"]},"priceAmountCents":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"priceCurrency":{"anyOf":[{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},{"type":"null"}]},"priceCheckedAt":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"priceNote":{"type":"string","maxLength":160},"linkAttribute":{"type":"string","enum":["follow","nofollow","ugc","sponsored","unknown"]},"placement":{"type":"string","enum":["listing","contextual","author_bio","profile","resource_page","other"]},"difficulty":{"type":"integer","minimum":1,"maximum":5},"requirementFlags":{"$ref":"#/components/schemas/PatchAdminResourcesIdBodyRequirementFlags"},"submissionUrl":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"submissionMethod":{"type":"string","maxLength":160},"howToSteps":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"requirementsText":{"type":"string","maxLength":2000},"bestFor":{"type":"string","maxLength":500},"notSuitableFor":{"type":"string","maxLength":500},"qualityScore":{"type":"integer","minimum":0,"maximum":100},"verificationStatus":{"type":"string","enum":["unverified","url_verified","process_verified","link_verified","community_confirmed"]},"lastVerifiedAt":{"type":"string","minLength":1,"maxLength":40},"sourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"metrics":{"$ref":"#/components/schemas/PostAdminResourcesBodyMetrics"},"networkKey":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"isActive":{"type":"boolean"},"paths":{"$ref":"#/components/schemas/PostAdminResourcesBodyPaths"}}},"PatchAdminResourcesIdBodyRequirementFlags":{"type":"object","properties":{"requiresAccount":{"default":null,"type":["boolean","null"]},"requiresContent":{"default":null,"type":["boolean","null"]},"requiresPayment":{"default":null,"type":["boolean","null"]},"requiresApproval":{"default":null,"type":["boolean","null"]},"requiresContact":{"default":null,"type":["boolean","null"]},"requiresCaseStudy":{"default":null,"type":["boolean","null"]},"requiresBadge":{"default":null,"type":["boolean","null"]},"requiresBacklink":{"default":null,"type":["boolean","null"]},"requiresGoogleSignin":{"default":null,"type":["boolean","null"]},"requiresLiveProduct":{"default":null,"type":["boolean","null"]},"requiresEditorialReview":{"default":null,"type":["boolean","null"]}}},"PatchProjectsIdBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":500},"primaryNiche":{"$ref":"#/components/schemas/PostProjectsBodyNichesItems"},"niches":{"$ref":"#/components/schemas/PostProjectsBodyNiches"},"productTypes":{"$ref":"#/components/schemas/PostProjectsBodyProductTypes"},"audiences":{"$ref":"#/components/schemas/PostProjectsBodyAudiences"},"languages":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["en","de","fr","es","pt","ja","ko","zh"]}},"stage":{"type":"string","enum":["idea","launched","growing"]},"market":{"type":"string","minLength":1,"maxLength":80}}},"PostAdminResourcesBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":120},"domain":{"type":"string","minLength":3,"maxLength":253},"opportunityType":{"type":"string","enum":["directory","launch_platform","guest_post","resource_page","review","community","newsletter","podcast","open_source","partnership"]},"niches":{"$ref":"#/components/schemas/PostProjectsBodyNiches"},"productTypes":{"$ref":"#/components/schemas/PostProjectsBodyProductTypes"},"audiences":{"$ref":"#/components/schemas/PostProjectsBodyAudiences"},"languages":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":2,"maxLength":8}},"costType":{"type":"string","enum":["free","free_tier","paid","unknown"]},"priceAmountCents":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"priceCurrency":{"anyOf":[{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},{"type":"null"}]},"priceCheckedAt":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"priceNote":{"default":"","type":"string","maxLength":160},"linkAttribute":{"$ref":"#/components/schemas/PostAdminResourcesBodyLinkAttribute"},"placement":{"default":"listing","type":"string","enum":["listing","contextual","author_bio","profile","resource_page","other"]},"difficulty":{"type":"integer","minimum":1,"maximum":5},"requirementFlags":{"$ref":"#/components/schemas/PostAdminResourcesBodyRequirementFlags"},"submissionUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"submissionMethod":{"default":"","type":"string","maxLength":160},"howToSteps":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"requirementsText":{"default":"","type":"string","maxLength":2000},"bestFor":{"default":"","type":"string","maxLength":500},"notSuitableFor":{"default":"","type":"string","maxLength":500},"qualityScore":{"type":"integer","minimum":0,"maximum":100},"verificationStatus":{"type":"string","enum":["unverified","url_verified","process_verified","link_verified","community_confirmed"]},"lastVerifiedAt":{"type":"string","minLength":1,"maxLength":40},"sourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"metrics":{"$ref":"#/components/schemas/PostAdminResourcesBodyMetrics"},"networkKey":{"default":null,"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"isActive":{"default":true,"type":"boolean"},"paths":{"$ref":"#/components/schemas/PostAdminResourcesBodyPaths"}},"required":["slug","name","domain","opportunityType","niches","productTypes","audiences","languages","costType","difficulty","qualityScore","verificationStatus"]},"PostAdminResourcesBodyLinkAttribute":{"default":"unknown","type":"string","enum":["follow","nofollow","ugc","sponsored","unknown"]},"PostAdminResourcesBodyMetrics":{"type":"object","properties":{"domainRating":{"type":"number","minimum":0,"maximum":100},"monthlyVisits":{"type":"integer","minimum":0,"maximum":9007199254740991},"source":{"type":"string","maxLength":80},"capturedAt":{"type":"string","minLength":1,"maxLength":40}}},"PostAdminResourcesBodyPaths":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItems"}},"PostAdminResourcesBodyPathsItems":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1,"maxLength":80},"channel":{"default":"self_serve","type":"string","enum":["self_serve","outreach","community","paid","partnership"]},"ask":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsAsk"},"targetPageUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"targetPageTitle":{"default":null,"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"targetPageType":{"default":"listing","type":"string","enum":["listing","listicle","resource_page","review","comparison","profile","homepage","other"]},"costType":{"default":"unknown","type":"string","enum":["free","free_tier","paid","unknown"]},"priceAmountCents":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"priceCurrency":{"default":null,"anyOf":[{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},{"type":"null"}]},"pricePeriod":{"default":"unknown","type":"string","enum":["one_time","monthly","weekly","yearly","unknown"]},"priceNote":{"default":"","type":"string","maxLength":160},"priceCheckedAt":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsCheckedAt"},"priceValidUntil":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsCheckedAt"},"linkAttribute":{"$ref":"#/components/schemas/PostAdminResourcesBodyLinkAttribute"},"linkCondition":{"default":"unknown","type":"string","enum":["always","with_badge","with_backlink","paid_only","unknown"]},"persistence":{"default":"unknown","type":"string","enum":["permanent","while_badge","while_paid","expires","unknown"]},"placement":{"default":"listing","type":"string","enum":["listing","contextual","author_bio","profile","resource_page","other"]},"observedLinkAttribute":{"$ref":"#/components/schemas/PostAdminResourcesBodyLinkAttribute"},"observedOnUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"observedAt":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsCheckedAt"},"anchorEditable":{"default":null,"type":["boolean","null"]},"requiresAccount":{"default":null,"type":["boolean","null"]},"requiresBadge":{"default":null,"type":["boolean","null"]},"requiresBacklink":{"default":null,"type":["boolean","null"]},"requiresGoogleSignin":{"default":null,"type":["boolean","null"]},"requiresLiveProduct":{"default":null,"type":["boolean","null"]},"requiresPayment":{"default":null,"type":["boolean","null"]},"requiresEditorialReview":{"default":null,"type":["boolean","null"]},"requiresContent":{"default":null,"type":["boolean","null"]},"reviewDaysMin":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":365},{"type":"null"}]},"reviewDaysMax":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":365},{"type":"null"}]},"effortMinutes":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"submissionUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"submissionMethod":{"default":"unknown","type":"string","enum":["self_serve_form","account_dashboard","google_form","email","api","unknown"]},"loginProvider":{"default":"unknown","type":"string","enum":["none","email","google","github","unknown"]},"howToSteps":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"requirementsText":{"default":"","type":"string","maxLength":2000},"contactUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"contactEmail":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsContactEmail"},"sourceType":{"default":"official","type":"string","enum":["official","third_party","community","legacy"]},"sourceUrl":{"$ref":"#/components/schemas/PostAdminResourcesBodySubmissionUrl"},"evidence":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"checkedAt":{"$ref":"#/components/schemas/PostAdminResourcesBodyPathsItemsCheckedAt"},"verificationStatus":{"default":"unverified","type":"string","enum":["unverified","url_verified","process_verified","link_verified","community_confirmed"]},"completenessScore":{"default":0,"type":"integer","minimum":0,"maximum":100},"visibility":{"default":"public","type":"string","enum":["public","internal"]},"isPrimary":{"default":false,"type":"boolean"},"isActive":{"default":true,"type":"boolean"},"sortOrder":{"default":0,"type":"integer","minimum":0,"maximum":100}},"required":["label"]},"PostAdminResourcesBodyPathsItemsAsk":{"default":"get_listed","type":"string","enum":["get_listed","guest_post","resource_page","product_review","podcast_guest","newsletter_mention","broken_link","unlinked_mention","open_source_credit","other"]},"PostAdminResourcesBodyPathsItemsCheckedAt":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"PostAdminResourcesBodyPathsItemsContactEmail":{"default":null,"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"PostAdminResourcesBodyRequirementFlags":{"default":{"requiresAccount":null,"requiresContent":null,"requiresPayment":null,"requiresApproval":null,"requiresContact":null,"requiresCaseStudy":null,"requiresBadge":null,"requiresBacklink":null,"requiresGoogleSignin":null,"requiresLiveProduct":null,"requiresEditorialReview":null},"type":"object","properties":{"requiresAccount":{"default":null,"type":["boolean","null"]},"requiresContent":{"default":null,"type":["boolean","null"]},"requiresPayment":{"default":null,"type":["boolean","null"]},"requiresApproval":{"default":null,"type":["boolean","null"]},"requiresContact":{"default":null,"type":["boolean","null"]},"requiresCaseStudy":{"default":null,"type":["boolean","null"]},"requiresBadge":{"default":null,"type":["boolean","null"]},"requiresBacklink":{"default":null,"type":["boolean","null"]},"requiresGoogleSignin":{"default":null,"type":["boolean","null"]},"requiresLiveProduct":{"default":null,"type":["boolean","null"]},"requiresEditorialReview":{"default":null,"type":["boolean","null"]}}},"PostAdminResourcesBodySubmissionUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"PostAdminResourcesIdVerificationsBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["unverified","url_verified","process_verified","link_verified","community_confirmed"]},"method":{"default":"manual","type":"string","minLength":1,"maxLength":80},"notes":{"default":"","type":"string","maxLength":2000},"evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"priceChecked":{"default":false,"type":"boolean"},"priceAmountCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"priceCurrency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"priceNote":{"type":"string","maxLength":160}},"required":["status"]},"PostProjectsBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253},"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":500},"primaryNiche":{"$ref":"#/components/schemas/PostProjectsBodyNichesItems"},"niches":{"$ref":"#/components/schemas/PostProjectsBodyNiches"},"productTypes":{"$ref":"#/components/schemas/PostProjectsBodyProductTypes"},"audiences":{"$ref":"#/components/schemas/PostProjectsBodyAudiences"},"languages":{"default":["en"],"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["en","de","fr","es","pt","ja","ko","zh"]}},"stage":{"default":"launched","type":"string","enum":["idea","launched","growing"]},"market":{"default":"Global / English","type":"string","minLength":1,"maxLength":80}},"required":["domain","name","primaryNiche","productTypes","audiences"]},"PostProjectsBodyAudiences":{"minItems":1,"maxItems":8,"type":"array","items":{"$ref":"#/components/schemas/PostProjectsBodyAudiencesItems"}},"PostProjectsBodyAudiencesItems":{"type":"string","enum":["developers","founders","marketers","designers","operators","smb","enterprise","creators"]},"PostProjectsBodyNiches":{"minItems":1,"maxItems":8,"type":"array","items":{"$ref":"#/components/schemas/PostProjectsBodyNichesItems"}},"PostProjectsBodyNichesItems":{"type":"string","enum":["ai","devtools","saas","productivity","marketing","design","ecommerce","fintech","education","health","hr","legal","real_estate","travel","other"]},"PostProjectsBodyProductTypes":{"minItems":1,"maxItems":8,"type":"array","items":{"$ref":"#/components/schemas/PostProjectsBodyProductTypesItems"}},"PostProjectsBodyProductTypesItems":{"type":"string","enum":["ai_tool","dev_tool","b2b_saas","consumer_app","api_infra","marketplace","agency_service","other"]},"PostProjectsIdAssetsBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"targetUrl":{"type":"string","maxLength":2048,"format":"uri"},"anchorText":{"type":"string","maxLength":200},"linkAttribute":{"$ref":"#/components/schemas/PostAdminResourcesBodyLinkAttribute"},"placement":{"default":"other","type":"string","enum":["listing","contextual","author_bio","profile","resource_page","other"]},"status":{"default":"active","type":"string","enum":["active","lost","unknown"]}},"required":["sourceUrl"]},"PostPublicGapCheckBody":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253},"primaryNiche":{"$ref":"#/components/schemas/PostProjectsBodyNichesItems"},"productTypes":{"minItems":1,"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/PostProjectsBodyProductTypesItems"}},"audiences":{"minItems":1,"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/PostProjectsBodyAudiencesItems"}},"languages":{"default":["en"],"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["en","de","fr","es","pt","ja","ko","zh"]}},"stage":{"default":"launched","type":"string","enum":["idea","launched","growing"]}},"required":["domain","primaryNiche","productTypes","audiences"]},"SuccessEnvelope":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string","example":"Success"},"data":{"type":"object"}}}}},"paths":{"/health":{"get":{"tags":["health"],"summary":"GET /health (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/auth/google/start":{"get":{"tags":["auth"],"summary":"GET /v1/auth/google/start","parameters":[{"name":"redirect","in":"query","required":false,"schema":{"default":"/","type":"string","maxLength":256}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/google/callback":{"get":{"tags":["auth"],"summary":"GET /v1/auth/google/callback","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","minLength":1}},{"name":"state","in":"query","required":true,"schema":{"type":"string","minLength":1}},{"name":"error","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/session":{"get":{"tags":["auth"],"summary":"GET /v1/auth/session (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/auth/logout":{"post":{"tags":["auth"],"summary":"POST /v1/auth/logout","parameters":[{"name":"all","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/public/resources":{"get":{"tags":["public"],"summary":"GET /v1/public/resources","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["directory","launch_platform","guest_post","resource_page","review","community","newsletter","podcast","open_source","partnership"]}},{"name":"niche","in":"query","required":false,"schema":{"type":"string","enum":["ai","devtools","saas","productivity","marketing","design","ecommerce","fintech","education","health","hr","legal","real_estate","travel","other"]}},{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["ai_tool","dev_tool","b2b_saas","consumer_app","api_infra","marketplace","agency_service","other"]}},{"name":"audience","in":"query","required":false,"schema":{"type":"string","enum":["developers","founders","marketers","designers","operators","smb","enterprise","creators"]}},{"name":"cost","in":"query","required":false,"schema":{"type":"string","enum":["free","free_tier","paid","unknown"]}},{"name":"maxPriceCents","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"minQuality","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":100}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":5}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":24,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/public/resources/{slug}":{"get":{"tags":["public"],"summary":"GET /v1/public/resources/{slug}","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/public/taxonomy":{"get":{"tags":["public"],"summary":"GET /v1/public/taxonomy (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/public/gap-check":{"post":{"tags":["public"],"summary":"POST /v1/public/gap-check","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublicGapCheckBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects":{"get":{"tags":["projects"],"summary":"GET /v1/projects","parameters":[{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["projects"],"summary":"POST /v1/projects","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostProjectsBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}":{"get":{"tags":["projects"],"summary":"GET /v1/projects/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["projects"],"summary":"PATCH /v1/projects/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchProjectsIdBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["projects"],"summary":"DELETE /v1/projects/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/analyze":{"post":{"tags":["projects"],"summary":"POST /v1/projects/{id}/analyze","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/analysis":{"get":{"tags":["projects"],"summary":"GET /v1/projects/{id}/analysis","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/checklist":{"get":{"tags":["projects"],"summary":"GET /v1/projects/{id}/checklist","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/opportunities":{"get":{"tags":["projects"],"summary":"GET /v1/projects/{id}/opportunities","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["saved","submitted","approved","link_acquired","rejected","expired"]}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["projects"],"summary":"POST /v1/projects/{id}/opportunities","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceId":{"type":"string","minLength":1},"status":{"default":"saved","type":"string","enum":["saved","submitted","approved","link_acquired","rejected","expired"]},"notes":{"default":"","type":"string","maxLength":2000},"acquiredUrl":{"type":"string","maxLength":2048,"format":"uri"},"rejectedReason":{"type":"string","maxLength":500}},"required":["resourceId"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/assets":{"get":{"tags":["projects"],"summary":"GET /v1/projects/{id}/assets","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["projects"],"summary":"POST /v1/projects/{id}/assets","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostProjectsIdAssetsBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/assets/import":{"post":{"tags":["projects"],"summary":"POST /v1/projects/{id}/assets/import","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"csv":{"type":"string","minLength":1,"maxLength":300000},"defaultTargetUrl":{"type":"string","maxLength":2048,"format":"uri"}},"required":["csv"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{id}/assets/{assetId}":{"delete":{"tags":["projects"],"summary":"DELETE /v1/projects/{id}/assets/{assetId}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/opportunities":{"get":{"tags":["opportunities"],"summary":"GET /v1/opportunities","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["saved","submitted","approved","link_acquired","rejected","expired"]}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/opportunities/{id}":{"patch":{"tags":["opportunities"],"summary":"PATCH /v1/opportunities/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["saved","submitted","approved","link_acquired","rejected","expired"]},"notes":{"type":"string","maxLength":2000},"acquiredUrl":{"type":"string","maxLength":2048,"format":"uri"},"rejectedReason":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["opportunities"],"summary":"DELETE /v1/opportunities/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/billing/summary":{"get":{"tags":["billing"],"summary":"GET /v1/billing/summary (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/billing/checkout":{"post":{"tags":["billing"],"summary":"POST /v1/billing/checkout","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"string","enum":["pro","studio"]},"interval":{"default":"month","type":"string","enum":["month","year"]},"affiliateCode":{"type":"string","minLength":1,"maxLength":80}},"required":["plan"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/billing/portal":{"post":{"tags":["billing"],"summary":"POST /v1/billing/portal (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/entitlements":{"get":{"tags":["entitlements"],"summary":"GET /v1/entitlements (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/account/contact":{"put":{"tags":["account"],"summary":"PUT /v1/account/contact","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"consentProduct":{"default":true,"type":"boolean"},"consentMarketing":{"default":false,"type":"boolean"}},"required":["email"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/mcp-keys":{"get":{"tags":["mcp-keys"],"summary":"GET /v1/mcp-keys (generated stub)","responses":{"200":{"description":"Success"}}},"post":{"tags":["mcp-keys"],"summary":"POST /v1/mcp-keys","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"default":"Agent key","type":"string","minLength":1,"maxLength":80}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/mcp-keys/{id}":{"delete":{"tags":["mcp-keys"],"summary":"DELETE /v1/mcp-keys/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/admin/referradar/overview":{"get":{"tags":["admin"],"summary":"GET /v1/admin/referradar/overview (generated stub)","responses":{"200":{"description":"Success"}}}},"/v1/admin/resources":{"get":{"tags":["admin"],"summary":"GET /v1/admin/resources","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["directory","launch_platform","guest_post","resource_page","review","community","newsletter","podcast","open_source","partnership"]}},{"name":"niche","in":"query","required":false,"schema":{"type":"string","enum":["ai","devtools","saas","productivity","marketing","design","ecommerce","fintech","education","health","hr","legal","real_estate","travel","other"]}},{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["ai_tool","dev_tool","b2b_saas","consumer_app","api_infra","marketplace","agency_service","other"]}},{"name":"audience","in":"query","required":false,"schema":{"type":"string","enum":["developers","founders","marketers","designers","operators","smb","enterprise","creators"]}},{"name":"cost","in":"query","required":false,"schema":{"type":"string","enum":["free","free_tier","paid","unknown"]}},{"name":"maxPriceCents","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"minQuality","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":100}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":5}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":24,"type":"integer","minimum":1,"maximum":100}},{"name":"status","in":"query","required":false,"schema":{"default":"all","type":"string","enum":["all","active","inactive"]}},{"name":"verification","in":"query","required":false,"schema":{"type":"string","enum":["unverified","url_verified","process_verified","link_verified","community_confirmed"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["admin"],"summary":"POST /v1/admin/resources","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAdminResourcesBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/admin/resources/{id}":{"get":{"tags":["admin"],"summary":"GET /v1/admin/resources/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["admin"],"summary":"PATCH /v1/admin/resources/{id}","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchAdminResourcesIdBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/admin/resources/{id}/verifications":{"get":{"tags":["admin"],"summary":"GET /v1/admin/resources/{id}/verifications","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["admin"],"summary":"POST /v1/admin/resources/{id}/verifications","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAdminResourcesIdVerificationsBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/admin/candidates":{"get":{"tags":["admin"],"summary":"GET /v1/admin/candidates","parameters":[{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["new","reviewing","approved","rejected"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["admin"],"summary":"POST /v1/admin/candidates","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253},"source":{"default":"manual","type":"string","minLength":1,"maxLength":80},"sourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["domain"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/admin/candidates/{id}/review":{"post":{"tags":["admin"],"summary":"POST /v1/admin/candidates/{id}/review","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["reviewing","approved","rejected"]},"notes":{"default":"","type":"string","maxLength":2000}},"required":["status"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"string","example":"OK"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/webhooks/creem":{"post":{"tags":["webhooks"],"summary":"POST /webhooks/creem (generated stub)","responses":{"200":{"description":"Success"}}}},"/openapi.json":{"get":{"tags":["openapi.json"],"summary":"GET /openapi.json (generated stub)","responses":{"200":{"description":"Success"}}}}}}