(channels-channel-id-posts-get channel-id)
(channels-channel-id-posts-get channel-id optional-params)
Get posts for a channel
Get a page of posts in a channel. Use the query parameters to modify the behaviour of this endpoint. The parameters since
, before
and after
must not be used together.
Must have read_channel
permission for the channel.
Get posts for a channel Get a page of posts in a channel. Use the query parameters to modify the behaviour of this endpoint. The parameters `since`, `before` and `after` must not be used together. ##### Permissions Must have `read_channel` permission for the channel.
(channels-channel-id-posts-get-with-http-info channel-id)
(channels-channel-id-posts-get-with-http-info channel-id
{:keys [page per-page since before
after]})
Get posts for a channel
Get a page of posts in a channel. Use the query parameters to modify the behaviour of this endpoint. The parameters since
, before
and after
must not be used together.
Must have read_channel
permission for the channel.
Get posts for a channel Get a page of posts in a channel. Use the query parameters to modify the behaviour of this endpoint. The parameters `since`, `before` and `after` must not be used together. ##### Permissions Must have `read_channel` permission for the channel.
(posts-ephemeral-post)
(posts-ephemeral-post optional-params)
Create a ephemeral post Create a new ephemeral post in a channel.
Must have create_post_ephemeral
permission (currently only given to system admin)
Create a ephemeral post Create a new ephemeral post in a channel. ##### Permissions Must have `create_post_ephemeral` permission (currently only given to system admin)
(posts-ephemeral-post-with-http-info)
(posts-ephemeral-post-with-http-info {:keys [inline-object-43]})
Create a ephemeral post Create a new ephemeral post in a channel.
Must have create_post_ephemeral
permission (currently only given to system admin)
Create a ephemeral post Create a new ephemeral post in a channel. ##### Permissions Must have `create_post_ephemeral` permission (currently only given to system admin)
(posts-post)
(posts-post optional-params)
Create a post
Create a new post in a channel. To create the post as a comment on another post, provide root_id
.
Must have create_post
permission for the channel the post is being created in.
Create a post Create a new post in a channel. To create the post as a comment on another post, provide `root_id`. ##### Permissions Must have `create_post` permission for the channel the post is being created in.
(posts-post-id-actions-action-id-post post-id action-id)
Perform a post action Perform a post action, which allows users to interact with integrations through posts.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Perform a post action Perform a post action, which allows users to interact with integrations through posts. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-id-actions-action-id-post-with-http-info post-id action-id)
Perform a post action Perform a post action, which allows users to interact with integrations through posts.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Perform a post action Perform a post action, which allows users to interact with integrations through posts. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-id-delete post-id)
Delete a post Soft deletes a post, by marking the post as deleted in the database. Soft deleted posts will not be returned in post queries.
Must be logged in as the user or have delete_others_posts
permission.
Delete a post Soft deletes a post, by marking the post as deleted in the database. Soft deleted posts will not be returned in post queries. ##### Permissions Must be logged in as the user or have `delete_others_posts` permission.
(posts-post-id-delete-with-http-info post-id)
Delete a post Soft deletes a post, by marking the post as deleted in the database. Soft deleted posts will not be returned in post queries.
Must be logged in as the user or have delete_others_posts
permission.
Delete a post Soft deletes a post, by marking the post as deleted in the database. Soft deleted posts will not be returned in post queries. ##### Permissions Must be logged in as the user or have `delete_others_posts` permission.
(posts-post-id-files-info-get post-id)
Get file info for post Gets a list of file information objects for the files attached to a post.
Must have read_channel
permission for the channel the post is in.
Get file info for post Gets a list of file information objects for the files attached to a post. ##### Permissions Must have `read_channel` permission for the channel the post is in.
(posts-post-id-files-info-get-with-http-info post-id)
Get file info for post Gets a list of file information objects for the files attached to a post.
Must have read_channel
permission for the channel the post is in.
Get file info for post Gets a list of file information objects for the files attached to a post. ##### Permissions Must have `read_channel` permission for the channel the post is in.
(posts-post-id-get post-id)
Get a post Get a single post.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Get a post Get a single post. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team.
(posts-post-id-get-with-http-info post-id)
Get a post Get a single post.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Get a post Get a single post. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team.
(posts-post-id-patch-put post-id)
(posts-post-id-patch-put post-id optional-params)
Patch a post Partially update a post by providing only the fields you want to update. Omitted fields will not be updated. The fields that can be updated are defined in the request body, all other provided fields will be ignored.
Must have the edit_post
permission.
Patch a post Partially update a post by providing only the fields you want to update. Omitted fields will not be updated. The fields that can be updated are defined in the request body, all other provided fields will be ignored. ##### Permissions Must have the `edit_post` permission.
(posts-post-id-patch-put-with-http-info post-id)
(posts-post-id-patch-put-with-http-info post-id {:keys [inline-object-45]})
Patch a post Partially update a post by providing only the fields you want to update. Omitted fields will not be updated. The fields that can be updated are defined in the request body, all other provided fields will be ignored.
Must have the edit_post
permission.
Patch a post Partially update a post by providing only the fields you want to update. Omitted fields will not be updated. The fields that can be updated are defined in the request body, all other provided fields will be ignored. ##### Permissions Must have the `edit_post` permission.
(posts-post-id-pin-post post-id)
Pin a post to the channel Pin a post to a channel it is in based from the provided post id string.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Pin a post to the channel Pin a post to a channel it is in based from the provided post id string. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-id-pin-post-with-http-info post-id)
Pin a post to the channel Pin a post to a channel it is in based from the provided post id string.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Pin a post to the channel Pin a post to a channel it is in based from the provided post id string. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-id-put post-id)
(posts-post-id-put post-id optional-params)
Update a post Update a post. Only the fields listed below are updatable, omitted fields will be treated as blank.
Must have edit_post
permission for the channel the post is in.
Update a post Update a post. Only the fields listed below are updatable, omitted fields will be treated as blank. ##### Permissions Must have `edit_post` permission for the channel the post is in.
(posts-post-id-put-with-http-info post-id)
(posts-post-id-put-with-http-info post-id {:keys [inline-object-44]})
Update a post Update a post. Only the fields listed below are updatable, omitted fields will be treated as blank.
Must have edit_post
permission for the channel the post is in.
Update a post Update a post. Only the fields listed below are updatable, omitted fields will be treated as blank. ##### Permissions Must have `edit_post` permission for the channel the post is in.
(posts-post-id-thread-get post-id)
Get a thread Get a post and the rest of the posts in the same thread.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Get a thread Get a post and the rest of the posts in the same thread. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team.
(posts-post-id-thread-get-with-http-info post-id)
Get a thread Get a post and the rest of the posts in the same thread.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Get a thread Get a post and the rest of the posts in the same thread. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team.
(posts-post-id-unpin-post post-id)
Unpin a post to the channel Unpin a post to a channel it is in based from the provided post id string.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Unpin a post to the channel Unpin a post to a channel it is in based from the provided post id string. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-id-unpin-post-with-http-info post-id)
Unpin a post to the channel Unpin a post to a channel it is in based from the provided post id string.
Must be authenticated and have the read_channel
permission to the channel the post is in.
Unpin a post to the channel Unpin a post to a channel it is in based from the provided post id string. ##### Permissions Must be authenticated and have the `read_channel` permission to the channel the post is in.
(posts-post-with-http-info)
(posts-post-with-http-info {:keys [inline-object-42]})
Create a post
Create a new post in a channel. To create the post as a comment on another post, provide root_id
.
Must have create_post
permission for the channel the post is being created in.
Create a post Create a new post in a channel. To create the post as a comment on another post, provide `root_id`. ##### Permissions Must have `create_post` permission for the channel the post is being created in.
(teams-team-id-posts-search-post team-id)
(teams-team-id-posts-search-post team-id optional-params)
Search for team posts Search posts in the team and from the provided terms string.
Must be authenticated and have the view_team
permission.
Search for team posts Search posts in the team and from the provided terms string. ##### Permissions Must be authenticated and have the `view_team` permission.
(teams-team-id-posts-search-post-with-http-info team-id)
(teams-team-id-posts-search-post-with-http-info team-id
{:keys [inline-object-46]})
Search for team posts Search posts in the team and from the provided terms string.
Must be authenticated and have the view_team
permission.
Search for team posts Search posts in the team and from the provided terms string. ##### Permissions Must be authenticated and have the `view_team` permission.
(user-user-id-posts-post-id-set-unread-post user-id post-id)
Mark as unread from a post. Mark a channel as being unread from a given post.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Must have edit_other_users
permission if the user is not the one marking the post for himself.
Minimum server version: 5.18
Mark as unread from a post. Mark a channel as being unread from a given post. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team. Must have `edit_other_users` permission if the user is not the one marking the post for himself. __Minimum server version__: 5.18
(user-user-id-posts-post-id-set-unread-post-with-http-info user-id post-id)
Mark as unread from a post. Mark a channel as being unread from a given post.
Must have read_channel
permission for the channel the post is in or if the channel is public, have the read_public_channels
permission for the team.
Must have edit_other_users
permission if the user is not the one marking the post for himself.
Minimum server version: 5.18
Mark as unread from a post. Mark a channel as being unread from a given post. ##### Permissions Must have `read_channel` permission for the channel the post is in or if the channel is public, have the `read_public_channels` permission for the team. Must have `edit_other_users` permission if the user is not the one marking the post for himself. __Minimum server version__: 5.18
(users-user-id-channels-channel-id-posts-unread-get user-id channel-id)
(users-user-id-channels-channel-id-posts-unread-get user-id
channel-id
optional-params)
Get posts around last unread Get the oldest unread post in the channel for the given user as well as the posts around it.
Must be logged in as the user or have edit_other_users
permission, and must have read_channel
permission for the channel.
Minimum server version: 5.14
Get posts around last unread Get the oldest unread post in the channel for the given user as well as the posts around it. ##### Permissions Must be logged in as the user or have `edit_other_users` permission, and must have `read_channel` permission for the channel. __Minimum server version__: 5.14
(users-user-id-channels-channel-id-posts-unread-get-with-http-info user-id
channel-id)
(users-user-id-channels-channel-id-posts-unread-get-with-http-info
user-id
channel-id
{:keys [limit-before limit-after]})
Get posts around last unread Get the oldest unread post in the channel for the given user as well as the posts around it.
Must be logged in as the user or have edit_other_users
permission, and must have read_channel
permission for the channel.
Minimum server version: 5.14
Get posts around last unread Get the oldest unread post in the channel for the given user as well as the posts around it. ##### Permissions Must be logged in as the user or have `edit_other_users` permission, and must have `read_channel` permission for the channel. __Minimum server version__: 5.14
(users-user-id-posts-flagged-get user-id)
(users-user-id-posts-flagged-get user-id optional-params)
Get a list of flagged posts Get a page of flagged posts of a user provided user id string. Selects from a channel, team or all flagged posts by a user.
Must be user or have manage_system
permission.
Get a list of flagged posts Get a page of flagged posts of a user provided user id string. Selects from a channel, team or all flagged posts by a user. ##### Permissions Must be user or have `manage_system` permission.
(users-user-id-posts-flagged-get-with-http-info user-id)
(users-user-id-posts-flagged-get-with-http-info user-id
{:keys [team-id channel-id page
per-page]})
Get a list of flagged posts Get a page of flagged posts of a user provided user id string. Selects from a channel, team or all flagged posts by a user.
Must be user or have manage_system
permission.
Get a list of flagged posts Get a page of flagged posts of a user provided user id string. Selects from a channel, team or all flagged posts by a user. ##### Permissions Must be user or have `manage_system` permission.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close