{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-list":{"get":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_list","summary":"Lists publications.","description":"GET /v1/{+parent}/publications","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. A filter expression to filter the publications returned.","schema":{"type":"string","description":"Optional. A filter expression to filter the publications returned."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of publications to return. The service may return fewer than this value. If unspecified, at most 50…","schema":{"type":"integer","description":"Optional. The maximum number of publications to return. The service may return fewer than this value. If unspecified, at most 50…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListPublications` call, to retrieve the next page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListPublications` call, to retrieve the next page."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent organization whose publications to list, or \"organizations/-\" for all organizations a user has access to. Format:…","schema":{"type":"string","description":"Required. The parent organization whose publications to list, or \"organizations/-\" for all organizations a user has access to. Format:…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-create":{"post":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_create","summary":"Creates a publication.","description":"POST /v1/{+parent}/publications","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent resource where this publication will be created. Format: `organizations/{organization}`."},"publicationId":{"type":"string","description":"Optional. The unique identifier of the publication to create. If not specified, the server will generate a random publication ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-ctas-get":{"get":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_ctas_get","summary":"Gets a CTA.","description":"GET /v1/{+name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name of the CTA to retrieve. Format: `organizations/{organization}/publications/{publication}/ctas/{cta}`.","schema":{"type":"string","description":"Required. The resource name of the CTA to retrieve. Format: `organizations/{organization}/publications/{publication}/ctas/{cta}`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-ctas-patch":{"post":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_ctas_patch","summary":"Updates a CTA.","description":"PATCH /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. The resource name of the Cta. Format: organizations/{organization}/publications/{publication}/ctas/{cta}"},"updateMask":{"type":"string","description":"Optional. The list of fields to update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-ctas-list":{"get":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_ctas_list","summary":"Lists CTAs.","description":"GET /v1/{+parent}/ctas","tags":["dev-tools"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of CTAs to return. The service may return fewer than this value. If unspecified, at most 50 CTAs will be…","schema":{"type":"integer","description":"Optional. The maximum number of CTAs to return. The service may return fewer than this value. If unspecified, at most 50 CTAs will be…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListCtas` call, to retrieve the next page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListCtas` call, to retrieve the next page."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent publication resource whose CTAs to list. Format: `organizations/{organization}/publications/{publication}`.","schema":{"type":"string","description":"Required. The parent publication resource whose CTAs to list. Format: `organizations/{organization}/publications/{publication}`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-organizations-publications-ctas-create":{"post":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_organizations_publications_ctas_create","summary":"Creates a CTA.","description":"POST /v1/{+parent}/ctas","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"ctaId":{"type":"string","description":"Optional. The unique identifier of the CTA to create. If not specified, the server will generate a random CTA ID."},"parent":{"type":"string","description":"Required. The parent publication resource where this CTA will be created. Format: `organizations/{organization}/publications/{publication}`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-publications-check-free-access":{"get":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_publications_check_free_access","summary":"Checks if a user is eligible for free article access.","description":"GET /v1/{+name}:checkFreeAccess","tags":["dev-tools"],"parameters":[{"name":"httpReferrer","in":"query","required":false,"description":"Required. The HTTP referrer.","schema":{"type":"string","description":"Required. The HTTP referrer."}},{"name":"name","in":"query","required":true,"description":"Required. The resource name of the publication. Format: publications/{publication_id}","schema":{"type":"string","description":"Required. The resource name of the publication. Format: publications/{publication_id}"}},{"name":"uri","in":"query","required":false,"description":"Required. The URI of the content.","schema":{"type":"string","description":"Required. The URI of the content."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-webcontentpublisher/webcontentpublisher-users-generate-platform-site-tokens":{"post":{"operationId":"dev_tools_google_webcontentpublisher_webcontentpublisher_users_generate_platform_site_tokens","summary":"Returns user tokens mapped to their canonical domains for all publications the authenticated user is…","description":"POST /v1/{+name}:generatePlatformSiteTokens","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the user to generate tokens for. Format: users/{user}"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}