{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-ideahub/ideahub-platforms-properties-idea-activities-create":{"post":{"operationId":"analytics_googleapis_ideahub_ideahub_platforms_properties_idea_activities_create","summary":"Creates an idea activity entry.","description":"POST /v1beta/{+parent}/ideaActivities","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}"},"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/analytics:googleapis-ideahub/ideahub-platforms-properties-topic-states-patch":{"post":{"operationId":"analytics_googleapis_ideahub_ideahub_platforms_properties_topic_states_patch","summary":"Update a topic state resource.","description":"PATCH /v1beta/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}"},"updateMask":{"type":"string","description":"The list of fields to be updated."},"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/analytics:googleapis-ideahub/ideahub-platforms-properties-ideas-list":{"get":{"operationId":"analytics_googleapis_ideahub_ideahub_platforms_properties_ideas_list","summary":"List ideas for a given Creator and filter and sort options.","description":"GET /v1beta/{+parent}/ideas","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined,…","schema":{"type":"string","description":"Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined,…"}},{"name":"orderBy","in":"query","required":false,"description":"Order semantics described below.","schema":{"type":"string","description":"Order semantics described below."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will…","schema":{"type":"integer","description":"The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will…"}},{"name":"pageToken","in":"query","required":false,"description":"Used to fetch next page.","schema":{"type":"string","description":"Used to fetch next page."}},{"name":"parent","in":"query","required":true,"description":"Required. If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}","schema":{"type":"string","description":"Required. If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}"}}],"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/analytics:googleapis-ideahub/ideahub-platforms-properties-locales-list":{"get":{"operationId":"analytics_googleapis_ideahub_ideahub_platforms_properties_locales_list","summary":"Returns which locales ideas are available in for a given Creator.","description":"GET /v1beta/{+parent}/locales","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be…","schema":{"type":"integer","description":"The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all…","schema":{"type":"string","description":"A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all…"}},{"name":"parent","in":"query","required":true,"description":"Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}","schema":{"type":"string","description":"Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}"}}],"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"}}},"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"}}}}}}}