# Get 5-minute domain name log - GetUcdnDomainLogV2

## Overview

Get 5-minute domain name log






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `GetUcdnDomainLogV2`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.genesissai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |No|
| **BeginTime** | int | The start time of the query, in Unix Timestamp format. |**Yes**|
| **EndTime** | int | The end time of the query, in Unix Timestamp format. |**Yes**|
| **DomainId.N** | string | Domain ID, the ID generated when creating a domain. Default to all domains. |No|
| **IsDcdn** | boolean | Is the whole site accelerated? Default is false |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **DomainLogSet** | array[[*DomanLogList*](#domanloglist)] |  |**Yes**|

#### Data Model


#### DomanLogList

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Domain** | string | Domain Name |No|
| **LogList** | array[[*LogInfo*](#loginfo)] | Log Information List |No|

#### LogInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **LogTime** | int | Unix Timestamp |**Yes**|
| **LogUrl** | string | Log URL address, multiple URLs separated by semicolons |**Yes**|

## Example

### Request Example
    
```
https://api.genesissai.com/?Action=GetUcdnDomainLogV2
&ProjectId=jtlEEXGE
&BeginTime=1
&EndTime=8
&DomainId.n=ziMJIfEj
&IsDcdn=false
```

### Response Example
    
```json
{
  "Action": "GetUcdnDomainLogV2Response",
  "DomainLogSet": [
    {
      "Domain": "QvsyjlbW",
      "LogList": [
        {
          "LogTime": 4,
          "LogUrl": "NhGLRDgK"
        }
      ]
    }
  ],
  "RetCode": 0
}
```





