Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Creates a new article and revision with given content. The created revision is in draft state. The body can be specified either in blocks-formatted object ( |
Request
Query (empty)
Body
TypeScript
Response
TypeScript
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Creates a new draft revision to an article. The body can be specified either in blocks-formatted object ( |
Request
Query (empty)
Body
TypeScript
Response
TypeScript
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Updates title or other contents of a revision. Only revisions in draft state can be updated (once published, it will become immutable). The body can be specified either in blocks-formatted object ( |
Request
Query (empty)
Body
TypeScript
Response
TypeScript
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Publishes a revision.The published revision becomes the new current version of this article in the language, which will be exposed to the published website.The previously published revision(if any)will become unpublished.Once the revision is published, it is no longer editable. |
Request
Query (empty)
Body
Plaintext// (empty)
Response
TypeScript
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Unpublishes a revision.The revision and article will no longer be exposed int eh published website. |
Request
Query (empty)
Body
Plaintext// (empty)
Response
TypeScript
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Deletes a revision.(You cannot delete a published revision:you should unpublish it first.) |
Request
Query (empty)
Body
Plaintext// (empty)
Response
Plaintext// (empty)
Property | Description |
|---|---|
Method |
|
Path |
|
Accept |
|
Content-Type |
|
Description | Deletes an article and all revisions within the article.You cannot delete an article which has a published revision in any language. |
Request
Query (empty)
Body
Plaintext// (empty)
Response
Plaintext// (empty)