openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 160 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"email":"api@clickmeter.com","name":"Api Support","url":"http://www.clickmeter.com/api"},"description":"Api dashboard for ClickMeter API","title":"ClickMeter","version":"v2","x-apisguru-categories":["marketing"],"x-logo":{"url":"https://s3.amazonaws.com/clickmeter.com/Web/static/cmlogo.svg"},"x-origin":[{"format":"swagger","url":"http://api.v2.clickmeter.com.s3.amazonaws.com/docs/api-docs-v2.json","version":"2.0"}],"x-providerName":"clickmeter.com"},"security":[{"api_key":[]}],"paths":{"/account":{"get":{"deprecated":false,"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account data","tags":["Account"]},"post":{"deprecated":false,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.User"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Update current account data","tags":["Account"]}},"/account/domainwhitelist":{"get":{"deprecated":false,"parameters":[{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Accounting.DomainWhitelistEntry_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Accounting.DomainWhitelistEntry_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a domains allowed to redirect in DDU mode","tags":["Account"]},"post":{"deprecated":false,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}}},"description":"The entry to add","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create an domain entry","tags":["Account"]}},"/account/domainwhitelist/{whitelistId}":{"delete":{"deprecated":false,"parameters":[{"description":"The id of the domain to delete","in":"path","name":"whitelistId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.DomainWhitelistEntry"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete an domain entry","tags":["Account"]}},"/account/guests":{"get":{"deprecated":false,"parameters":[{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"schema":{"type":"string"}},{"description":"Direction of sort \"asc\" or \"desc\"","in":"query","name":"sortDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a guest","tags":["Account"]},"post":{"deprecated":false,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}}},"description":"Guest object to create","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create a guest","tags":["Account"]}},"/account/guests/count":{"get":{"deprecated":false,"parameters":[{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of guests","tags":["Account"]}},"/account/guests/{guestId}":{"delete":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete a guest","tags":["Account"]},"get":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a guest","tags":["Account"]},"post":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}}},"description":"Guest object with field updated","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Guest"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Update a guest","tags":["Account"]}},"/account/guests/{guestId}/permissions":{"get":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Can be \"datapoint\" or \"group\"","in":"query","name":"entityType","required":false,"schema":{"type":"string","enum":["datapoint","group"]}},{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Can be \"w\" or \"r\"","in":"query","name":"type","required":false,"schema":{"type":"string","enum":["r","w"]}},{"description":"Optional id of the datapoint/group entity to filter by","in":"query","name":"entityId","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Grants.Grant_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Grants.Grant_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve permissions for a guest","tags":["Account"]}},"/account/guests/{guestId}/permissions/count":{"get":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Can be \"datapoint\" or \"group\"","in":"query","name":"entityType","required":false,"schema":{"type":"string","enum":["datapoint","group"]}},{"description":"Can be \"w\" or \"r\"","in":"query","name":"type","required":false,"schema":{"type":"string","enum":["r","w"]}},{"description":"Optional id of the datapoint/group entity to filter by","in":"query","name":"entityId","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of the permissions for a guest","tags":["Account"]}},"/account/guests/{guestId}/{type}/permissions/patch":{"post":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Can be \"datapoint\" or \"group\"","in":"path","name":"type","required":true,"schema":{"type":"string","enum":["datapoint","group"]}}],"requestBody":{"$ref":"#/components/requestBodies/Api.Core.Requests.PermissionPatchRequest"},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Change the permission on a shared object","tags":["Account"]},"put":{"deprecated":false,"parameters":[{"description":"Id of the guest","in":"path","name":"guestId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Can be \"datapoint\" or \"group\"","in":"path","name":"type","required":true,"schema":{"type":"string","enum":["datapoint","group"]}}],"requestBody":{"$ref":"#/components/requestBodies/Api.Core.Requests.PermissionPatchRequest"},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Change the permission on a shared object","tags":["Account"]}},"/account/ipblacklist":{"get":{"deprecated":false,"parameters":[{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Accounting.IpBlacklistEntry_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Accounting.IpBlacklistEntry_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a ip to exclude from event tracking","tags":["Account"]},"post":{"deprecated":false,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}}},"description":"The entry to add","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create an ip blacklist entry","tags":["Account"]}},"/account/ipblacklist/{blacklistId}":{"delete":{"deprecated":false,"parameters":[{"description":"The id of the ip to delete","in":"path","name":"blacklistId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.IpBlacklistEntry"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete an ip blacklist entry","tags":["Account"]}},"/account/plan":{"get":{"deprecated":false,"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Plan"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Plan"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Plan"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Accounting.Plan"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account plan","tags":["Account"]}},"/aggregated":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"schema":{"type":"boolean"}},{"description":"","in":"query","name":"onlyFavorites","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedResult"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe","tags":["Aggregated"]}},"/aggregated/list":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","in":"query","name":"groupBy","required":false,"schema":{"type":"string","enum":["week","month"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe grouped by some temporal entity (day/week/month)","tags":["Aggregated"]}},"/aggregated/summary/conversions":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Status of conversion (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active"]}},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"schema":{"type":"string"}},{"description":"Direction of sort \"asc\" or \"desc\"","in":"query","name":"sortDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of conversions for a timeframe with conversions data","tags":["Aggregated"]}},"/aggregated/summary/datapoints":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"Type of datapoint (\"tl\"/\"tp\")","in":"query","name":"type","required":true,"schema":{"type":"string","enum":["tp","tl"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active","paused","spam"]}},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"schema":{"type":"string"}},{"description":"Is the datapoint marked as favourite","in":"query","name":"favourite","required":false,"schema":{"type":"boolean"}},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"schema":{"type":"string"}},{"description":"Direction of sort \"asc\" or \"desc\"","in":"query","name":"sortDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Filter by this group id","in":"query","name":"groupId","required":false,"schema":{"type":"integer","format":"int64"}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of datapoints for a timeframe with datapoints data","tags":["Aggregated"]}},"/aggregated/summary/groups":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Status of group (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active"]}},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"schema":{"type":"string"}},{"description":"Is the group marked as favourite","in":"query","name":"favourite","required":false,"schema":{"type":"boolean"}},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"schema":{"type":"string"}},{"description":"Direction of sort \"asc\" or \"desc\"","in":"query","name":"sortDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of groups for a timeframe with groups data","tags":["Aggregated"]}},"/clickstream":{"get":{"deprecated":false,"parameters":[{"description":"Filter by this group id (mutually exclusive with \"datapoint\" and \"conversion\")","in":"query","name":"group","required":false,"schema":{"type":"integer","format":"int64"}},{"description":"Filter by this datapoint id (mutually exclusive with \"group\" and \"conversion\")","in":"query","name":"datapoint","required":false,"schema":{"type":"integer","format":"int64"}},{"description":"Filter by this conversion id (mutually exclusive with \"datapoint\" and \"group\")","in":"query","name":"conversion","required":false,"schema":{"type":"integer","format":"int64"}},{"description":"Limit results to this number","in":"query","name":"pageSize","required":false,"schema":{"type":"integer","format":"int32","default":50}},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","in":"query","name":"filter","required":false,"schema":{"type":"string","enum":["","spiders","uniques","nonuniques","conversions"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.ClickStream.Hit_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.ClickStream.Hit_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the latest list of events of this account. Limited to last 100.","tags":["ClickStream"]}},"/conversions":{"get":{"deprecated":false,"parameters":[{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Status of conversion (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active"]}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}},{"description":"Exclude conversions created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"schema":{"type":"string"}},{"description":"Exclude conversions created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a list of conversions","tags":["Conversions"]},"post":{"deprecated":false,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}}},"description":"The body of the conversion","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a conversion","tags":["Conversions"]}},"/conversions/aggregated/list":{"get":{"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Status of conversion (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active"]}},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","in":"query","name":"groupBy","required":false,"schema":{"type":"string","enum":["week","month"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe related to a subset of conversions grouped by some temporal entity (day/week/month)","tags":["Conversions"]}},"/conversions/count":{"get":{"deprecated":false,"parameters":[{"description":"Status of conversion (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active"]}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}},{"description":"Exclude conversions created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"schema":{"type":"string"}},{"description":"Exclude conversions created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a count of conversions","tags":["Conversions"]}},"/conversions/{conversionId}":{"delete":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Delete conversion specified by id","tags":["Conversions"]},"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve conversion specified by id","tags":["Conversions"]},"post":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Conversions.Conversion"}}},"description":"Updated body of the conversion","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Update conversion specified by id","tags":["Conversions"]}},"/conversions/{conversionId}/aggregated":{"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Filter by this tag name","in":"query","name":"tag","required":false,"schema":{"type":"string"}},{"description":"Is the datapoint marked as favourite","in":"query","name":"favourite","required":false,"schema":{"type":"boolean"}},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.Aggregated.AggregatedResult"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this conversion for a timeframe","tags":["Conversions"]}},"/conversions/{conversionId}/aggregated/list":{"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeFrame","required":true,"schema":{"type":"string","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"]}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","in":"query","name":"groupBy","required":false,"schema":{"type":"string","enum":["week","month"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Dto.Aggregated.AggregatedResult_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this conversion for a timeframe grouped by some temporal entity (day/week/month)","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints":{"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Offset where to start from","in":"query","name":"offset","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Type of datapoint (\"tl\"/\"tp\")","in":"query","name":"type","required":false,"schema":{"type":"string","enum":["tp","tl"]}},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["deleted","active","paused","spam"]}},{"description":"Filter by this tag name","in":"query","name":"tags","required":false,"schema":{"type":"string"}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"schema":{"type":"string"}},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntitiesResponse_Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a list of datapoints connected to this conversion","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/batch/patch":{"put":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.PatchBodyBatch"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.PatchBodyBatch"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.PatchBodyBatch"}}},"description":"Patch requests","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Modify the association between a conversion and multiple datapoints","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/count":{"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Type of datapoint (\"tl\"/\"tp\")","in":"query","name":"type","required":false,"schema":{"type":"string"}},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","in":"query","name":"status","required":false,"schema":{"type":"string"}},{"description":"Filter by this tag name","in":"query","name":"tags","required":false,"schema":{"type":"string"}},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"schema":{"type":"string"}},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"schema":{"type":"string"}},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.CountResponce"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a count of datapoints connected to this conversion","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/patch":{"put":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.ConversionPatchBody"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.ConversionPatchBody"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.ConversionPatchBody"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.ConversionPatchBody"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Api.Core.Requests.ConversionPatchBody"}}},"description":"Patch request","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Api.Core.Responses.EntityUri_System.Int64_"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Modify the association between a conversion and a datapoint","tags":["Conversions"]}},"/conversions/{conversionId}/hits":{"get":{"deprecated":false,"parameters":[{"description":"Id of the conversion","in":"path","name":"conversionId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Timeframe of the request. See list at $timeframeList","in":"query","name":"timeframe","required":true,"schema":{"type":"string","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"]}},{"description":"Limit results to this number","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}},{"description":"Offset where to start from (it's the lastKey field in the response object)","in":"query","name":"offset","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"schema":{"type":"string"}},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"schema":{"type":"string"}},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","in":"query","name":"filter","required":false,"schema":{"type":"string","enum":["spiders","uniques","nonuniques","conversions"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api.Core.Dto.ClickStream.HitListPag