{"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/business:clickmeter/account-get":{"get":{"operationId":"business_clickmeter_account_get","summary":"Retrieve current account data","description":"GET /account","tags":["business"],"parameters":[],"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/business:clickmeter/account-post":{"post":{"operationId":"business_clickmeter_account_post","summary":"Update current account data","description":"POST /account","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/account-get-domain-whitelist":{"get":{"operationId":"business_clickmeter_account_get_domain_whitelist","summary":"Retrieve list of a domains allowed to redirect in DDU mode","description":"GET /account/domainwhitelist","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}}],"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/business:clickmeter/account-put-domain-whitelist":{"post":{"operationId":"business_clickmeter_account_put_domain_whitelist","summary":"Create an domain entry","description":"POST /account/domainwhitelist","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/account-delete-domain-whitelist":{"post":{"operationId":"business_clickmeter_account_delete_domain_whitelist","summary":"Delete an domain entry","description":"DELETE /account/domainwhitelist/{whitelistId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["whitelistId"],"properties":{"whitelistId":{"type":"string","description":"The id of the domain 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/business:clickmeter/account-get-guests":{"get":{"operationId":"business_clickmeter_account_get_guests","summary":"Retrieve list of a guest","description":"GET /account/guests","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/account-put-guest":{"post":{"operationId":"business_clickmeter_account_put_guest","summary":"Create a guest","description":"POST /account/guests","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/account-get-guests-count":{"get":{"operationId":"business_clickmeter_account_get_guests_count","summary":"Retrieve count of guests","description":"GET /account/guests/count","tags":["business"],"parameters":[{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/account-get-guest":{"get":{"operationId":"business_clickmeter_account_get_guest","summary":"Retrieve a guest","description":"GET /account/guests/{guestId}","tags":["business"],"parameters":[{"name":"guestId","in":"query","required":true,"description":"Id of the guest","schema":{"type":"integer","description":"Id of the guest"}}],"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/business:clickmeter/account-post-guest":{"post":{"operationId":"business_clickmeter_account_post_guest","summary":"Update a guest","description":"POST /account/guests/{guestId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guestId","body"],"properties":{"guestId":{"type":"integer","description":"Id of the guest"},"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/business:clickmeter/account-delete-guest":{"post":{"operationId":"business_clickmeter_account_delete_guest","summary":"Delete a guest","description":"DELETE /account/guests/{guestId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guestId"],"properties":{"guestId":{"type":"integer","description":"Id of the guest"}}}}}},"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/business:clickmeter/account-get-permissions":{"get":{"operationId":"business_clickmeter_account_get_permissions","summary":"Retrieve permissions for a guest","description":"GET /account/guests/{guestId}/permissions","tags":["business"],"parameters":[{"name":"guestId","in":"query","required":true,"description":"Id of the guest","schema":{"type":"integer","description":"Id of the guest"}},{"name":"entityType","in":"query","required":false,"description":"Can be \"datapoint\" or \"group\"","schema":{"type":"string","enum":["datapoint","group"],"description":"Can be \"datapoint\" or \"group\""}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"type","in":"query","required":false,"description":"Can be \"w\" or \"r\"","schema":{"type":"string","enum":["r","w"],"description":"Can be \"w\" or \"r\""}},{"name":"entityId","in":"query","required":false,"description":"Optional id of the datapoint/group entity to filter by","schema":{"type":"integer","description":"Optional id of the datapoint/group entity to filter by"}}],"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/business:clickmeter/account-get-permissions-count":{"get":{"operationId":"business_clickmeter_account_get_permissions_count","summary":"Retrieve count of the permissions for a guest","description":"GET /account/guests/{guestId}/permissions/count","tags":["business"],"parameters":[{"name":"guestId","in":"query","required":true,"description":"Id of the guest","schema":{"type":"integer","description":"Id of the guest"}},{"name":"entityType","in":"query","required":false,"description":"Can be \"datapoint\" or \"group\"","schema":{"type":"string","enum":["datapoint","group"],"description":"Can be \"datapoint\" or \"group\""}},{"name":"type","in":"query","required":false,"description":"Can be \"w\" or \"r\"","schema":{"type":"string","enum":["r","w"],"description":"Can be \"w\" or \"r\""}},{"name":"entityId","in":"query","required":false,"description":"Optional id of the datapoint/group entity to filter by","schema":{"type":"integer","description":"Optional id of the datapoint/group entity to filter by"}}],"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/business:clickmeter/post-account-guests-guest-id-type-permissions-patch":{"post":{"operationId":"business_clickmeter_post_account_guests_guest_id_type_permissions_patch","summary":"Change the permission on a shared object","description":"POST /account/guests/{guestId}/{type}/permissions/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guestId","type","body"],"properties":{"guestId":{"type":"integer","description":"Id of the guest"},"type":{"type":"string","enum":["datapoint","group"],"description":"Can be \"datapoint\" or \"group\""},"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/business:clickmeter/account-patch-permissions":{"post":{"operationId":"business_clickmeter_account_patch_permissions","summary":"Change the permission on a shared object","description":"PUT /account/guests/{guestId}/{type}/permissions/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guestId","type","body"],"properties":{"guestId":{"type":"integer","description":"Id of the guest"},"type":{"type":"string","enum":["datapoint","group"],"description":"Can be \"datapoint\" or \"group\""},"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/business:clickmeter/account-get-ip-blacklist":{"get":{"operationId":"business_clickmeter_account_get_ip_blacklist","summary":"Retrieve list of a ip to exclude from event tracking","description":"GET /account/ipblacklist","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}}],"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/business:clickmeter/account-put-ip-blacklist":{"post":{"operationId":"business_clickmeter_account_put_ip_blacklist","summary":"Create an ip blacklist entry","description":"POST /account/ipblacklist","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/account-delete-ip-blacklist":{"post":{"operationId":"business_clickmeter_account_delete_ip_blacklist","summary":"Delete an ip blacklist entry","description":"DELETE /account/ipblacklist/{blacklistId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["blacklistId"],"properties":{"blacklistId":{"type":"string","description":"The id of the ip 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/business:clickmeter/account-get-plan":{"get":{"operationId":"business_clickmeter_account_get_plan","summary":"Retrieve current account plan","description":"GET /account/plan","tags":["business"],"parameters":[],"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/business:clickmeter/aggregated-get-statistics-single":{"get":{"operationId":"business_clickmeter_aggregated_get_statistics_single","summary":"Retrieve statistics about this customer for a timeframe","description":"GET /aggregated","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}},{"name":"onlyFavorites","in":"query","required":false,"schema":{"type":"string"}}],"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/business:clickmeter/aggregated-get-statistics-list":{"get":{"operationId":"business_clickmeter_aggregated_get_statistics_list","summary":"Retrieve statistics about this customer for a timeframe grouped by some temporal entity (day/week/month)","description":"GET /aggregated/list","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/aggregated-get-conversions-summary":{"get":{"operationId":"business_clickmeter_aggregated_get_conversions_summary","summary":"Retrieve statistics about a subset of conversions for a timeframe with conversions data","description":"GET /aggregated/summary/conversions","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of conversion (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of conversion (\"deleted\"/\"active\")"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/aggregated-get-datapoints-summary":{"get":{"operationId":"business_clickmeter_aggregated_get_datapoints_summary","summary":"Retrieve statistics about a subset of datapoints for a timeframe with datapoints data","description":"GET /aggregated/summary/datapoints","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"type","in":"query","required":true,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the datapoint marked as favourite","schema":{"type":"boolean","description":"Is the datapoint marked as favourite"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"groupId","in":"query","required":false,"description":"Filter by this group id","schema":{"type":"integer","description":"Filter by this group id"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/aggregated-get-groups-summary":{"get":{"operationId":"business_clickmeter_aggregated_get_groups_summary","summary":"Retrieve statistics about a subset of groups for a timeframe with groups data","description":"GET /aggregated/summary/groups","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of group (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of group (\"deleted\"/\"active\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the group marked as favourite","schema":{"type":"boolean","description":"Is the group marked as favourite"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/click-stream-get":{"get":{"operationId":"business_clickmeter_click_stream_get","summary":"Retrieve the latest list of events of this account. Limited to last 100.","description":"GET /clickstream","tags":["business"],"parameters":[{"name":"group","in":"query","required":false,"description":"Filter by this group id (mutually exclusive with \"datapoint\" and \"conversion\")","schema":{"type":"integer","description":"Filter by this group id (mutually exclusive with \"datapoint\" and \"conversion\")"}},{"name":"datapoint","in":"query","required":false,"description":"Filter by this datapoint id (mutually exclusive with \"group\" and \"conversion\")","schema":{"type":"integer","description":"Filter by this datapoint id (mutually exclusive with \"group\" and \"conversion\")"}},{"name":"conversion","in":"query","required":false,"description":"Filter by this conversion id (mutually exclusive with \"datapoint\" and \"group\")","schema":{"type":"integer","description":"Filter by this conversion id (mutually exclusive with \"datapoint\" and \"group\")"}},{"name":"pageSize","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","default":50,"description":"Limit results to this number"}},{"name":"filter","in":"query","required":false,"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","schema":{"type":"string","enum":["","spiders","uniques","nonuniques","conversions"],"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")"}}],"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/business:clickmeter/conversions-get":{"get":{"operationId":"business_clickmeter_conversions_get","summary":"Retrieve a list of conversions","description":"GET /conversions","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"status","in":"query","required":false,"description":"Status of conversion (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of conversion (\"deleted\"/\"active\")"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude conversions created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude conversions created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude conversions created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude conversions created after this date (YYYYMMDD)"}}],"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/business:clickmeter/conversions-put":{"post":{"operationId":"business_clickmeter_conversions_put","summary":"Create a conversion","description":"POST /conversions","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/conversions-get-statistics-all-list":{"get":{"operationId":"business_clickmeter_conversions_get_statistics_all_list","summary":"Retrieve statistics about this customer for a timeframe related to a subset of conversions grouped by some…","description":"GET /conversions/aggregated/list","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of conversion (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of conversion (\"deleted\"/\"active\")"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/conversions-count":{"get":{"operationId":"business_clickmeter_conversions_count","summary":"Retrieve a count of conversions","description":"GET /conversions/count","tags":["business"],"parameters":[{"name":"status","in":"query","required":false,"description":"Status of conversion (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of conversion (\"deleted\"/\"active\")"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude conversions created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude conversions created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude conversions created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude conversions created after this date (YYYYMMDD)"}}],"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/business:clickmeter/get-conversions-conversion-id":{"get":{"operationId":"business_clickmeter_get_conversions_conversion_id","summary":"Retrieve conversion specified by id","description":"GET /conversions/{conversionId}","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}}],"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/business:clickmeter/conversions-post":{"post":{"operationId":"business_clickmeter_conversions_post","summary":"Update conversion specified by id","description":"POST /conversions/{conversionId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["conversionId","body"],"properties":{"conversionId":{"type":"integer","description":"Id of the conversion"},"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/business:clickmeter/conversions-delete":{"post":{"operationId":"business_clickmeter_conversions_delete","summary":"Delete conversion specified by id","description":"DELETE /conversions/{conversionId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["conversionId"],"properties":{"conversionId":{"type":"integer","description":"Id of the conversion"}}}}}},"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/business:clickmeter/conversions-get-statistics-single":{"get":{"operationId":"business_clickmeter_conversions_get_statistics_single","summary":"Retrieve statistics about this conversion for a timeframe","description":"GET /conversions/{conversionId}/aggregated","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"tag","in":"query","required":false,"description":"Filter by this tag name","schema":{"type":"string","description":"Filter by this tag name"}},{"name":"favourite","in":"query","required":false,"description":"Is the datapoint marked as favourite","schema":{"type":"boolean","description":"Is the datapoint marked as favourite"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}}],"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/business:clickmeter/conversions-get-statistics-list":{"get":{"operationId":"business_clickmeter_conversions_get_statistics_list","summary":"Retrieve statistics about this conversion for a timeframe grouped by some temporal entity (day/week/month)","description":"GET /conversions/{conversionId}/aggregated/list","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/conversions-get-datapoints":{"get":{"operationId":"business_clickmeter_conversions_get_datapoints","summary":"Retrieve a list of datapoints connected to this conversion","description":"GET /conversions/{conversionId}/datapoints","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"type","in":"query","required":false,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tags","in":"query","required":false,"description":"Filter by this tag name","schema":{"type":"string","description":"Filter by this tag name"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/put-conversions-conversion-id-datapoints-batch-patch":{"post":{"operationId":"business_clickmeter_put_conversions_conversion_id_datapoints_batch_patch","summary":"Modify the association between a conversion and multiple datapoints","description":"PUT /conversions/{conversionId}/datapoints/batch/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["conversionId","body"],"properties":{"conversionId":{"type":"integer","description":"Id of the conversion"},"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/business:clickmeter/conversions-get-datapoints-count":{"get":{"operationId":"business_clickmeter_conversions_get_datapoints_count","summary":"Retrieve a count of datapoints connected to this conversion","description":"GET /conversions/{conversionId}/datapoints/count","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}},{"name":"type","in":"query","required":false,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tags","in":"query","required":false,"description":"Filter by this tag name","schema":{"type":"string","description":"Filter by this tag name"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/conversions-patch":{"post":{"operationId":"business_clickmeter_conversions_patch","summary":"Modify the association between a conversion and a datapoint","description":"PUT /conversions/{conversionId}/datapoints/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["conversionId","body"],"properties":{"conversionId":{"type":"integer","description":"Id of the conversion"},"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/business:clickmeter/conversions-get-hits":{"get":{"operationId":"business_clickmeter_conversions_get_hits","summary":"Retrieve the list of events related to this conversion.","description":"GET /conversions/{conversionId}/hits","tags":["business"],"parameters":[{"name":"conversionId","in":"query","required":true,"description":"Id of the conversion","schema":{"type":"integer","description":"Id of the conversion"}},{"name":"timeframe","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from (it's the lastKey field in the response object)","schema":{"type":"string","description":"Offset where to start from (it's the lastKey field in the response object)"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"filter","in":"query","required":false,"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","schema":{"type":"string","enum":["spiders","uniques","nonuniques","conversions"],"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")"}}],"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/business:clickmeter/conversions-patch-notes":{"post":{"operationId":"business_clickmeter_conversions_patch_notes","summary":"Fast patch the \"notes\" field of a conversion","description":"PUT /conversions/{conversionId}/notes","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["conversionId","body"],"properties":{"conversionId":{"type":"integer","description":"Id of the conversion"},"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/business:clickmeter/data-points-get":{"get":{"operationId":"business_clickmeter_data_points_get","summary":"List of all the datapoints associated to the user","description":"GET /datapoints","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/data-points-put":{"post":{"operationId":"business_clickmeter_data_points_put","summary":"Create a datapoint","description":"POST /datapoints","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/data-points-get-statistics-aggregated-single":{"get":{"operationId":"business_clickmeter_data_points_get_statistics_aggregated_single","summary":"Retrieve statistics about this customer for a timeframe by groups","description":"GET /datapoints/aggregated","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"type","in":"query","required":false,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the datapoint is marked as favourite","schema":{"type":"boolean","description":"Is the datapoint is marked as favourite"}}],"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/business:clickmeter/data-points-get-statistics-all-list":{"get":{"operationId":"business_clickmeter_data_points_get_statistics_all_list","summary":"Retrieve statistics about all datapoints of this customer for a timeframe grouped by some temporal entity…","description":"GET /datapoints/aggregated/list","tags":["business"],"parameters":[{"name":"type","in":"query","required":true,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the datapoint is marked as favourite","schema":{"type":"boolean","description":"Is the datapoint is marked as favourite"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/data-points-batch-post":{"post":{"operationId":"business_clickmeter_data_points_batch_post","summary":"Update multiple datapoints","description":"POST /datapoints/batch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/data-points-batch-put":{"post":{"operationId":"business_clickmeter_data_points_batch_put","summary":"Create multiple datapoints","description":"PUT /datapoints/batch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/data-points-batch-delete":{"post":{"operationId":"business_clickmeter_data_points_batch_delete","summary":"Delete multiple datapoints","description":"DELETE /datapoints/batch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/data-points-count":{"get":{"operationId":"business_clickmeter_data_points_count","summary":"Count the datapoints associated to the user","description":"GET /datapoints/count","tags":["business"],"parameters":[{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/get-datapoints-id":{"get":{"operationId":"business_clickmeter_get_datapoints_id","summary":"Get a datapoint","description":"GET /datapoints/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"The id of the datapoint","schema":{"type":"integer","description":"The id of the datapoint"}}],"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/business:clickmeter/data-points-post":{"post":{"operationId":"business_clickmeter_data_points_post","summary":"Update a datapoint","description":"POST /datapoints/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"The id of the datapoint"},"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/business:clickmeter/data-points-delete":{"post":{"operationId":"business_clickmeter_data_points_delete","summary":"Delete a datapoint","description":"DELETE /datapoints/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The id of the datapoint"}}}}}},"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/business:clickmeter/data-points-get-statistics-single":{"get":{"operationId":"business_clickmeter_data_points_get_statistics_single","summary":"Retrieve statistics about this datapoint for a timeframe","description":"GET /datapoints/{id}/aggregated","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the datapoint","schema":{"type":"integer","description":"Id of the datapoint"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}}],"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/business:clickmeter/data-points-get-statistics-list":{"get":{"operationId":"business_clickmeter_data_points_get_statistics_list","summary":"Retrieve statistics about this datapoint for a timeframe grouped by some temporal entity (day/week/month)","description":"GET /datapoints/{id}/aggregated/list","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the datapoint","schema":{"type":"integer","description":"Id of the datapoint"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/data-points-patch-favourite":{"post":{"operationId":"business_clickmeter_data_points_patch_favourite","summary":"Fast switch the \"favourite\" field of a datapoint","description":"PUT /datapoints/{id}/favourite","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"Id of the datapoint"}}}}}},"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/business:clickmeter/data-points-get-hits":{"get":{"operationId":"business_clickmeter_data_points_get_hits","summary":"Retrieve the list of events related to this datapoint.","description":"GET /datapoints/{id}/hits","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the datapoint","schema":{"type":"integer","description":"Id of the datapoint"}},{"name":"timeframe","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from (it's the lastKey field in the response object)","schema":{"type":"string","description":"Offset where to start from (it's the lastKey field in the response object)"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"filter","in":"query","required":false,"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","schema":{"type":"string","enum":["spiders","uniques","nonuniques","conversions"],"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")"}}],"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/business:clickmeter/data-points-patch-notes":{"post":{"operationId":"business_clickmeter_data_points_patch_notes","summary":"Fast patch the \"notes\" field of a datapoint","description":"PUT /datapoints/{id}/notes","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"Id of the datapoint"},"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/business:clickmeter/domains-get":{"get":{"operationId":"business_clickmeter_domains_get","summary":"Retrieve a list of domains","description":"GET /domains","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"type","in":"query","required":false,"description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\"","schema":{"type":"string","enum":["system","go","personal","dedicated"],"default":"system","description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\""}},{"name":"name","in":"query","required":false,"description":"Filter domains with this anmen","schema":{"type":"string","description":"Filter domains with this anmen"}}],"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/business:clickmeter/domains-put":{"post":{"operationId":"business_clickmeter_domains_put","summary":"Create a domain","description":"POST /domains","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/domains-count":{"get":{"operationId":"business_clickmeter_domains_count","summary":"Retrieve count of domains","description":"GET /domains/count","tags":["business"],"parameters":[{"name":"type","in":"query","required":false,"description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\"","schema":{"type":"string","enum":["system","go","personal","dedicated"],"default":"system","description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\""}},{"name":"name","in":"query","required":false,"description":"Filter domains with this anmen","schema":{"type":"string","description":"Filter domains with this anmen"}}],"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/business:clickmeter/get-domains-id":{"get":{"operationId":"business_clickmeter_get_domains_id","summary":"Get a domain","description":"GET /domains/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of domain","schema":{"type":"integer","description":"Id of domain"}}],"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/business:clickmeter/domains-update":{"post":{"operationId":"business_clickmeter_domains_update","summary":"Update a domain","description":"POST /domains/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"Id of domain"},"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/business:clickmeter/domains-delete":{"post":{"operationId":"business_clickmeter_domains_delete","summary":"Delete a domain","description":"DELETE /domains/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"Id of domain"}}}}}},"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/business:clickmeter/groups-get":{"get":{"operationId":"business_clickmeter_groups_get","summary":"List of all the groups associated to the user.","description":"GET /groups","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"status","in":"query","required":false,"description":"Status of the group","schema":{"type":"string","enum":["deleted","active"],"description":"Status of the group"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude groups created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude groups created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created after this date (YYYYMMDD)"}},{"name":"write","in":"query","required":false,"description":"Write permission","schema":{"type":"boolean","description":"Write permission"}}],"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/business:clickmeter/groups-put":{"post":{"operationId":"business_clickmeter_groups_put","summary":"Create a group","description":"POST /groups","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/groups-get-statistics-aggregated-single":{"get":{"operationId":"business_clickmeter_groups_get_statistics_aggregated_single","summary":"Retrieve statistics about this customer for a timeframe by groups","description":"GET /groups/aggregated","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}},{"name":"status","in":"query","required":false,"description":"Status of group (\"deleted\"/\"active\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of group (\"deleted\"/\"active\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the group is marked as favourite","schema":{"type":"boolean","description":"Is the group is marked as favourite"}}],"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/business:clickmeter/groups-get-statistics-all-list":{"get":{"operationId":"business_clickmeter_groups_get_statistics_all_list","summary":"Retrieve statistics about all groups of this customer for a timeframe grouped by some temporal entity…","description":"GET /groups/aggregated/list","tags":["business"],"parameters":[{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of group (\"deleted\"/\"active\")","schema":{"type":"string","description":"Status of group (\"deleted\"/\"active\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the group is marked as favourite","schema":{"type":"boolean","description":"Is the group is marked as favourite"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["deleted","active"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/groups-count":{"get":{"operationId":"business_clickmeter_groups_count","summary":"Count the groups associated to the user.","description":"GET /groups/count","tags":["business"],"parameters":[{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude groups created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude groups created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created after this date (YYYYMMDD)"}},{"name":"write","in":"query","required":false,"description":"Write permission","schema":{"type":"boolean","description":"Write permission"}}],"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/business:clickmeter/get-groups-id":{"get":{"operationId":"business_clickmeter_get_groups_id","summary":"Get a group","description":"GET /groups/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"The id of the group","schema":{"type":"integer","description":"The id of the group"}}],"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/business:clickmeter/groups-post":{"post":{"operationId":"business_clickmeter_groups_post","summary":"Update a group","description":"POST /groups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"The id of the group"},"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/business:clickmeter/groups-delete":{"post":{"operationId":"business_clickmeter_groups_delete","summary":"Delete group specified by id","description":"DELETE /groups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"Id of the group"}}}}}},"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/business:clickmeter/groups-get-statistics-single":{"get":{"operationId":"business_clickmeter_groups_get_statistics_single","summary":"Retrieve statistics about this group for a timeframe","description":"GET /groups/{id}/aggregated","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"hourly","in":"query","required":false,"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","schema":{"type":"boolean","description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail"}}],"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/business:clickmeter/groups-get-statistics-list":{"get":{"operationId":"business_clickmeter_groups_get_statistics_list","summary":"Retrieve statistics about this group for a timeframe grouped by some temporal entity (day/week/month)","description":"GET /groups/{id}/aggregated/list","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"groupBy","in":"query","required":false,"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","schema":{"type":"string","enum":["week","month"],"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\"."}}],"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/business:clickmeter/groups-get-datapoints-summary":{"get":{"operationId":"business_clickmeter_groups_get_datapoints_summary","summary":"Retrieve statistics about a subset of datapoints for a timeframe with datapoints data","description":"GET /groups/{id}/aggregated/summary","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Filter by this group id","schema":{"type":"integer","description":"Filter by this group id"}},{"name":"timeFrame","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"type","in":"query","required":false,"description":"Type of datapoint (\"tl\"/\"tp\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of datapoint (\"tl\"/\"tp\")"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"status","in":"query","required":false,"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","schema":{"type":"string","enum":["deleted","active"],"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")"}},{"name":"tag","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"favourite","in":"query","required":false,"description":"Is the datapoint marked as favourite","schema":{"type":"boolean","description":"Is the datapoint marked as favourite"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from","schema":{"type":"integer","default":0,"description":"Offset where to start from"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","default":20,"description":"Limit results to this number"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}}],"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/business:clickmeter/groups-get-datapoints":{"get":{"operationId":"business_clickmeter_groups_get_datapoints","summary":"List of all the datapoints associated to the user in this group.","description":"GET /groups/{id}/datapoints","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/groups-put-datapoint":{"post":{"operationId":"business_clickmeter_groups_put_datapoint","summary":"Create a datapoint in this group","description":"POST /groups/{id}/datapoints","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"The id of the group"},"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/business:clickmeter/groups-get-datapoints-count":{"get":{"operationId":"business_clickmeter_groups_get_datapoints_count","summary":"Count the datapoints associated to the user in this group.","description":"GET /groups/{id}/datapoints/count","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/groups-patch-favourite":{"post":{"operationId":"business_clickmeter_groups_patch_favourite","summary":"Fast switch the \"favourite\" field of a group","description":"PUT /groups/{id}/favourite","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"Id of the group"}}}}}},"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/business:clickmeter/groups-get-hits":{"get":{"operationId":"business_clickmeter_groups_get_hits","summary":"Retrieve the list of events related to this group.","description":"GET /groups/{id}/hits","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"timeframe","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from (it's the lastKey field in the response object)","schema":{"type":"string","description":"Offset where to start from (it's the lastKey field in the response object)"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"filter","in":"query","required":false,"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","schema":{"type":"string","enum":["spiders","uniques","nonuniques","conversions"],"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")"}}],"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/business:clickmeter/groups-patch-notes":{"post":{"operationId":"business_clickmeter_groups_patch_notes","summary":"Fast patch the \"notes\" field of a group","description":"PUT /groups/{id}/notes","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"Id of the group"},"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/business:clickmeter/hits-get-hits":{"get":{"operationId":"business_clickmeter_hits_get_hits","summary":"Retrieve the list of events related to this account.","description":"GET /hits","tags":["business"],"parameters":[{"name":"timeframe","in":"query","required":true,"description":"Timeframe of the request. See list at $timeframeList","schema":{"type":"string","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"description":"Timeframe of the request. See list at $timeframeList"}},{"name":"limit","in":"query","required":false,"description":"Limit results to this number","schema":{"type":"integer","description":"Limit results to this number"}},{"name":"offset","in":"query","required":false,"description":"Offset where to start from (it's the lastKey field in the response object)","schema":{"type":"string","description":"Offset where to start from (it's the lastKey field in the response object)"}},{"name":"fromDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)"}},{"name":"toDay","in":"query","required":false,"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","schema":{"type":"string","description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)"}},{"name":"filter","in":"query","required":false,"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","schema":{"type":"string","enum":["spiders","uniques","nonuniques","conversions"],"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")"}}],"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/business:clickmeter/me-get-me":{"get":{"operationId":"business_clickmeter_me_get_me","summary":"Retrieve current account data","description":"GET /me","tags":["business"],"parameters":[],"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/business:clickmeter/me-get-me-plan":{"get":{"operationId":"business_clickmeter_me_get_me_plan","summary":"Retrieve current account plan","description":"GET /me/plan","tags":["business"],"parameters":[],"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/business:clickmeter/retargeting-get":{"get":{"operationId":"business_clickmeter_retargeting_get","summary":"List of all the retargeting scripts associated to the user","description":"GET /retargeting","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}}],"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/business:clickmeter/retargeting-put":{"post":{"operationId":"business_clickmeter_retargeting_put","summary":"Creates a retargeting script","description":"POST /retargeting","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/retargeting-count":{"get":{"operationId":"business_clickmeter_retargeting_count","summary":"Retrieve count of retargeting scripts","description":"GET /retargeting/count","tags":["business"],"parameters":[],"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/business:clickmeter/get-retargeting-id":{"get":{"operationId":"business_clickmeter_get_retargeting_id","summary":"Get a retargeting script object","description":"GET /retargeting/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"The id of the retargeting script","schema":{"type":"integer","description":"The id of the retargeting script"}}],"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/business:clickmeter/retargeting-post":{"post":{"operationId":"business_clickmeter_retargeting_post","summary":"Updates a retargeting script","description":"POST /retargeting/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"The id of the retargeting script"},"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/business:clickmeter/retargeting-delete":{"post":{"operationId":"business_clickmeter_retargeting_delete","summary":"Deletes a retargeting script (and remove associations)","description":"DELETE /retargeting/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The id of the retargeting script"}}}}}},"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/business:clickmeter/retargeting-get-datapoints":{"get":{"operationId":"business_clickmeter_retargeting_get_datapoints","summary":"List of all the datapoints associated to the retargeting script.","description":"GET /retargeting/{id}/datapoints","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the retargeting script","schema":{"type":"integer","description":"Id of the retargeting script"}},{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"sortBy","in":"query","required":false,"description":"Field to sort by","schema":{"type":"string","description":"Field to sort by"}},{"name":"sortDirection","in":"query","required":false,"description":"Direction of sort \"asc\" or \"desc\"","schema":{"type":"string","enum":["asc","desc"],"description":"Direction of sort \"asc\" or \"desc\""}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/retargeting-get-datapoints-count":{"get":{"operationId":"business_clickmeter_retargeting_get_datapoints_count","summary":"Count the datapoints associated to the retargeting script.","description":"GET /retargeting/{id}/datapoints/count","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of the group","schema":{"type":"integer","description":"Id of the group"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"tags","in":"query","required":false,"description":"A comma separated list of tags you want to filter with.","schema":{"type":"string","description":"A comma separated list of tags you want to filter with."}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"onlyFavorites","in":"query","required":false,"description":"Filter fields by favourite status","schema":{"type":"boolean","description":"Filter fields by favourite status"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/tags-get":{"get":{"operationId":"business_clickmeter_tags_get","summary":"List of all the groups associated to the user filtered by this tag.","description":"GET /tags","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"name","in":"query","required":false,"description":"Name of the tag","schema":{"type":"string","description":"Name of the tag"}},{"name":"datapoints","in":"query","required":false,"description":"Comma separated list of datapoints id to filter by","schema":{"type":"string","description":"Comma separated list of datapoints id to filter by"}},{"name":"groups","in":"query","required":false,"description":"Comma separated list of groups id to filter by","schema":{"type":"string","description":"Comma separated list of groups id to filter by"}},{"name":"type","in":"query","required":false,"description":"Type of entity related to the tag","schema":{"type":"string","enum":["tp","tl","dp","gr"],"description":"Type of entity related to the tag"}}],"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/business:clickmeter/tags-put":{"post":{"operationId":"business_clickmeter_tags_put","summary":"Create a tag","description":"POST /tags","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/business:clickmeter/tags-count":{"get":{"operationId":"business_clickmeter_tags_count","summary":"List of all the groups associated to the user filtered by this tag.","description":"GET /tags/count","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Name of the tag","schema":{"type":"string","description":"Name of the tag"}},{"name":"datapoints","in":"query","required":false,"description":"Comma separated list of datapoints id to filter by","schema":{"type":"string","description":"Comma separated list of datapoints id to filter by"}},{"name":"groups","in":"query","required":false,"description":"Comma separated list of groups id to filter by","schema":{"type":"string","description":"Comma separated list of groups id to filter by"}},{"name":"type","in":"query","required":false,"description":"Type of entity related to the tag","schema":{"type":"string","enum":["tp","tl","dp","gr"],"description":"Type of entity related to the tag"}}],"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/business:clickmeter/get-tags-tag-id":{"get":{"operationId":"business_clickmeter_get_tags_tag_id","summary":"Retrieve a tag","description":"GET /tags/{tagId}","tags":["business"],"parameters":[{"name":"tagId","in":"query","required":true,"description":"Id of the tag","schema":{"type":"integer","description":"Id of the tag"}}],"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/business:clickmeter/tags-delete":{"post":{"operationId":"business_clickmeter_tags_delete","summary":"Delete a tag","description":"DELETE /tags/{tagId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"}}}}}},"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/business:clickmeter/tags-get-datapoints":{"get":{"operationId":"business_clickmeter_tags_get_datapoints","summary":"List of all the datapoints associated to the user filtered by this tag","description":"GET /tags/{tagId}/datapoints","tags":["business"],"parameters":[{"name":"tagId","in":"query","required":true,"description":"Id of the tag.","schema":{"type":"integer","description":"Id of the tag."}},{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/tags-delete-related-datapoints":{"post":{"operationId":"business_clickmeter_tags_delete_related_datapoints","summary":"Delete the association of this tag with all datapoints","description":"DELETE /tags/{tagId}/datapoints","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"}}}}}},"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/business:clickmeter/tags-get-datapoints-count":{"get":{"operationId":"business_clickmeter_tags_get_datapoints_count","summary":"Count the datapoints associated to the user filtered by this tag","description":"GET /tags/{tagId}/datapoints/count","tags":["business"],"parameters":[{"name":"tagId","in":"query","required":true,"description":"Id of the tag.","schema":{"type":"integer","description":"Id of the tag."}},{"name":"type","in":"query","required":false,"description":"Type of the datapoint (\"tp\"/\"tl\")","schema":{"type":"string","enum":["tp","tl"],"description":"Type of the datapoint (\"tp\"/\"tl\")"}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active","paused","spam"],"description":"Status of the datapoint"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude datapoints created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude datapoints created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude datapoints created after this date (YYYYMMDD)"}}],"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/business:clickmeter/tags-patch-data-point":{"post":{"operationId":"business_clickmeter_tags_patch_data_point","summary":"Associate/Deassociate a tag with a datapoint","description":"PUT /tags/{tagId}/datapoints/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId","body"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"},"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/business:clickmeter/tags-get-groups":{"get":{"operationId":"business_clickmeter_tags_get_groups","summary":"List of all the groups associated to the user filtered by this tag.","description":"GET /tags/{tagId}/groups","tags":["business"],"parameters":[{"name":"tagId","in":"query","required":true,"description":"Id of the tag.","schema":{"type":"integer","description":"Id of the tag."}},{"name":"offset","in":"query","required":false,"description":"Where to start when retrieving elements. Default is 0 if not specified.","schema":{"type":"integer","default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified."}},{"name":"limit","in":"query","required":false,"description":"Maximum elements to retrieve. Default to 20 if not specified.","schema":{"type":"integer","default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified."}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active"],"description":"Status of the datapoint"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude groups created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude groups created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created after this date (YYYYMMDD)"}}],"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/business:clickmeter/tags-delete-related-groups":{"post":{"operationId":"business_clickmeter_tags_delete_related_groups","summary":"Delete the association of this tag with all groups","description":"DELETE /tags/{tagId}/groups","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"}}}}}},"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/business:clickmeter/tags-get-groups-count":{"get":{"operationId":"business_clickmeter_tags_get_groups_count","summary":"Count the groups associated to the user filtered by this tag","description":"GET /tags/{tagId}/groups/count","tags":["business"],"parameters":[{"name":"tagId","in":"query","required":true,"description":"Id of the tag.","schema":{"type":"integer","description":"Id of the tag."}},{"name":"status","in":"query","required":false,"description":"Status of the datapoint","schema":{"type":"string","enum":["deleted","active"],"description":"Status of the datapoint"}},{"name":"textSearch","in":"query","required":false,"description":"Filter fields by this pattern","schema":{"type":"string","description":"Filter fields by this pattern"}},{"name":"createdAfter","in":"query","required":false,"description":"Exclude groups created before this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created before this date (YYYYMMDD)"}},{"name":"createdBefore","in":"query","required":false,"description":"Exclude groups created after this date (YYYYMMDD)","schema":{"type":"string","description":"Exclude groups created after this date (YYYYMMDD)"}}],"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/business:clickmeter/tags-patch-group":{"post":{"operationId":"business_clickmeter_tags_patch_group","summary":"Associate/Deassociate a tag with a group","description":"PUT /tags/{tagId}/groups/patch","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId","body"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"},"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/business:clickmeter/tags-patch-tag-name":{"post":{"operationId":"business_clickmeter_tags_patch_tag_name","summary":"Fast patch a tag name","description":"PUT /tags/{tagId}/name","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tagId","body"],"properties":{"tagId":{"type":"integer","description":"Id of the tag"},"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"}}}}}}}