Version 29.4.0
@esri/hub-discussions
Module to interact with ArcGIS Hub Discussions API in Node.js and modern browsers.
npm install:
npm install @esri/hub-discussions @esri/arcgis-rest-auth@^2.14.0 || 3 @esri/arcgis-rest-request@^2.14.0 || 3 @esri/hub-common@^15.8.0
Module Import:
import {
canCreateChannel,
canCreatePost,
canCreateReaction,
canCreateReply,
canDeleteChannel,
canDeletePost,
canEditChannel,
canEditPost,
canEditPostStatus,
canModifyChannel,
canModifyPost,
canModifyPostStatus,
canPostToChannel,
canReadChannel,
canReadFromChannel,
createChannel,
createChannelNotificationOptOut,
createPost,
createReaction,
createReply,
dtoToChannel,
exportPosts,
fetchChannel,
fetchChannelNotifcationOptOut,
fetchPost,
isOrgAdmin,
isOrgAdminInOrg,
isUserInOrg,
parseDiscussionURI,
parseMentionedUsers,
reduceByGroupMembership,
removeChannel,
removeChannelActivity,
removeChannelNotificationOptOut,
removePost,
removeReaction,
searchPosts,
updateChannel,
updatePost,
updatePostStatus,
userHasPrivilege,
userHasPrivileges,
} from "@esri/hub-discussions";
- canCreateChannel
- canCreatePost
- canCreateReaction
- canCreateReply
- canDeleteChannel
- canDeletePost
- canEditChannel
- canEditPost
- canEditPostStatus
- canModifyChannel
- canModifyPost
- canModifyPostStatus
- canPostToChannel
- canReadChannel
- canReadFromChannel
- createChannel
- createChannelNotificationOptOut
- createPost
- createReaction
- createReply
- dtoToChannel
- exportPosts
- fetchChannel
- fetchChannelNotifcationOptOut
- fetchPost
- isOrgAdmin
- isOrgAdminInOrg
- isUserInOrg
- parseDiscussionURI
- parseMentionedUsers
- reduceByGroupMembership
- removeChannel
- removeChannelActivity
- removeChannelNotificationOptOut
- removePost
- removeReaction
- searchPosts
- updateChannel
- updatePost
- updatePostStatus
- userHasPrivilege
- userHasPrivileges
- MENTION_ATTRIBUTE