Attach to an existing topic

Your application can create an attachment to an existing topic.

The topic argument in the attachTopic task contains the identifier of the topic. Set the id field of the topicContext argument to the ID of the topic to attach to.

AttachmentInput JSON

To create an attachment to an existing topic use the AttachmentInput value object.


{
    "serviceContext": {
        TopicServiceContext object
    },
    "topicContext":{
        “topicId” ; “number”
    },
    "attachment": {
	AttachmentInput object
    }