Change Article Type

Overview

  • This API allows users to allows users to change article type for one article.

Permissions

  • The requested article must be checked-out by the requesting user in the language requested.
  • As a result of this call, the article type of the last version version of this article will be changed to requested article type.

Precondition

  • The article has to be checked out in the language requested (specified in $lang attribute).
  • The target article type supplied in the request must be different from the current article type.
SecurityoAuthUser
Request
Request Body schema: application/json
required
object (Versions)
id
required
integer (id)
required
object (language)

Language passed in the request must be assigned to user.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Preconditions failed

500

Internal server error

put/articles/changetype
Request samples
application/json
{
  • "id": 409600000002100,
  • "language": {
    },
  • "versions": {
    }
}
Response samples
application/json

Required query parameter is missing

{
  • "code": "400-112",
  • "developerMessage": "Required query parameter(s) is missing. The following parameters are required: <param name>"
}