API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- get/v1/articles/gridList articles in a tableReturns one page of articles with the filters and the sort you ask for. A person who may only change their own articles sees only those.
- get/v1/articles/optionsList articles for a pickerReturns short items with the number and the name of each article. Use it to fill a picker.
- get/v1/articles/board/summaryCount articles in each stateReturns how many articles there are in each column of the board. A column is one state.
- get/v1/articles/board/{status}List the articles of one board columnReturns the articles in one state, page by page. Send nextCursor back as cursor to get the next page.
- get/v1/articles/overviewShow article numbers for a time rangeReturns the numbers of your articles for the days you pick: published articles, views, reads, clicks and leads, the best articles and the articles that lose readers.
- patch/v1/articles/{article}/visibilityShow or hide an articleShows or hides the article on your website. The state stays the same. A hidden article answers 404 on the website. When the article belongs to a campaign, a key also needs campaigns.write.
- patch/v1/articles/{article}/stateMove an article to another stateMoves the article on. Allowed steps: from drafted to approved or rejected, from rejected to approved, and from approved to rejected. Other steps are refused with 422 and a message. A scheduled or published article cannot change here and you get 422 too; use publications.
- patch/v1/articles/bulk-stateMove many articles to one stateMoves each article like the single state change does, one after another. The same steps are allowed. When one article cannot move, because it is scheduled or published or the step is not allowed, the request stops with 422 and a message, and no article changes. When one of the articles belongs to…
- patch/v1/articles/{article}/fieldsChange some fields of an articleChanges only the fields you send. Text fields change the text in locale, or the main text when you leave it out. The state does not change.
- post/v1/articlesCreate an articleCreates an article with its first text. You become one of the people assigned to it. When you send campaignId, the article joins that campaign.
- get/v1/articles/{article}Show one articleReturns the article with its main text, its tags, its category and its author.
- put/v1/articles/{article}Change a whole articleReplaces the article and one of its texts. Send every field, not just the changed ones. tagIds replaces the tags only when you send it.
- delete/v1/articles/{article}Delete an articleMoves the article to the trash. Its page on your website answers 410 Gone from then on. When the article belongs to a campaign, a key also needs campaigns.write.