wxpusher-client icon indicating copy to clipboard operation
wxpusher-client copied to clipboard

[FeatureRequest] 希望有Topic管理API

Open wsy opened this issue 1 year ago • 0 comments

APIs:

NewTopic(Data) -> Topic
EditTopic(Data) -> Topic
GetTopic(Name) -> Topic
GetTopic(TopicId) -> Topic
GetTopics(AppId) -> List<Topic>
AddUserToTopic(TopicId, UserId) -> int
RemoveUserFromTopic(TopicId, UserId) -> int

Data: Topic

{
  "id": 1024,
  "appId": "appId",
  "name": "string",
  "description": "string",
  "users": [ "userId1", "userId2" ],
  "date_created": 1705312300,
  "date_updated": 1705482300
}

wsy avatar Jan 17 '24 13:01 wsy