-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(microapp): 新增短视频分析、直播分析、小房子直播分析、留资分析等相关接口
- Loading branch information
Showing
47 changed files
with
3,625 additions
and
2 deletions.
There are no files selected for viewing
294 changes: 294 additions & 0 deletions
294
...yteDance.MicroApp/Extensions/DouyinMicroAppClientExecutePlatformDataAnalysisExtensions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
61 changes: 61 additions & 0 deletions
61
...els/PlatformDataAnalysis/Component/PlatformDataAnalysisQueryComponentWithDataV2Request.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace SKIT.FlurlHttpClient.ByteDance.MicroApp.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /api/platform/v2/data_analysis/query_component_with_data/ 接口的请求。</para> | ||
/// </summary> | ||
public class PlatformDataAnalysisQueryComponentWithDataV2Request : DouyinMicroAppRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置开始时间戳。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("start_time")] | ||
[System.Text.Json.Serialization.JsonPropertyName("start_time")] | ||
public long StartTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置结束时间戳。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("end_time")] | ||
[System.Text.Json.Serialization.JsonPropertyName("end_time")] | ||
public long EndTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置组件配置 ID 列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("componentId_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("componentId_list")] | ||
public IList<string>? ComponentIdList { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置是否查询短视频维度。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("is_query_video")] | ||
[System.Text.Json.Serialization.JsonPropertyName("is_query_video")] | ||
public bool IsQueryVideo { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置是否查询直播维度。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("is_query_live")] | ||
[System.Text.Json.Serialization.JsonPropertyName("is_query_live")] | ||
public bool IsQueryLive { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置分页页数。 | ||
/// <para>默认值:1</para> | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("page_no")] | ||
[System.Text.Json.Serialization.JsonPropertyName("page_no")] | ||
public int PageNumber { get; set; } = 1; | ||
|
||
/// <summary> | ||
/// 获取或设置分页每页数量。 | ||
/// <para>默认值:10</para> | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("page_size")] | ||
[System.Text.Json.Serialization.JsonPropertyName("page_size")] | ||
public int PageSize { get; set; } = 10; | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ls/PlatformDataAnalysis/Component/PlatformDataAnalysisQueryComponentWithDataV2Response.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
namespace SKIT.FlurlHttpClient.ByteDance.MicroApp.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /api/platform/v2/data_analysis/query_component_with_data/ 接口的响应。</para> | ||
/// </summary> | ||
public class PlatformDataAnalysisQueryComponentWithDataV2Response : DouyinMicroAppResponse | ||
{ | ||
public static class Types | ||
{ | ||
public class Data | ||
{ | ||
public static class Types | ||
{ | ||
public class ComponentData : PlatformDataAnalysisQueryComponentWithDetailV2Response.Types.Data.Types.VideoData.Types.VideoData.Types.Statistics | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// 获取或设置留资组件数据列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("DataList")] | ||
[System.Text.Json.Serialization.JsonPropertyName("DataList")] | ||
public Types.ComponentData[] ComponentDataList { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// 获取或设置总数量。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("Total")] | ||
[System.Text.Json.Serialization.JsonPropertyName("Total")] | ||
public int TotalCount { get; set; } | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// 获取或设置返回数据。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("data")] | ||
[System.Text.Json.Serialization.JsonPropertyName("data")] | ||
public Types.Data Data { get; set; } = default!; | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...s/PlatformDataAnalysis/Component/PlatformDataAnalysisQueryComponentWithDetailV2Request.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace SKIT.FlurlHttpClient.ByteDance.MicroApp.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /api/platform/v2/data_analysis/query_component_with_detail/ 接口的请求。</para> | ||
/// </summary> | ||
public class PlatformDataAnalysisQueryComponentWithDetailV2Request : DouyinMicroAppRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置开始时间戳。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("start_time")] | ||
[System.Text.Json.Serialization.JsonPropertyName("start_time")] | ||
public long StartTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置结束时间戳。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("end_time")] | ||
[System.Text.Json.Serialization.JsonPropertyName("end_time")] | ||
public long EndTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置组件配置 ID 列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("componentId_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("componentId_list")] | ||
public IList<string>? ComponentIdList { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置是否查询短视频维度。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("is_query_video")] | ||
[System.Text.Json.Serialization.JsonPropertyName("is_query_video")] | ||
public bool IsQueryVideo { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置是否查询直播维度。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("is_query_live")] | ||
[System.Text.Json.Serialization.JsonPropertyName("is_query_live")] | ||
public bool IsQueryLive { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置分页页数。 | ||
/// <para>默认值:1</para> | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("page_no")] | ||
[System.Text.Json.Serialization.JsonPropertyName("page_no")] | ||
public int PageNumber { get; set; } = 1; | ||
|
||
/// <summary> | ||
/// 获取或设置分页每页数量。 | ||
/// <para>默认值:10</para> | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("page_size")] | ||
[System.Text.Json.Serialization.JsonPropertyName("page_size")] | ||
public int PageSize { get; set; } = 10; | ||
} | ||
} |
Oops, something went wrong.