Skip to content

Commit

Permalink
docs: update readme to include new api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalbert committed Oct 24, 2024
1 parent 82e9416 commit a230a5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ PagesResponse posts = butterClient.getSearchPages(queryParams);
|url|String|
|created|Date|
|published|Date|
|scheduled|Date|
|Author|[Author](#author-class)|
|Categories|List<[Category](#category-class)>|
|Tags|List<[Tag](#tag-class)>|
Expand All @@ -507,6 +508,7 @@ PagesResponse posts = butterClient.getSearchPages(queryParams);
|---|---|
|Draft|1|
|Published|2|
|Scheduled|3|

### PostResponse Class

Expand Down Expand Up @@ -638,10 +640,14 @@ PagesResponse posts = butterClient.getSearchPages(queryParams);
| Property | Type|
|----|---|
|slug| string|
|pageType|string|
|fields|T|
|status|[Status](#status-enum)|
|scheduled|Date|

## Exceptions

### ButterCMSResponseException

General RunTime exception that wraps API error responses

0 comments on commit a230a5a

Please sign in to comment.