GET api/Zone/{zone_handle}/Redirection/{handle}/Hit?from={from}&to={to}&user={user}
Get hits associated to the redirection object
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| zone_handle |
Handle of the zone |
string |
Required |
| handle |
Handle of the redirection |
string |
Required |
| from |
Optional filter on date |
date |
None. |
| to |
Optional filter on date |
date |
None. |
| user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
List of redirection hits on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error
| Name | Description | Type | Additional information |
|---|---|---|---|
| Date |
Day |
date |
None. |
| Number |
Number of hits |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Date": "2025-12-12T19:14:12.8511649+01:00",
"Number": 2
},
{
"Date": "2025-12-12T19:14:12.8511649+01:00",
"Number": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfRedirectionHit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Zone">
<RedirectionHit>
<Date>2025-12-12T19:14:12.8511649+01:00</Date>
<Number>2</Number>
</RedirectionHit>
<RedirectionHit>
<Date>2025-12-12T19:14:12.8511649+01:00</Date>
<Number>2</Number>
</RedirectionHit>
</ArrayOfRedirectionHit>