Class AsyncArticlesClient


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

      • AsyncArticlesClient

        public AsyncArticlesClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawArticlesClient withRawResponse()
        Get responses with HTTP metadata like headers
      • list

        public java.util.concurrent.CompletableFuture<SyncPagingIterable<ArticleListItem>> list()
        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.

      • list

        public java.util.concurrent.CompletableFuture<SyncPagingIterable<ArticleListItem>> list​(ListArticlesRequest request)
        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.

      • list

        public java.util.concurrent.CompletableFuture<SyncPagingIterable<ArticleListItem>> list​(ListArticlesRequest request,
                                                                                                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.

      • create

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

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

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

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

        public java.util.concurrent.CompletableFuture<Article> find​(FindArticleRequest request,
                                                                    RequestOptions requestOptions)
        You can fetch the details of a single article by making a GET request to https://api.intercom.io/articles/<id>.
      • update

        public java.util.concurrent.CompletableFuture<Article> update​(UpdateArticleRequest request)
        You can update the details of a single article by making a PUT request to https://api.intercom.io/articles/<id>.
      • update

        public java.util.concurrent.CompletableFuture<Article> update​(UpdateArticleRequest request,
                                                                      RequestOptions requestOptions)
        You can update the details of a single article by making a PUT request to https://api.intercom.io/articles/<id>.
      • delete

        public java.util.concurrent.CompletableFuture<DeletedArticleObject> delete​(DeleteArticleRequest request)
        You can delete a single article by making a DELETE request to https://api.intercom.io/articles/<id>.
      • search

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

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