{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-fcm/fcm-projects-messages-send":{"post":{"operationId":"analytics_googleapis_fcm_fcm_projects_messages_send","summary":"Send a message to specified target (a [Firebase Installation ID…","description":"POST /v1/{+parent}/messages:send","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in the format of…"},"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-fcm/fcm-projects-registrations-topic-subscriptions-list":{"get":{"operationId":"analytics_googleapis_fcm_fcm_projects_registrations_topic_subscriptions_list","summary":"Lists TopicSubscriptions for a given app instance.","description":"GET /v1/{+parent}/topicSubscriptions","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 1000…","schema":{"type":"integer","description":"Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 1000…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListTopicSubscriptions` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListTopicSubscriptions` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent resource, which owns this collection of subscriptions. Format: projects/{project}/registrations/{registration} The…","schema":{"type":"string","description":"Required. The parent resource, which owns this collection of subscriptions. Format: projects/{project}/registrations/{registration} The…"}}],"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-fcm/fcm-projects-registrations-topic-subscriptions-create":{"post":{"operationId":"analytics_googleapis_fcm_fcm_projects_registrations_topic_subscriptions_create","summary":"Creates a TopicSubscription. Subscribes an app installation instance (by registration_id, either FID or FCM…","description":"POST /v1/{+parent}/topicSubscriptions","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 subscription will be created. Format: projects/{project}/registrations/{registration} The…"},"topicName":{"type":"string","description":"Required. The ID to use for the subscription, which is the topic name. This will become the last segment of the TopicSubscription's…"},"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-fcm/fcm-projects-registrations-topic-subscriptions-get":{"get":{"operationId":"analytics_googleapis_fcm_fcm_projects_registrations_topic_subscriptions_get","summary":"Gets a TopicSubscription.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The name of the topic subscription to retrieve. Format:…","schema":{"type":"string","description":"Required. The name of the topic subscription to retrieve. 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/analytics:googleapis-fcm/fcm-projects-registrations-topic-subscriptions-patch":{"post":{"operationId":"analytics_googleapis_fcm_fcm_projects_registrations_topic_subscriptions_patch","summary":"Updates a TopicSubscription. Subscribes an app installation instance by registration_id, either FID or FCM…","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"allowMissing":{"type":"boolean","description":"Optional. If set to true, and the topic subscription is not found, a new topic subscription will be created."},"name":{"type":"string","description":"Identifier. The resource name of the subscription. Format:…"},"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-fcm/fcm-projects-registrations-topic-subscriptions-delete":{"post":{"operationId":"analytics_googleapis_fcm_fcm_projects_registrations_topic_subscriptions_delete","summary":"Deletes a TopicSubscription.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"allowMissing":{"type":"boolean","description":"Optional. If set to true, and the topic subscription is not found, the request will succeed but no action will be taken on the server."},"name":{"type":"string","description":"Required. The name of the topic subscription to delete. 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":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"}}}}}}}