{"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/analytics:googleapis-mybusinessqanda/mybusinessqanda-locations-questions-list":{"get":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_list","summary":"Returns the paginated list of questions and some of its answers for a specified location. This operation is…","description":"GET /v1/{+parent}","tags":["analytics"],"parameters":[{"name":"answersPerQuestion","in":"query","required":false,"description":"Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10.","schema":{"type":"integer","description":"Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10."}},{"name":"filter","in":"query","required":false,"description":"Optional. A filter constraining the questions to return. The only filter currently supported is \"ignore_answered=true\"","schema":{"type":"string","description":"Optional. A filter constraining the questions to return. The only filter currently supported is \"ignore_answered=true\""}},{"name":"orderBy","in":"query","required":false,"description":"Optional. The order to return the questions. Valid options include 'update_time desc' and 'upvote_count desc', which will return the…","schema":{"type":"string","description":"Optional. The order to return the questions. Valid options include 'update_time desc' and 'upvote_count desc', which will return the…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10.","schema":{"type":"integer","description":"Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. If specified, the next page of questions is retrieved.","schema":{"type":"string","description":"Optional. If specified, the next page of questions is retrieved."}},{"name":"parent","in":"query","required":true,"description":"Required. The name of the location to fetch questions for.","schema":{"type":"string","description":"Required. The name of the location to fetch questions for."}}],"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-mybusinessqanda/mybusinessqanda-locations-questions-create":{"post":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_create","summary":"Adds a question for the specified location.","description":"POST /v1/{+parent}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The name of the location to write a question for."},"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-mybusinessqanda/mybusinessqanda-locations-questions-patch":{"post":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_patch","summary":"Updates a specific question written by the current user.","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation."},"updateMask":{"type":"string","description":"Required. The specific fields to update. Only question text can 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-mybusinessqanda/mybusinessqanda-locations-questions-delete":{"post":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_delete","summary":"Deletes a specific question written by the current user.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. The name of the question to delete."}}}}}},"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-mybusinessqanda/mybusinessqanda-locations-questions-answers-delete":{"post":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_answers_delete","summary":"Deletes the answer written by the current user to a question.","description":"DELETE /v1/{+name}/answers:delete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. The name of the question to delete an answer for."}}}}}},"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-mybusinessqanda/mybusinessqanda-locations-questions-answers-list":{"get":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_answers_list","summary":"Returns the paginated list of answers for a specified question.","description":"GET /v1/{+parent}/answers","tags":["analytics"],"parameters":[{"name":"orderBy","in":"query","required":false,"description":"Optional. The order to return the answers. Valid options include 'update_time desc' and 'upvote_count desc', which will return the answers…","schema":{"type":"string","description":"Optional. The order to return the answers. Valid options include 'update_time desc' and 'upvote_count desc', which will return the answers…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. How many answers to fetch per page. The default and maximum `page_size` values are 10.","schema":{"type":"integer","description":"Optional. How many answers to fetch per page. The default and maximum `page_size` values are 10."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. If specified, the next page of answers is retrieved.","schema":{"type":"string","description":"Optional. If specified, the next page of answers is retrieved."}},{"name":"parent","in":"query","required":true,"description":"Required. The name of the question to fetch answers for.","schema":{"type":"string","description":"Required. The name of the question to fetch answers for."}}],"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-mybusinessqanda/mybusinessqanda-locations-questions-answers-upsert":{"post":{"operationId":"analytics_googleapis_mybusinessqanda_mybusinessqanda_locations_questions_answers_upsert","summary":"Creates an answer or updates the existing answer written by the user for the specified question. A user can…","description":"POST /v1/{+parent}/answers:upsert","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The name of the question to write an answer for."},"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"}}}}}}}