Class RawArticlesClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.articles.RawArticlesClient
-
public class RawArticlesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawArticlesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<Article>createArticle(java.lang.Object request)You can create a new article by making a POST request tohttps://api.intercom.io/articles.IntercomHttpResponse<Article>createArticle(java.lang.Object request, RequestOptions requestOptions)You can create a new article by making a POST request tohttps://api.intercom.io/articles.IntercomHttpResponse<DeletedArticleObject>deleteArticle(DeleteArticleRequest request)You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<DeletedArticleObject>deleteArticle(DeleteArticleRequest request, RequestOptions requestOptions)You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<ArticleList>listArticles()You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.IntercomHttpResponse<ArticleList>listArticles(RequestOptions requestOptions)You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.IntercomHttpResponse<Article>retrieveArticle(RetrieveArticleRequest request)You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<Article>retrieveArticle(RetrieveArticleRequest request, RequestOptions requestOptions)You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<ArticleSearchResponse>searchArticles()You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.IntercomHttpResponse<ArticleSearchResponse>searchArticles(SearchArticlesRequest request)You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.IntercomHttpResponse<ArticleSearchResponse>searchArticles(SearchArticlesRequest request, RequestOptions requestOptions)You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawArticlesClient
public RawArticlesClient(ClientOptions clientOptions)
-
-
Method Detail
-
listArticles
public IntercomHttpResponse<ArticleList> listArticles()
You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.📘 How are the articles sorted and ordered?
Articles will be returned in descending order on the
updated_atattribute. This means if you need to iterate through results then we'll show the most recently updated articles first.
-
listArticles
public IntercomHttpResponse<ArticleList> listArticles(RequestOptions requestOptions)
You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.📘 How are the articles sorted and ordered?
Articles will be returned in descending order on the
updated_atattribute. This means if you need to iterate through results then we'll show the most recently updated articles first.
-
createArticle
public IntercomHttpResponse<Article> createArticle(java.lang.Object request)
You can create a new article by making a POST request tohttps://api.intercom.io/articles.
-
createArticle
public IntercomHttpResponse<Article> createArticle(java.lang.Object request, RequestOptions requestOptions)
You can create a new article by making a POST request tohttps://api.intercom.io/articles.
-
retrieveArticle
public IntercomHttpResponse<Article> retrieveArticle(RetrieveArticleRequest request)
You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.
-
retrieveArticle
public IntercomHttpResponse<Article> retrieveArticle(RetrieveArticleRequest request, RequestOptions requestOptions)
You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.
-
deleteArticle
public IntercomHttpResponse<DeletedArticleObject> deleteArticle(DeleteArticleRequest request)
You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.
-
deleteArticle
public IntercomHttpResponse<DeletedArticleObject> deleteArticle(DeleteArticleRequest request, RequestOptions requestOptions)
You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.
-
searchArticles
public IntercomHttpResponse<ArticleSearchResponse> searchArticles()
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
searchArticles
public IntercomHttpResponse<ArticleSearchResponse> searchArticles(SearchArticlesRequest request)
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
searchArticles
public IntercomHttpResponse<ArticleSearchResponse> searchArticles(SearchArticlesRequest request, RequestOptions requestOptions)
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
-