Class AsyncRawArticlesClient


  • public class AsyncRawArticlesClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncRawArticlesClient

        public AsyncRawArticlesClient​(ClientOptions clientOptions)
    • Method Detail

      • listArticles

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ArticleList>> listArticles()
        You can fetch a list of all articles by making a GET request to https://api.intercom.io/articles.

        📘 How are the articles sorted and ordered?

        Articles will be returned in descending order on the updated_at attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.

      • listArticles

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ArticleList>> listArticles​(RequestOptions requestOptions)
        You can fetch a list of all articles by making a GET request to https://api.intercom.io/articles.

        📘 How are the articles sorted and ordered?

        Articles will be returned in descending order on the updated_at attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.

      • createArticle

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Article>> createArticle​(java.lang.Object request)
        You can create a new article by making a POST request to https://api.intercom.io/articles.
      • createArticle

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Article>> createArticle​(java.lang.Object request,
                                                                                                   RequestOptions requestOptions)
        You can create a new article by making a POST request to https://api.intercom.io/articles.
      • retrieveArticle

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Article>> retrieveArticle​(RetrieveArticleRequest request)
        You can fetch the details of a single article by making a GET request to https://api.intercom.io/articles/<id>.
      • searchArticles

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ArticleSearchResponse>> searchArticles()
        You can search for articles by making a GET request to https://api.intercom.io/articles/search.