File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ Use `define-list-client` macro to define functions for list-type content.
21
21
The JSON response from the microCMS API are automatically converted into plist, with keys transformed from camelCase to kebab-case.
22
22
23
23
``` lisp
24
- (microcms:define-list-client article )
24
+ (microcms:define-list-client articles )
25
25
```
26
26
This will generate the following functions:
27
27
28
28
| Function Name | Arguments | Description |
29
29
| ---------------| -----------| -------------|
30
- | ` get-article -list ` | (&key ` query ` ) | Get a list of articles. |
31
- | ` get-article -detail ` | (` id ` , &key ` query ` ) | Get details of a specific article by ID. |
32
- | ` create-article ` | (` content ` , &key ` query ` ) | Create a new article with the given content. |
33
- | ` update-article ` | (` id ` , ` content ` ) | Update an existing article by its ID with new content. |
34
- | ` delete-article ` | (` id ` ) | Delete an article by its ID. |
30
+ | ` get-articles -list ` | (&key ` query ` ) | Get a list of articles. |
31
+ | ` get-articles -detail ` | (` id ` , &key ` query ` ) | Get details of a specific article by ID. |
32
+ | ` create-articles ` | (` content ` , &key ` query ` ) | Create a new article with the given content. |
33
+ | ` update-articles ` | (` id ` , ` content ` ) | Update an existing article by its ID with new content. |
34
+ | ` delete-articles ` | (` id ` ) | Delete an article by its ID. |
35
35
36
36
### Object Type Endpoint
37
37
You can’t perform that action at this time.
0 commit comments