Version 29.5.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.33.0
Module Import:
import {
canCreateChannel,
canCreateChannelV2,
canCreatePost,
canCreatePostV2,
canCreateReaction,
canCreateReactionV2,
canCreateReply,
canCreateReplyV2,
canDeleteChannel,
canDeleteChannelV2,
canDeletePost,
canDeletePostV2,
canEditChannel,
canEditChannelV2,
canEditPost,
canEditPostStatus,
canEditPostStatusV2,
canEditPostV2,
canModifyChannel,
canModifyPost,
canModifyPostStatus,
canPostToChannel,
canReadChannel,
canReadChannelV2,
canReadFromChannel,
createChannel,
createChannelNotificationOptOut,
createChannelNotificationOptOutV2,
createChannelV2,
createPost,
createPostV2,
createReaction,
createReactionV2,
createReply,
createReplyV2,
exportPosts,
exportPostsV2,
fetchChannel,
fetchChannelNotifcationOptOut,
fetchChannelNotifcationOptOutV2,
fetchChannelV2,
fetchPost,
fetchPostV2,
isOrgAdmin,
isOrgAdminInOrg,
isUserInOrg,
parseDiscussionURI,
parseMentionedUsers,
reduceByGroupMembership,
removeChannel,
removeChannelActivity,
removeChannelActivityV2,
removeChannelNotificationOptOut,
removeChannelNotificationOptOutV2,
removeChannelV2,
removePost,
removePostV2,
removeReaction,
removeReactionV2,
searchPosts,
searchPostsV2,
updateChannel,
updateChannelV2,
updatePost,
updatePostStatus,
updatePostStatusV2,
updatePostV2,
userHasPrivilege,
userHasPrivileges,
} from "@esri/hub-discussions";
- canCreateChannel
- canCreateChannelV2
- canCreatePost
- canCreatePostV2
- canCreateReaction
- canCreateReactionV2
- canCreateReply
- canCreateReplyV2
- canDeleteChannel
- canDeleteChannelV2
- canDeletePost
- canDeletePostV2
- canEditChannel
- canEditChannelV2
- canEditPost
- canEditPostStatus
- canEditPostStatusV2
- canEditPostV2
- canModifyChannel
- canModifyPost
- canModifyPostStatus
- canPostToChannel
- canReadChannel
- canReadChannelV2
- canReadFromChannel
- createChannel
- createChannelNotificationOptOut
- createChannelNotificationOptOutV2
- createChannelV2
- createPost
- createPostV2
- createReaction
- createReactionV2
- createReply
- createReplyV2
- exportPosts
- exportPostsV2
- fetchChannel
- fetchChannelNotifcationOptOut
- fetchChannelNotifcationOptOutV2
- fetchChannelV2
- fetchPost
- fetchPostV2
- isOrgAdmin
- isOrgAdminInOrg
- isUserInOrg
- parseDiscussionURI
- parseMentionedUsers
- reduceByGroupMembership
- removeChannel
- removeChannelActivity
- removeChannelActivityV2
- removeChannelNotificationOptOut
- removeChannelNotificationOptOutV2
- removeChannelV2
- removePost
- removePostV2
- removeReaction
- removeReactionV2
- searchPosts
- searchPostsV2
- updateChannel
- updateChannelV2
- updatePost
- updatePostStatus
- updatePostStatusV2
- updatePostV2
- userHasPrivilege
- userHasPrivileges
- MENTION_ATTRIBUTE