You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,6 +348,8 @@ client
348
348
349
349
By specifying the `isClosed` property, the content can be registered as archived.
350
350
351
+
> **Note:**`isDraft` and `isClosed` are mutually exclusive. Do not pass both as `true`; the SDK rejects that combination at runtime with an error. When using `isClosed: true`, omit `isDraft` or set it to `false` (the default).
352
+
351
353
```javascript
352
354
client
353
355
.create({
@@ -364,7 +366,7 @@ client
364
366
365
367
#### Create closed content with specified ID
366
368
367
-
By specifying the `contentId` and `isClosed` properties, the content can be registered as archived with a specified ID.
369
+
By specifying the `contentId` and `isClosed` properties, the content can be registered as archived with a specified ID. The same rule applies as above: `isDraft` and `isClosed` cannot both be `true`.
0 commit comments