Version 21.0.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@^12.4.0
Module Import:
import {
apiRequest,
authenticateRequest,
canCreateChannel,
canCreateReaction,
canDeletePost,
canModifyChannel,
canModifyPost,
canModifyPostStatus,
canPostToChannel,
canReadFromChannel,
createChannel,
createChannelNotificationOptOut,
createPost,
createReaction,
createReply,
fetchChannel,
fetchChannelNotifcationOptOut,
fetchPost,
isChannelInclusive,
isDiscussable,
isOrgAdmin,
parseDiscussionURI,
parseMentionedUsers,
reduceByGroupMembership,
removeChannel,
removeChannelActivity,
removeChannelNotificationOptOut,
removePost,
removeReaction,
request,
searchChannels,
searchPosts,
updateChannel,
updatePost,
updatePostSharing,
updatePostStatus,
ChannelPermission,
RemoteServerError,
} from "@esri/hub-discussions";
- apiRequest
- authenticateRequest
- canCreateChannel
- canCreateReaction
- canDeletePost
- canModifyChannel
- canModifyPost
- canModifyPostStatus
- canPostToChannel
- canReadFromChannel
- createChannel
- createChannelNotificationOptOut
- createPost
- createReaction
- createReply
- fetchChannel
- fetchChannelNotifcationOptOut
- fetchPost
- isChannelInclusive
- isDiscussable
- isOrgAdmin
- parseDiscussionURI
- parseMentionedUsers
- reduceByGroupMembership
- removeChannel
- removeChannelActivity
- removeChannelNotificationOptOut
- removePost
- removeReaction
- request
- searchChannels
- searchPosts
- updateChannel
- updatePost
- updatePostSharing
- updatePostStatus
- ChannelPermission
- RemoteServerError
- CANNOT_DISCUSS
- MENTION_ATTRIBUTE
- AclCategory
- AclSubCategory
- ChannelFilter
- ChannelRelation
- ChannelSort
- CommonSort
- DiscussionSource
- DiscussionType
- PostReaction
- PostRelation
- PostSort
- PostStatus
- PostType
- ReactionRelation
- Role
- SharingAccess
- SortOrder
- IChannel
- IChannelAclPermission
- IChannelAclPermissionDefinition
- IChannelAclPermissionUpdateDefinition
- IChannelNotificationOptOut
- ICreateChannel
- ICreateChannelNotificationOptOutParams
- ICreateChannelParams
- ICreateChannelPermissions
- ICreateChannelPost
- ICreateChannelSettings
- ICreatePost
- ICreatePostParams
- ICreateReaction
- ICreateReactionOptions
- ICreateReplyParams
- IDiscussionParams
- IDiscussionsMentionMeta
- IDiscussionsRequestOptions
- IDiscussionsUser
- IFetchChannel
- IFetchChannelNotificationOptOutParams
- IFetchChannelParams
- IFetchPost
- IFetchPostParams
- IPagedResponse
- IPlatformSharing
- IPost
- IPostOptions
- IReaction
- IRemoveChannelActivityParams
- IRemoveChannelActivityResult
- IRemoveChannelNotificationOptOutParams
- IRemoveChannelNotificationOptOutResult
- IRemoveChannelParams
- IRemoveChannelResponse
- IRemovePostParams
- IRemovePostResponse
- IRemoveReactionOptions
- IRemoveReactionResponse
- ISearchChannels
- ISearchChannelsParams
- ISearchPosts
- ISearchPostsParams
- IUpdateChannel
- IUpdateChannelParams
- IUpdatePost
- IUpdatePostParams
- IUpdatePostSharing
- IUpdatePostSharingParams
- IUpdatePostStatus
- IUpdatePostStatusParams
- IWithAuthor
- IWithEditor
- IWithFiltering
- IWithSorting
- IWithTimeQueries
- IWithTimestamps