Manage Article Association

Overview

  • This API facilitates link/unlink articles to topic.

Permissions

  • The user must have 'Edit' action on 'Topic' resource.
  • The user sending the request should be from the same or shared department as the topic.
  • The user must have proper permissions to view all the articles specified in the request.
  • Suggestions that are in approval process and personal articles cannot be added through this API.

Preconditions

  • Topic must not be Auto Generated Topic.

Note

  • Either link or unlink attribute must be passed in request body.
SecurityoAuthUser
Request
path Parameters
ID
required
string

Topic ID

Examples:
202200000002268
Request Body schema: application/json
Array of objects (link)
Array of objects (unlink)
required
object (DateAndTime)
Responses
204

No content

400

Bad Request

401

Unauthorized

403

Forbidden

406

Not acceptable

500

Internal server error

put/topics/{ID}/articles
Request samples
application/json
{
  • "link": [
    ],
  • "unlink": [
    ],
  • "lastModified": {
    }
}
Response samples
application/json
{
  • "code": "400-101",
  • "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}