Liking cljdoc? Tell your friends :D

mattermost-clj.api.posts


channels-channel-id-posts-getclj

(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.

Permissions

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.
raw docstring

channels-channel-id-posts-get-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-ephemeral-postclj

(posts-ephemeral-post)
(posts-ephemeral-post optional-params)

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)

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)
raw docstring

posts-ephemeral-post-with-http-infoclj

(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.

Permissions

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)
raw docstring

posts-postclj

(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.

Permissions

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.
raw docstring

posts-post-id-actions-action-id-postclj

(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.

Permissions

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.
raw docstring

posts-post-id-actions-action-id-post-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-deleteclj

(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.

Permissions

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.
raw docstring

posts-post-id-delete-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-files-info-getclj

(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.

Permissions

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.
raw docstring

posts-post-id-files-info-get-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-getclj

(posts-post-id-get post-id)

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.

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.
raw docstring

posts-post-id-get-with-http-infoclj

(posts-post-id-get-with-http-info post-id)

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.

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.
raw docstring

posts-post-id-patch-putclj

(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.

Permissions

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.
raw docstring

posts-post-id-patch-put-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-pin-postclj

(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.

Permissions

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.
raw docstring

posts-post-id-pin-post-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-putclj

(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.

Permissions

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.
raw docstring

posts-post-id-put-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-id-thread-getclj

(posts-post-id-thread-get post-id)

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.

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.
raw docstring

posts-post-id-thread-get-with-http-infoclj

(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.

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.

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.
raw docstring

posts-post-id-unpin-postclj

(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.

Permissions

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.
raw docstring

posts-post-id-unpin-post-with-http-infoclj

(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.

Permissions

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.
raw docstring

posts-post-with-http-infoclj

(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.

Permissions

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.
raw docstring

teams-team-id-posts-search-postclj

(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.

Permissions

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.
raw docstring

teams-team-id-posts-search-post-with-http-infoclj

(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.

Permissions

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.
raw docstring

user-user-id-posts-post-id-set-unread-postclj

(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.

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

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
raw docstring

user-user-id-posts-post-id-set-unread-post-with-http-infoclj

(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.

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

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
raw docstring

users-user-id-channels-channel-id-posts-unread-getclj

(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.

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

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
raw docstring

users-user-id-channels-channel-id-posts-unread-get-with-http-infoclj

(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.

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

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
raw docstring

users-user-id-posts-flagged-getclj

(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.

Permissions

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.
raw docstring

users-user-id-posts-flagged-get-with-http-infoclj

(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.

Permissions

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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close