东莞市连易网络科技有限公司
东莞市连易网络科技有限公司
  • 网站
  • 用户
  • 购物车
  • 购物车
  • 搜索
  • 网站
  • 用户
帮助
帮助
API文档 Abuse 服务
  • 用户文档
  • 开发文档
  • API文档
  • 提及
  • 标签
  • 更多
  • 取消
  • 新建
  • API文档
  • -进程 API 文档
    • +进程 API 关联类型
    • +进程 API 事件参数
    • -进程 API 服务
      • Abuse 服务
  • +REST API 文档

Abuse 服务

  • 调用: Apis.Get<Limyee.Extensibility.Api.Version1.IAbuse>()
  • 程序集: Limyee.Api.dll

属性

名称

类型

描述

默认值

选项

AbusiveContent

IAbusiveContent

AbusiveContent

Appeals

IAbuseAppeals

AbuseAppeals

Reports

IAbuseReports

AbuseReports

方法

bool CanUserReviewAppeals(Guid contentId, int userId);

Indicates that user has permissions to review appeals on a specific content item. Deprecated: Use CanUserReviewAppeals(Guid, Guid, int) instead.

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

userId

int

User Id

是

返回类型

bool

bool CanUserReviewAppeals(Guid contentId, Guid contentTypeId, int userId);

Indicates that user has permissions to review appeals on a specific content item

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

contentTypeId

Guid

Content Type Id

是

userId

int

User Id

是

返回类型

bool

bool CanUserReviewAppealsInApplication(Guid applicationId, Guid applicationTypeId, int userId);

Indicates that user has permissions to review appeals within an application

参数

名称

类型

描述

必需

默认值

选项

applicationId

Guid

Application Id

是

applicationTypeId

Guid

Application Type Id

是

userId

int

User Id

是

返回类型

bool

bool CanUserReviewAppealsInContainer(Guid containerId, Guid containerTypeId, int userId);

Indicates that user has permissions to review appeals within a container

参数

名称

类型

描述

必需

默认值

选项

containerId

Guid

Container Id

是

containerTypeId

Guid

Container Type Id

是

userId

int

User Id

是

返回类型

bool

bool CanUserReviewAppealsInSite(int userId);

Indicates that user can review appeals somewhere within the site

参数

名称

类型

描述

必需

默认值

选项

userId

int

User Id

是

返回类型

bool

void ContentFoundNotAbusive(Guid contentId);

Restore hidden content. Deprecated: Use ContentFoundNotAbusive(Guid, Guid) instead.

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

void ContentFoundNotAbusive(Guid contentId, Guid contentTypeId);

Restore hidden content

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

contentTypeId

Guid

Content Type Id

是

void ContentSuspectedAbusive(Guid contentId, Guid contentTypeId);

Hide content

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

contentTypeId

Guid

Content Type Id

是

void ContentSuspectedAbusive(Guid contentId);

Hide content. Deprecated: Use ContentSuspectedAbusive(Guid, Guid) instead.

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

IEnumerable<int> GetReviewBoardUserIds(Guid contentId, Guid contentTypeId);

Retrieves a list of users on the review board for a specific content item.

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

contentTypeId

Guid

Content Type Id

是

返回类型

IEnumerable<int>

bool IsAbusive(Guid contentId, Guid contentTypeId);

Indicates that content is abusive

参数

名称

类型

描述

必需

默认值

选项

contentId

Guid

Content Id

是

contentTypeId

Guid

Content Type ID

是

返回类型

bool

  • 分享
  • 历史
  • 更多
  • 取消
相关
推荐
Copyright © 2021 东莞市连易网络科技有限公司. All rights reserved.
Powered by Limyee Commerce System(3.0.0). © 2014 - 2025 Limyee Inc.