更新时间:2022-05-07 GMT+08:00
分享

查看到期的通知

功能介绍

查看订阅到期提醒和数据集可视权限到期提醒的内容。

URI

  • URI格式
    GET /softcomai/datalake/v1.0/notifications
  • 参数说明

    无。

请求

  • 请求样例
    GET https://ipaddr:port/softcomai/datalake/v1.0/notifications?pageNum=1&pageSize=5
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    pageNum

    Int

    分页查询中的第几页。

    pageSize

    Int

    分页查询中页的大小。

响应

  • 响应样例
    {
    "success" : true,
    "returnData" : [{
    "id" : "1",
    "resourceId" : "1816033749546839721",
    "resourceName" : "hdfs测试数据",
    "resourceType" : "DATASET",
    "createTime" : "2019-04-08 16:25:16",
    "userId" : "SoftcomAI_Integration_per3__0123456789",
    "tenantId" : "SoftcomAI_Integration_per3__0123456789",
    "notificationType" : "EXPIRY_VISUAL_PERMISSION_NOTIFICATION",
    "notificationContent" : "{" id ":2," userId ":" SoftcomAI_Integration_per3__0123456789 "," resources ":" 1816033749546839721 "," resourceType ":" DATASET "," createDate ":" 2019 - 04 - 04 14 : 32 : 23 "," expireDate ":" 2019 - 04 - 04 23 : 59 : 59 "," policyAction ":" VIEW "}"
    }
    ]
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    String

    请求是否成功。

    returnData

    JSON

    返回体。

    id

    String

    通知记录的ID。

    resourceId

    String

    资源ID。

    resourceName

    String

    资源名称。

    resourceType

    String

    资源类型。

    createTime

    String

    创建时间。

    userId

    String

    用户ID。

    tenantId

    String

    租户ID。

    notificationType

    String

    通知类型。

    notificationContent

    String

    通知内容。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品