diff --git a/doc/swagger.html b/doc/swagger.html index eb5d8ce4..ca6b3ec9 100644 --- a/doc/swagger.html +++ b/doc/swagger.html @@ -1,3 +1,4 @@ + @@ -690,7 +691,7 @@ // Script section to load models into a JS Var var defs = {} defs["Account"] = { - "required" : [ "accountId", "profile" ], + "required" : [ "accountId", "disabled", "profile" ], "type" : "object", "properties" : { "accountId" : { @@ -698,6 +699,41 @@ }, "profile" : { "$ref" : "#/components/schemas/Profile" + }, + "disabled" : { + "type" : "boolean" + } + } +}; + defs["AccountStatus"] = { + "required" : [ "disabled", "forwardingAddress", "searchable", "storageAvailable", "storageUsed" ], + "type" : "object", + "properties" : { + "disabled" : { + "type" : "boolean" + }, + "storageUsed" : { + "type" : "number", + "format" : "int64" + }, + "storageAvailable" : { + "type" : "number", + "format" : "int64" + }, + "forwardingAddress" : { + "type" : "string" + }, + "searchable" : { + "type" : "boolean" + } + } +}; + defs["accounts_import_body"] = { + "type" : "object", + "properties" : { + "fileName" : { + "type" : "string", + "format" : "binary" } } }; @@ -711,22 +747,23 @@ } }; defs["App"] = { - "required" : [ "appData", "appId", "attached" ], + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { - "appId" : { + "id" : { "type" : "string" }, - "appData" : { - "$ref" : "#/components/schemas/AppData" - }, - "attached" : { + "revision" : { "type" : "integer", - "format" : "int32" + "format" : "int64" + }, + "data" : { + "$ref" : "#/components/schemas/AppData" } } }; defs["AppData"] = { + "required" : [ "attached" ], "type" : "object", "properties" : { "name" : { @@ -741,71 +778,65 @@ "image" : { "type" : "string", "format" : "base64 encoded image" + }, + "attached" : { + "type" : "integer", + "format" : "int64" } } }; defs["Article"] = { - "required" : [ "articleId", "labels", "revision", "status", "subject", "tagCount", "tagRevision", "tagUpdated" ], + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { - "articleId" : { + "id" : { "type" : "string" }, "revision" : { "type" : "integer", "format" : "int64" }, + "data" : { + "$ref" : "#/components/schemas/ArticleData" + } + } +}; + defs["ArticleData"] = { + "required" : [ "created", "data", "dataType", "status", "updated" ], + "type" : "object", + "properties" : { + "dataType" : { + "type" : "string" + }, + "data" : { + "type" : "string" + }, + "created" : { + "type" : "integer", + "format" : "int64" + }, + "updated" : { + "type" : "integer", + "format" : "int64" + }, "status" : { "type" : "string", - "enum" : [ "unconfirmed", "confirmed", "complete", "error" ] - }, - "subject" : { - "$ref" : "#/components/schemas/Subject" - }, - "labels" : { - "type" : "array", - "items" : { - "type" : "string" - } + "enum" : [ "unconfirmed", "confirmed", "incomplete", "error" ] }, + "groups" : { + "$ref" : "#/components/schemas/ArticleGroups" + } + } +}; + defs["ArticleGroups"] = { + "required" : [ "groups" ], + "type" : "object", + "properties" : { "groups" : { "type" : "array", "items" : { "type" : "string" } - }, - "tagCount" : { - "type" : "integer", - "format" : "int32" - }, - "tagUpdate" : { - "type" : "integer", - "format" : "int32" - }, - "tagRevision" : { - "type" : "integer", - "format" : "int64" - } - } -}; - defs["articleId_assets_body"] = { - "type" : "object", - "properties" : { - "fileName" : { - "type" : "string", - "format" : "binary" - } - } -}; - defs["articleId_subject_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" } } }; @@ -821,62 +852,74 @@ }, "status" : { "type" : "string", - "enum" : [ "pending", "processing", "ready", "error" ] - } - } -}; - defs["Authenticate"] = { - "required" : [ "did", "timestamp", "token" ], - "type" : "object", - "properties" : { - "token" : { - "type" : "string" - }, - "timestamp" : { - "type" : "integer", - "format" : "int32" + "enum" : [ "pending", "processing", "importing", "ready", "error" ] } } }; defs["Card"] = { - "required" : [ "cardData", "cardId", "cardProfile", "contentRevision", "conversationRevision" ], + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { - "cardId" : { + "id" : { "type" : "string" }, - "cardProfile" : { - "$ref" : "#/components/schemas/CardProfile" - }, - "cardData" : { - "$ref" : "#/components/schemas/CardData" - }, - "contentRevision" : { - "type" : "integer", - "format" : "int64" - }, - "converstaionRevision" : { - "type" : "integer", - "format" : "int64" - } - } -}; - defs["CardData"] = { - "required" : [ "status" ], - "type" : "object", - "properties" : { "revision" : { "type" : "integer", "format" : "int64" }, + "data" : { + "$ref" : "#/components/schemas/CardData" + } + } +}; + defs["CardData"] = { + "required" : [ "detailRevision", "notifiedArticle", "notifiedChannel", "notifiedProfile", "notifiedView", "profileRevision" ], + "type" : "object", + "properties" : { + "detailRevision" : { + "type" : "integer", + "format" : "int64" + }, + "profileRevision" : { + "type" : "integer", + "format" : "int64" + }, + "notifiedProfile" : { + "type" : "integer", + "format" : "int64" + }, + "notifiedArticle" : { + "type" : "integer", + "format" : "int64" + }, + "notifiedChannel" : { + "type" : "integer", + "format" : "int64" + }, + "notifiedView" : { + "type" : "integer", + "format" : "int64" + }, + "cardDetail" : { + "$ref" : "#/components/schemas/CardDetail" + }, + "cardProfile" : { + "$ref" : "#/components/schemas/CardProfile" + } + } +}; + defs["CardDetail"] = { + "required" : [ "status" ], + "type" : "object", + "properties" : { "status" : { "type" : "string", "enum" : [ "pending", "confirmed", "requested", "connecting", "connected" ] }, - "notes" : { + "token" : { "type" : "string" }, - "token" : { + "notes" : { "type" : "string" }, "groups" : { @@ -888,9 +931,12 @@ } }; defs["CardProfile"] = { - "required" : [ "node" ], + "required" : [ "guid", "node" ], "type" : "object", "properties" : { + "guid" : { + "type" : "string" + }, "handle" : { "type" : "string" }, @@ -903,225 +949,19 @@ "location" : { "type" : "string" }, - "revision" : { - "type" : "integer", - "format" : "int64" - }, "imageSet" : { "type" : "boolean" }, + "version" : { + "type" : "string" + }, "node" : { "type" : "string" } } }; - defs["CardView"] = { - "required" : [ "cardId", "cardRevision", "contentRevision", "profileRevision" ], - "type" : "object", - "properties" : { - "cardId" : { - "type" : "string" - }, - "cardRevision" : { - "type" : "integer", - "format" : "int64" - }, - "profileRevision" : { - "type" : "integer", - "format" : "int64" - }, - "contentRevision" : { - "type" : "integer", - "format" : "int64" - }, - "converstaionRevision" : { - "type" : "integer", - "format" : "int64" - } - } -}; - defs["Connect"] = { - "required" : [ "contentRevision", "profile", "requestedId", "requestorId", "timestamp", "token" ], - "type" : "object", - "properties" : { - "requestorcardId" : { - "type" : "string" - }, - "requestedcardId" : { - "type" : "string" - }, - "timestamp" : { - "type" : "integer", - "format" : "int32" - }, - "profile" : { - "$ref" : "#/components/schemas/Profile" - }, - "token" : { - "type" : "string" - }, - "contentRevision" : { - "type" : "integer", - "format" : "int64" - } - } -}; - defs["content_articles_body"] = { - "required" : [ "groups", "labels" ], - "type" : "object", - "properties" : { - "labels" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, - "groups" : { - "type" : "array", - "items" : { - "type" : "string" - } - } - } -}; - defs["content_labels_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } -}; - defs["DataMessage"] = { - "required" : [ "keyType", "message", "messageType", "publicKey", "signature" ], - "type" : "object", - "properties" : { - "messageType" : { - "type" : "string", - "enum" : [ "Connect", "Disconnect", "Profile", "Authenticate" ] - }, - "message" : { - "type" : "string", - "format" : "base64 encoded object" - }, - "keyType" : { - "type" : "string", - "enum" : [ "RSA4096", "RSA2048" ] - }, - "publicKey" : { - "type" : "string", - "format" : "base64 encoding of account key" - }, - "signature" : { - "type" : "string", - "format" : "base64 encoding of message signature" - } - } -}; - defs["Dialogue"] = { - "required" : [ "active", "dialogueId", "insights", "revision", "subject" ], - "type" : "object", - "properties" : { - "dialogueId" : { - "type" : "string" - }, - "revision" : { - "type" : "integer", - "format" : "int64" - }, - "active" : { - "type" : "boolean" - }, - "subject" : { - "$ref" : "#/components/schemas/Subject" - }, - "insights" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Dialogue_insights" - } - } - } -}; - defs["dialogueId_subject_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } -}; - defs["Dialogue_insights"] = { - "type" : "object", - "properties" : { - "cardId" : { - "type" : "string" - }, - "status" : { - "type" : "string", - "enum" : [ "active", "offsync", "inactive", "dismissed" ] - } - } -}; - defs["Disconnect"] = { - "required" : [ "requestedId", "requestorId", "timestamp" ], - "type" : "object", - "properties" : { - "requestorId" : { - "type" : "string" - }, - "requestedId" : { - "type" : "string" - }, - "timestamp" : { - "type" : "integer", - "format" : "int32" - } - } -}; - defs["Group"] = { - "required" : [ "subject" ], - "type" : "object", - "properties" : { - "subject" : { - "$ref" : "#/components/schemas/Subject" - } - } -}; - defs["groups_groupId_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } -}; - defs["inline_response_200"] = { - "required" : [ "status" ], - "type" : "object", - "properties" : { - "token" : { - "type" : "string" - }, - "status" : { - "type" : "string", - "enum" : [ "pending", "confirmed", "requested", "connecting", "connected" ] - } - } -}; - defs["inline_response_200_1"] = { + defs["Channel"] = { + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { "id" : { @@ -1130,76 +970,87 @@ "revision" : { "type" : "integer", "format" : "int64" + }, + "data" : { + "$ref" : "#/components/schemas/ChannelData" } } }; - defs["inline_response_200_2"] = { + defs["ChannelContacts"] = { + "required" : [ "cards", "groups" ], "type" : "object", "properties" : { - "blockId" : { - "type" : "string" + "groups" : { + "type" : "array", + "items" : { + "type" : "string" + } }, - "blockRevision" : { + "cards" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } +}; + defs["ChannelData"] = { + "required" : [ "detailRevision", "topicRevision" ], + "type" : "object", + "properties" : { + "detailRevision" : { "type" : "integer", "format" : "int64" }, - "tag" : { - "$ref" : "#/components/schemas/Tag" - } - } -}; - defs["inline_response_201"] = { - "type" : "object", - "properties" : { - "blockId" : { - "type" : "string" - }, - "blockRevision" : { + "topicRevision" : { "type" : "integer", "format" : "int64" }, - "article" : { - "$ref" : "#/components/schemas/Article" + "channelDetail" : { + "$ref" : "#/components/schemas/ChannelDetail" } } }; - defs["inline_response_201_1"] = { + defs["ChannelDetail"] = { + "required" : [ "created", "data", "dataType", "updated" ], "type" : "object", "properties" : { - "blockId" : { + "dataType" : { "type" : "string" }, - "blockRevision" : { + "data" : { + "type" : "string" + }, + "created" : { "type" : "integer", "format" : "int64" }, - "topic" : { - "$ref" : "#/components/schemas/Topic" - } - } -}; - defs["Insight"] = { - "required" : [ "cardId", "insightId", "revision", "status" ], - "type" : "object", - "properties" : { - "insightId" : { - "type" : "string" - }, - "revision" : { + "updated" : { "type" : "integer", "format" : "int64" }, - "cardId" : { - "type" : "string" + "contacts" : { + "$ref" : "#/components/schemas/ChannelContacts" }, - "status" : { - "type" : "string", - "enum" : [ "active", "inactive", "dismissed" ] + "members" : { + "$ref" : "#/components/schemas/ChannelMembers" } } }; - defs["Label"] = { - "required" : [ "subject" ], + defs["ChannelMembers"] = { + "required" : [ "members" ], + "type" : "object", + "properties" : { + "members" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } +}; + defs["ChannelParams"] = { + "required" : [ "cards", "groups", "subject" ], "type" : "object", "properties" : { "subject" : { @@ -1210,26 +1061,220 @@ "items" : { "type" : "string" } + }, + "cards" : { + "type" : "array", + "items" : { + "type" : "string" + } } } }; - defs["labels_labelId_body"] = { - "required" : [ "data", "type" ], + defs["Claim"] = { + "required" : [ "token" ], "type" : "object", "properties" : { - "type" : { + "token" : { + "type" : "string" + } + } +}; + defs["Connect"] = { + "required" : [ "contact", "token" ], + "type" : "object", + "properties" : { + "contact" : { + "type" : "string" + }, + "token" : { + "type" : "string" + }, + "viewRevision" : { + "type" : "integer", + "format" : "int64" + }, + "articleRevision" : { + "type" : "integer", + "format" : "int64" + }, + "profileRevision" : { + "type" : "integer", + "format" : "int64" + }, + "handle" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "description" : { + "type" : "string" + }, + "location" : { + "type" : "string" + }, + "image" : { + "type" : "string", + "format" : "base64 encoded image" + }, + "version" : { + "type" : "string" + }, + "node" : { + "type" : "string" + } + } +}; + defs["ContactStatus"] = { + "required" : [ "status" ], + "type" : "object", + "properties" : { + "token" : { + "type" : "string" + }, + "profileRevision" : { + "type" : "integer", + "format" : "int64" + }, + "articleRevision" : { + "type" : "integer", + "format" : "int64" + }, + "channelRevision" : { + "type" : "integer", + "format" : "int64" + }, + "viewRevision" : { + "type" : "integer", + "format" : "int64" + }, + "status" : { + "type" : "string", + "enum" : [ "pending", "confirmed", "requested", "connecting", "connected" ] + } + } +}; + defs["DataMessage"] = { + "required" : [ "keyType", "message", "publicKey", "signature", "signatureType" ], + "type" : "object", + "properties" : { + "message" : { + "type" : "string", + "format" : "base64 encoded json string of SignedData" + }, + "keyType" : { + "type" : "string", + "enum" : [ "RSA4096", "RSA2048" ] + }, + "publicKey" : { + "type" : "string", + "format" : "base64 encoding of account public key" + }, + "signature" : { + "type" : "string", + "format" : "base64 encoding of message signature" + }, + "signatureType" : { + "type" : "string", + "enum" : [ "PKCS1v15", "PSS" ] + } + } +}; + defs["Disconnect"] = { + "required" : [ "contact" ], + "type" : "object", + "properties" : { + "contact" : { + "type" : "string" + } + } +}; + defs["Group"] = { + "required" : [ "data", "id", "revision" ], + "type" : "object", + "properties" : { + "id" : { + "type" : "string" + }, + "revision" : { + "type" : "integer", + "format" : "int64" + }, + "data" : { + "$ref" : "#/components/schemas/GroupData" + } + } +}; + defs["GroupData"] = { + "required" : [ "created", "data", "dataType", "updated" ], + "type" : "object", + "properties" : { + "dataType" : { "type" : "string" }, "data" : { "type" : "string" + }, + "created" : { + "type" : "integer", + "format" : "int64" + }, + "updated" : { + "type" : "integer", + "format" : "int64" + } + } +}; + defs["Identity"] = { + "required" : [ "node", "revision", "version" ], + "type" : "object", + "properties" : { + "revision" : { + "type" : "integer", + "format" : "int64" + }, + "handle" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "description" : { + "type" : "string" + }, + "location" : { + "type" : "string" + }, + "image" : { + "type" : "string", + "format" : "base64 encoded image" + }, + "version" : { + "type" : "string" + }, + "node" : { + "type" : "string" + } + } +}; + defs["NodeConfig"] = { + "required" : [ "accountStorage", "domain", "publicLimit" ], + "type" : "object", + "properties" : { + "domain" : { + "type" : "string" + }, + "accountStorage" : { + "type" : "integer", + "format" : "int64" } } }; defs["Profile"] = { - "required" : [ "did", "node", "revision" ], + "required" : [ "guid", "node", "revision" ], "type" : "object", "properties" : { - "did" : { + "guid" : { "type" : "string" }, "handle" : { @@ -1263,9 +1308,6 @@ defs["ProfileData"] = { "type" : "object", "properties" : { - "handle" : { - "type" : "string" - }, "name" : { "type" : "string" }, @@ -1274,17 +1316,61 @@ }, "location" : { "type" : "string" - }, - "image" : { - "type" : "string" } } }; - defs["share_groups_body"] = { - "required" : [ "data", "type" ], + defs["Revision"] = { + "required" : [ "article", "card", "channel", "group", "profile" ], "type" : "object", "properties" : { - "type" : { + "profile" : { + "type" : "integer", + "format" : "int64" + }, + "article" : { + "type" : "integer", + "format" : "int64" + }, + "group" : { + "type" : "integer", + "format" : "int64" + }, + "channel" : { + "type" : "integer", + "format" : "int64" + }, + "card" : { + "type" : "integer", + "format" : "int64" + } + } +}; + defs["SignedData"] = { + "required" : [ "guid", "messageType", "timestamp", "value" ], + "type" : "object", + "properties" : { + "guid" : { + "type" : "string" + }, + "timestamp" : { + "type" : "integer", + "format" : "int64" + }, + "messageType" : { + "type" : "string", + "enum" : [ "Connect", "Disconnect", "Identity", "Authenticate" ] + }, + "value" : { + "type" : "string", + "format" : "json string of Connect, Disconnect, Authenticate, or Profile" + } + } +}; + defs["Subject"] = { + "required" : [ "data", "dataType" ], + "type" : "object", + "properties" : { + "dataType" : { "type" : "string" }, "data" : { @@ -1292,52 +1378,30 @@ } } }; - defs["Status"] = { - "required" : [ "card", "content", "dialogue", "insight", "label", "profile", "share", "view" ], + defs["Tag"] = { + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { - "profile" : { - "type" : "integer", - "format" : "int64" - }, - "content" : { - "type" : "integer", - "format" : "int64" - }, - "label" : { - "type" : "integer", - "format" : "int64" - }, - "share" : { - "type" : "integer", - "format" : "int64" - }, - "card" : { - "type" : "integer", - "format" : "int64" - }, - "dialogue" : { - "type" : "integer", - "format" : "int64" - }, - "insight" : { - "type" : "integer", - "format" : "int64" - } - } -}; - defs["Subject"] = { - "required" : [ "created", "data", "modified", "revision", "subjectId", "type" ], - "type" : "object", - "properties" : { - "subjectId" : { + "id" : { "type" : "string" }, "revision" : { "type" : "integer", "format" : "int64" }, - "type" : { + "data" : { + "$ref" : "#/components/schemas/TagData" + } + } +}; + defs["TagData"] = { + "required" : [ "created", "data", "dataType", "guid", "updated" ], + "type" : "object", + "properties" : { + "guid" : { + "type" : "string" + }, + "dataType" : { "type" : "string" }, "data" : { @@ -1345,51 +1409,75 @@ }, "created" : { "type" : "integer", - "format" : "int32" - } - } -}; - defs["Tag"] = { - "required" : [ "cardId", "subject" ], - "type" : "object", - "properties" : { - "cardId" : { - "type" : "string" + "format" : "int64" }, - "subject" : { - "$ref" : "#/components/schemas/Subject" + "updated" : { + "type" : "integer", + "format" : "int64" } } }; defs["Topic"] = { - "required" : [ "revision", "status", "subject", "tagCount", "tagRevision", "tagUpdated", "topicId" ], + "required" : [ "data", "id", "revision" ], "type" : "object", "properties" : { - "articleId" : { + "id" : { "type" : "string" }, "revision" : { "type" : "integer", "format" : "int64" }, - "status" : { - "type" : "string", - "enum" : [ "unconfirmed", "confirmed", "complete", "error" ] - }, - "subject" : { - "$ref" : "#/components/schemas/Subject" - }, - "tagCount" : { + "data" : { + "$ref" : "#/components/schemas/TopicData" + } + } +}; + defs["TopicData"] = { + "required" : [ "detailRevision", "tagRevision" ], + "type" : "object", + "properties" : { + "detailRevision" : { "type" : "integer", - "format" : "int32" - }, - "tagUpdate" : { - "type" : "integer", - "format" : "int32" + "format" : "int64" }, "tagRevision" : { "type" : "integer", "format" : "int64" + }, + "topicDetail" : { + "$ref" : "#/components/schemas/TopicDetail" + } + } +}; + defs["TopicDetail"] = { + "required" : [ "created", "data", "dataType", "guid", "status", "updated" ], + "type" : "object", + "properties" : { + "guid" : { + "type" : "string" + }, + "dataType" : { + "type" : "string" + }, + "data" : { + "type" : "string" + }, + "created" : { + "type" : "integer", + "format" : "int64" + }, + "updated" : { + "type" : "integer", + "format" : "int64" + }, + "status" : { + "type" : "string", + "enum" : [ "unconfirmed", "confirmed" ] + }, + "transform" : { + "type" : "string", + "enum" : [ "complete", "incomplete" ] } } }; @@ -1401,45 +1489,6 @@ "format" : "binary" } } -}; - defs["topicId_subject_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } -}; - defs["topicId_tags_body"] = { - "required" : [ "data", "type" ], - "type" : "object", - "properties" : { - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } -}; - defs["Tunnel"] = { - "required" : [ "cardId", "type" ], - "type" : "object", - "properties" : { - "cardId" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "data" : { - "type" : "string" - } - } }; @@ -1470,18 +1519,30 @@
  • getAccountApps
  • +
  • + getAccountAsset +
  • getAccountImage
  • +
  • + getAccountListing +
  • getAccountProfile
  • +
  • + getAccountStatus +
  • getAccountToken
  • getAccountUsername
  • +
  • + removeAccount +
  • removeAccountApp
  • @@ -1491,6 +1552,15 @@
  • setAccountAuthentication
  • +
  • + setAccountExport +
  • +
  • + setAccountNode +
  • +
  • + setAccountSeachable +
  • addNodeAccount @@ -1501,8 +1571,14 @@
  • getNodeAccounts
  • -
  • - getNodeClaimable +
  • + getNodeConfig +
  • +
  • + getNodeStatus +
  • +
  • + import_account
  • removeNodeAccount @@ -1513,12 +1589,50 @@
  • setNodeConfig
  • -
  • - setNodeConfigDomain +
  • + setNodeStatus
  • - -
  • - authenticate +
  • +
  • + addGroup +
  • +
  • + getGroupSubjectField +
  • +
  • + getGroups +
  • +
  • + removeGroup +
  • +
  • + setGroupSubject +
  • + +
  • + addArticle +
  • +
  • + clearArticleGroup +
  • +
  • + getArticleSubjectField +
  • +
  • + getArticles +
  • +
  • + removeArticle +
  • +
  • + setArticleGroup +
  • +
  • + setArticleSubject +
  • + +
  • + authorize
  • @@ -1530,11 +1644,8 @@
  • clearCardNotes
  • -
  • - getCard -
  • -
  • - getCardData +
  • + getCardDetail
  • getCardProfile @@ -1542,8 +1653,8 @@
  • getCardProfileImage
  • -
  • - getCardView +
  • + getCards
  • getCloseMessage @@ -1554,6 +1665,9 @@
  • removeCard
  • +
  • + setArticleRevision +
  • setCardGroup
  • @@ -1566,205 +1680,102 @@
  • setCardStatus
  • +
  • + setChannelRevision +
  • setCloseMessage
  • -
  • - setContentRevision -
  • setOpenMessage
  • setProfileRevision
  • +
  • + setViewRevision +
  • -
  • - addArticle +
  • + addChannel
  • -
  • - addArticleAsset +
  • + addChannelTopic
  • -
  • - addArticleTag +
  • + addChannelTopicAsset
  • -
  • - addLabel +
  • + addChannelTopicTag
  • -
  • - clearArticleGroup +
  • + clearChannelCard
  • -
  • - clearArticleLabel +
  • + clearChannelGroup
  • -
  • - clearLabelGroup +
  • + getChannel
  • -
  • - getArticle +
  • + getChannelSubjectField
  • -
  • - getArticleAsset +
  • + getChannelTopic
  • -
  • - getArticleAssets +
  • + getChannelTopicAsset
  • -
  • - getArticleBlockView +
  • + getChannelTopicAssets
  • -
  • - getArticleSubjectField +
  • + getChannelTopicDetail
  • -
  • - getArticleTag +
  • + getChannelTopicSubjectField
  • -
  • - getArticleTagBlockView +
  • + getChannelTopicTagSubjectField
  • -
  • - getArticleTagSubjectField +
  • + getChannelTopicTags
  • -
  • - getArticleTagView +
  • + getChannelTopics
  • -
  • - getArticleTags +
  • + getChannels
  • -
  • - getArticleViews +
  • + removeChannel
  • -
  • - getArticles +
  • + removeChannelTopic
  • -
  • - getLabels +
  • + removeChannelTopicAsset
  • -
  • - removeArticle +
  • + removeChannelTopicTag
  • -
  • - removeArticleAsset +
  • + setChannelCard
  • -
  • - removeArticleTag +
  • + setChannelGroup
  • -
  • - removeLabel +
  • + setChannelSubject
  • -
  • - setArticleConfirmed +
  • + setChannelTopicConfirmed
  • -
  • - setArticleGroup +
  • + setChannelTopicSubject
  • -
  • - setArticleLabel -
  • -
  • - setArticleSubject -
  • -
  • - setLabelGroup -
  • -
  • - updateLabel -
  • - -
  • - addDialogue -
  • -
  • - addDialogueInsight -
  • -
  • - addDialogueTopic -
  • -
  • - addInsightDialogue -
  • -
  • - addTopicAsset -
  • -
  • - addTopicTag -
  • -
  • - conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut -
  • -
  • - getDialogueTopic -
  • -
  • - getDialogueTopicSubjectField -
  • -
  • - getDialogues -
  • -
  • - getInsights -
  • -
  • - getTopicAsset -
  • -
  • - getTopicAssets -
  • -
  • - getTopicBlock -
  • -
  • - getTopicBlockView -
  • -
  • - getTopicTag -
  • -
  • - getTopicTagBlockView -
  • -
  • - getTopicTagSubjectField -
  • -
  • - getTopicTagView -
  • -
  • - getTopicTags -
  • -
  • - getTopicViews -
  • -
  • - removeDialogue -
  • -
  • - removeDialogueInsight -
  • -
  • - removeDialogueTopic -
  • -
  • - removeTopicAsset -
  • -
  • - removeTopicTag -
  • -
  • - setDialogueActive -
  • -
  • - setDialogueInsightStatus -
  • -
  • - setDialogueSubject -
  • -
  • - setInsightDialogue -
  • -
  • - setInsightStatus -
  • -
  • - setTopicSubject +
  • + setChannelTopicTagSubject
  • @@ -1779,18 +1790,8 @@
  • setProfile
  • - -
  • - addGroup -
  • -
  • - getGroups -
  • -
  • - removeGroup -
  • -
  • - updateGroup +
  • + setProfileImage
  • @@ -1870,10 +1871,10 @@ public class AccountApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - // Configure HTTP basic authorization: basicAuth - HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); - basicAuth.setUsername("YOUR USERNAME"); - basicAuth.setPassword("YOUR PASSWORD"); + // Configure HTTP basic authorization: basicCredentials + HttpBasicAuth basicCredentials = (HttpBasicAuth) defaultClient.getAuthentication("basicCredentials"); + basicCredentials.setUsername("YOUR USERNAME"); + basicCredentials.setPassword("YOUR PASSWORD"); AccountApi apiInstance = new AccountApi(); @@ -1911,7 +1912,7 @@ public class AccountApiExample { -->
    Configuration *apiConfig = [Configuration sharedConfig];
    -// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +// Configure HTTP basic authorization (authentication scheme: basicCredentials)
     [apiConfig setUsername:@"YOUR_USERNAME"];
     [apiConfig setPassword:@"YOUR_PASSWORD"];
     
    @@ -1932,10 +1933,10 @@ AccountApi *apiInstance = [[AccountApi alloc] init];
                                 
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
    -// Configure HTTP basic authorization: basicAuth
    -var basicAuth = defaultClient.authentications['basicAuth'];
    -basicAuth.username = 'YOUR USERNAME'
    -basicAuth.password = 'YOUR PASSWORD'
    +// Configure HTTP basic authorization: basicCredentials
    +var basicCredentials = defaultClient.authentications['basicCredentials'];
    +basicCredentials.username = 'YOUR USERNAME'
    +basicCredentials.password = 'YOUR PASSWORD'
     
     
     var api = new DataBag.AccountApi()
    @@ -1966,7 +1967,7 @@ namespace Example
         {
             public void main()
             {
    -            // Configure HTTP basic authorization: basicAuth
    +            // Configure HTTP basic authorization: basicCredentials
                 Configuration.Default.Username = "YOUR_USERNAME";
                 Configuration.Default.Password = "YOUR_PASSWORD";
     
    @@ -1990,7 +1991,7 @@ namespace Example
                                 
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
    -// Configure HTTP basic authorization: basicAuth
    +// Configure HTTP basic authorization: basicCredentials
     Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
     Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
     
    @@ -2009,7 +2010,7 @@ try {
                                   
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::AccountApi;
    -# Configure HTTP basic authorization: basicAuth
    +# Configure HTTP basic authorization: basicCredentials
     $WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
     $WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
     
    @@ -2030,7 +2031,7 @@ import time
     import swagger_client
     from swagger_client.rest import ApiException
     from pprint import pprint
    -# Configure HTTP basic authorization: basicAuth
    +# Configure HTTP basic authorization: basicCredentials
     swagger_client.configuration.username = 'YOUR_USERNAME'
     swagger_client.configuration.password = 'YOUR_PASSWORD'
     
    @@ -2109,7 +2110,7 @@ except ApiException as e:
                                 
    -

    Status: 401 - invalid bearer token

    +

    Status: 401 - permission denied

    @@ -2416,6 +2417,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error


    +
    +
    +
    +

    getAccountAsset

    +

    +
    +
    +
    +

    +

    Get asset assigned to an account. The endpoint supports byte-range requests and responds with the content-type set appropriatly. Access granted to the app tokens of the account holder and in the case of non-original assets, the contact token for accounts with which the article is shared.

    +

    +
    +
    /account/assets/{assetId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Basic [[basicHash]]"\
    +-H "Accept: application/octet-stream"\
    +"//account/assets/{assetId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        String assetId = assetId_example; // String | specified asset id
    +        try {
    +            byte[] result = apiInstance.getAccountAsset(assetId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        String assetId = assetId_example; // String | specified asset id
    +        try {
    +            byte[] result = apiInstance.getAccountAsset(assetId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +String *assetId = assetId_example; // specified asset id
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance getAccountAssetWith:assetId
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var assetId = assetId_example; // {{String}} specified asset id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getAccountAsset(assetId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getAccountAssetExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +            var assetId = assetId_example;  // String | specified asset id
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getAccountAsset(assetId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.getAccountAsset: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +$assetId = assetId_example; // String | specified asset id
    +
    +try {
    +    $result = $api_instance->getAccountAsset($assetId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->getAccountAsset: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +my $assetId = assetId_example; # String | specified asset id
    +
    +eval { 
    +    my $result = $api_instance->getAccountAsset(assetId => $assetId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->getAccountAsset: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +assetId = assetId_example # String | specified asset id
    +
    +try: 
    +    api_response = api_instance.get_account_asset(assetId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AccountApi->getAccountAsset: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    assetId* + + +
    +
    +
    + + String + + +
    + specified asset id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - asset or article not found

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    @@ -3336,6 +3691,327 @@ except ApiException as e:

    +
    +
    +
    +

    getAccountListing

    +

    +
    +
    +
    +

    +

    Get profile of searchable accounts. Endpoint is publically accessible.

    +

    +
    +
    /account/listing
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//account/listing?guid="
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AccountApi apiInstance = new AccountApi();
    +        String guid = guid_example; // String | filter for specified guid
    +        try {
    +            array[Profile] result = apiInstance.getAccountListing(guid);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountListing");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        String guid = guid_example; // String | filter for specified guid
    +        try {
    +            array[Profile] result = apiInstance.getAccountListing(guid);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountListing");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *guid = guid_example; // filter for specified guid (optional)
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance getAccountListingWith:guid
    +              completionHandler: ^(array[Profile] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AccountApi()
    +var opts = { 
    +  'guid': guid_example // {{String}} filter for specified guid
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getAccountListing(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getAccountListingExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AccountApi();
    +            var guid = guid_example;  // String | filter for specified guid (optional) 
    +
    +            try
    +            {
    +                array[Profile] result = apiInstance.getAccountListing(guid);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.getAccountListing: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +$guid = guid_example; // String | filter for specified guid
    +
    +try {
    +    $result = $api_instance->getAccountListing($guid);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->getAccountListing: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +my $guid = guid_example; # String | filter for specified guid
    +
    +eval { 
    +    my $result = $api_instance->getAccountListing(guid => $guid);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->getAccountListing: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +guid = guid_example # String | filter for specified guid (optional)
    +
    +try: 
    +    api_response = api_instance.get_account_listing(guid=guid)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AccountApi->getAccountListing: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + +
    Query parameters
    + + + + + + + + +
    NameDescription
    guid + + +
    +
    +
    + + String + + +
    + filter for specified guid +
    +
    +
    +
    +
    + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    @@ -3634,6 +4310,304 @@ except ApiException as e:

    +
    +
    +
    +

    getAccountStatus

    +

    +
    +
    +
    +

    +

    Get disabled status of account. Authorized to account username and password.

    +

    +
    +
    /account/status
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Basic [[basicHash]]"\
    +-H "Accept: application/json"\
    +"//account/status"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            AccountStatus result = apiInstance.getAccountStatus();
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountStatus");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            AccountStatus result = apiInstance.getAccountStatus();
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#getAccountStatus");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance getAccountStatusWithCompletionHandler: 
    +              ^(AccountStatus output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getAccountStatus(callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getAccountStatusExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +
    +            try
    +            {
    +                AccountStatus result = apiInstance.getAccountStatus();
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.getAccountStatus: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +
    +try {
    +    $result = $api_instance->getAccountStatus();
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->getAccountStatus: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +
    +eval { 
    +    my $result = $api_instance->getAccountStatus();
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->getAccountStatus: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +
    +try: 
    +    api_response = api_instance.get_account_status()
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AccountApi->getAccountStatus: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + + +

    Responses

    +

    Status: 200 - successful operation

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - authentication error

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    @@ -3668,6 +4642,7 @@ except ApiException as e:
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
     "//account/token"
    @@ -3687,7 +4662,8 @@ public class AccountApiExample { AccountApi apiInstance = new AccountApi(); try { - apiInstance.getAccountToken(); + 'String' result = apiInstance.getAccountToken(); + System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AccountApi#getAccountToken"); e.printStackTrace(); @@ -3704,7 +4680,8 @@ public class AccountApiExample { public static void main(String[] args) { AccountApi apiInstance = new AccountApi(); try { - apiInstance.getAccountToken(); + 'String' result = apiInstance.getAccountToken(); + System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AccountApi#getAccountToken"); e.printStackTrace(); @@ -3722,7 +4699,10 @@ public class AccountApiExample { AccountApi *apiInstance = [[AccountApi alloc] init]; [apiInstance getAccountTokenWithCompletionHandler: - ^(NSError* error) { + ^('String' output, NSError* error) { + if (output) { + NSLog(@"%@", output); + } if (error) { NSLog(@"Error: %@", error); } @@ -3740,7 +4720,7 @@ var callback = function(error, data, response) { if (error) { console.error(error); } else { - console.log('API called successfully.'); + console.log('API called successfully. Returned data: ' + data); } }; api.getAccountToken(callback); @@ -3769,7 +4749,8 @@ namespace Example try { - apiInstance.getAccountToken(); + 'String' result = apiInstance.getAccountToken(); + Debug.WriteLine(result); } catch (Exception e) { @@ -3789,7 +4770,8 @@ require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiAccountApi(); try { - $api_instance->getAccountToken(); + $result = $api_instance->getAccountToken(); + print_r($result); } catch (Exception $e) { echo 'Exception when calling AccountApi->getAccountToken: ', $e->getMessage(), PHP_EOL; } @@ -3805,7 +4787,8 @@ use WWW::SwaggerClient::AccountApi; my $api_instance = WWW::SwaggerClient::AccountApi->new(); eval { - $api_instance->getAccountToken(); + my $result = $api_instance->getAccountToken(); + print Dumper($result); }; if ($@) { warn "Exception when calling AccountApi->getAccountToken: $@\n"; @@ -3824,7 +4807,8 @@ from pprint import pprint api_instance = swagger_client.AccountApi() try: - api_instance.get_account_token() + api_response = api_instance.get_account_token() + pprint(api_response) except ApiException as e: print("Exception when calling AccountApi->getAccountToken: %s\n" % e)
    @@ -3841,9 +4825,50 @@ except ApiException as e:

    Status: 200 - success

    +
    +
    + +
    + +

    Status: 401 - permission denied

    @@ -3877,7 +4902,7 @@ except ApiException as e:

    Check if username is available. Access granted account reset token or account create token.


    -
    /account/claimable
    +
    /account/available

    Usage and SDK Samples

    @@ -3899,7 +4924,8 @@ except ApiException as e:
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
    -"//account/claimable?username="
    +-H "Accept: application/json"\ +"//account/available?username="
    import io.swagger.client.*;
    @@ -3919,7 +4945,8 @@ public class AccountApiExample {
             AccountApi apiInstance = new AccountApi();
             String username = username_example; // String | username to check
             try {
    -            apiInstance.getAccountUsername(username);
    +            'Boolean' result = apiInstance.getAccountUsername(username);
    +            System.out.println(result);
             } catch (ApiException e) {
                 System.err.println("Exception when calling AccountApi#getAccountUsername");
                 e.printStackTrace();
    @@ -3937,7 +4964,8 @@ public class AccountApiExample {
             AccountApi apiInstance = new AccountApi();
             String username = username_example; // String | username to check
             try {
    -            apiInstance.getAccountUsername(username);
    +            'Boolean' result = apiInstance.getAccountUsername(username);
    +            System.out.println(result);
             } catch (ApiException e) {
                 System.err.println("Exception when calling AccountApi#getAccountUsername");
                 e.printStackTrace();
    @@ -3956,7 +4984,10 @@ String *username = username_example; // username to check
     AccountApi *apiInstance = [[AccountApi alloc] init];
     
     [apiInstance getAccountUsernameWith:username
    -              completionHandler: ^(NSError* error) {
    +              completionHandler: ^('Boolean' output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
                                 if (error) {
                                     NSLog(@"Error: %@", error);
                                 }
    @@ -3976,7 +5007,7 @@ var callback = function(error, data, response) {
       if (error) {
         console.error(error);
       } else {
    -    console.log('API called successfully.');
    +    console.log('API called successfully. Returned data: ' + data);
       }
     };
     api.getAccountUsername(username, callback);
    @@ -4006,7 +5037,8 @@ namespace Example
     
                 try
                 {
    -                apiInstance.getAccountUsername(username);
    +                'Boolean' result = apiInstance.getAccountUsername(username);
    +                Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    @@ -4027,7 +5059,8 @@ $api_instance = new Swagger\Client\ApiAccountApi();
     $username = username_example; // String | username to check
     
     try {
    -    $api_instance->getAccountUsername($username);
    +    $result = $api_instance->getAccountUsername($username);
    +    print_r($result);
     } catch (Exception $e) {
         echo 'Exception when calling AccountApi->getAccountUsername: ', $e->getMessage(), PHP_EOL;
     }
    @@ -4044,7 +5077,8 @@ my $api_instance = WWW::SwaggerClient::AccountApi->new();
     my $username = username_example; # String | username to check
     
     eval { 
    -    $api_instance->getAccountUsername(username => $username);
    +    my $result = $api_instance->getAccountUsername(username => $username);
    +    print Dumper($result);
     };
     if ($@) {
         warn "Exception when calling AccountApi->getAccountUsername: $@\n";
    @@ -4064,7 +5098,8 @@ api_instance = swagger_client.AccountApi()
     username = username_example # String | username to check
     
     try: 
    -    api_instance.get_account_username(username)
    +    api_response = api_instance.get_account_username(username)
    +    pprint(api_response)
     except ApiException as e:
         print("Exception when calling AccountApi->getAccountUsername: %s\n" % e)
    @@ -4110,9 +5145,50 @@ except ApiException as e:

    Status: 200 - success

    +
    +
    + +
    + +

    Status: 401 - permission denied

    @@ -4123,7 +5199,247 @@ except ApiException as e:
    -

    Status: 406 - username already claimed

    +

    Status: 500 - internal server error

    + + + +
    +
    + + + +
    +
    +
    +
    +

    removeAccount

    +

    +
    +
    +
    +

    +

    Delete account. Access granted to valid create account token.

    +

    +
    +
    /account/profile
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X DELETE\
    + -H "Authorization: Basic [[basicHash]]"\
    +"//account/profile"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            apiInstance.removeAccount();
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#removeAccount");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            apiInstance.removeAccount();
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#removeAccount");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance removeAccountWithCompletionHandler: 
    +              ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.removeAccount(callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class removeAccountExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +
    +            try
    +            {
    +                apiInstance.removeAccount();
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.removeAccount: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +
    +try {
    +    $api_instance->removeAccount();
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->removeAccount: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +
    +eval { 
    +    $api_instance->removeAccount();
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->removeAccount: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +
    +try: 
    +    api_instance.remove_account()
    +except ApiException as e:
    +    print("Exception when calling AccountApi->removeAccount: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + + +

    Responses

    +

    Status: 201 - successful operation

    + + + +
    +
    + +

    Status: 401 - permission denied

    @@ -4425,6 +5741,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error


    +
    +
    +
    +

    setAccountExport

    +

    +
    +
    +
    +

    +

    Export account from node. Account is automatically disabled afterwards. Authorized to account username and password.

    +

    +
    +
    /account/export
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Basic [[basicHash]]"\
    +"//account/export"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            apiInstance.setAccountExport();
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountExport");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        try {
    +            apiInstance.setAccountExport();
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountExport");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance setAccountExportWithCompletionHandler: 
    +              ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setAccountExport(callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setAccountExportExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +
    +            try
    +            {
    +                apiInstance.setAccountExport();
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.setAccountExport: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +
    +try {
    +    $api_instance->setAccountExport();
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->setAccountExport: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +
    +eval { 
    +    $api_instance->setAccountExport();
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->setAccountExport: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +
    +try: 
    +    api_instance.set_account_export()
    +except ApiException as e:
    +    print("Exception when calling AccountApi->setAccountExport: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + + +

    Responses

    +

    Status: 201 - success

    + + + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setAccountNode

    +

    +
    +
    +
    +

    +

    Set forwarding address after export/import has completed. Access granted to valid reset token.

    +

    +
    +
    /account/node
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Basic [[basicHash]]"\
    +-H "Content-Type: application/json"\
    +"//account/node"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        String body = ; // String | 
    +        try {
    +            apiInstance.setAccountNode(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountNode");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        String body = ; // String | 
    +        try {
    +            apiInstance.setAccountNode(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountNode");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +String *body = ; //  (optional)
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance setAccountNodeWith:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var opts = { 
    +  'body':  // {{String}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setAccountNode(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setAccountNodeExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +            var body = new String(); // String |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setAccountNode(body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.setAccountNode: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +$body = ; // String | 
    +
    +try {
    +    $api_instance->setAccountNode($body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->setAccountNode: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +my $body = WWW::SwaggerClient::Object::String->new(); # String | 
    +
    +eval { 
    +    $api_instance->setAccountNode(body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->setAccountNode: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +body =  # String |  (optional)
    +
    +try: 
    +    api_instance.set_account_node(body=body)
    +except ApiException as e:
    +    print("Exception when calling AccountApi->setAccountNode: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 201 - success

    + + + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 405 - failed to confirm

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setAccountSeachable

    +

    +
    +
    +
    +

    +

    Set whether account is publicly listed.

    +

    +
    +
    /account/searchable
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Basic [[basicHash]]"\
    +-H "Content-Type: application/json"\
    +"//account/searchable"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AccountApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +        // Configure HTTP basic authorization: basicAuth
    +        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
    +        basicAuth.setUsername("YOUR USERNAME");
    +        basicAuth.setPassword("YOUR PASSWORD");
    +
    +        AccountApi apiInstance = new AccountApi();
    +        Boolean body = ; // Boolean | 
    +        try {
    +            apiInstance.setAccountSeachable(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountSeachable");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AccountApi;
    +
    +public class AccountApiExample {
    +
    +    public static void main(String[] args) {
    +        AccountApi apiInstance = new AccountApi();
    +        Boolean body = ; // Boolean | 
    +        try {
    +            apiInstance.setAccountSeachable(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AccountApi#setAccountSeachable");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +// Configure HTTP basic authorization (authentication scheme: basicAuth)
    +[apiConfig setUsername:@"YOUR_USERNAME"];
    +[apiConfig setPassword:@"YOUR_PASSWORD"];
    +Boolean *body = ; //  (optional)
    +
    +AccountApi *apiInstance = [[AccountApi alloc] init];
    +
    +[apiInstance setAccountSeachableWith:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +// Configure HTTP basic authorization: basicAuth
    +var basicAuth = defaultClient.authentications['basicAuth'];
    +basicAuth.username = 'YOUR USERNAME'
    +basicAuth.password = 'YOUR PASSWORD'
    +
    +var api = new DataBag.AccountApi()
    +var opts = { 
    +  'body':  // {{Boolean}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setAccountSeachable(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setAccountSeachableExample
    +    {
    +        public void main()
    +        {
    +            // Configure HTTP basic authorization: basicAuth
    +            Configuration.Default.Username = "YOUR_USERNAME";
    +            Configuration.Default.Password = "YOUR_PASSWORD";
    +
    +            var apiInstance = new AccountApi();
    +            var body = new Boolean(); // Boolean |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setAccountSeachable(body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AccountApi.setAccountSeachable: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +// Configure HTTP basic authorization: basicAuth
    +Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
    +Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
    +
    +$api_instance = new Swagger\Client\ApiAccountApi();
    +$body = ; // Boolean | 
    +
    +try {
    +    $api_instance->setAccountSeachable($body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AccountApi->setAccountSeachable: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AccountApi;
    +# Configure HTTP basic authorization: basicAuth
    +$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
    +$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
    +
    +my $api_instance = WWW::SwaggerClient::AccountApi->new();
    +my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean | 
    +
    +eval { 
    +    $api_instance->setAccountSeachable(body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling AccountApi->setAccountSeachable: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +# Configure HTTP basic authorization: basicAuth
    +swagger_client.configuration.username = 'YOUR_USERNAME'
    +swagger_client.configuration.password = 'YOUR_PASSWORD'
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AccountApi()
    +body =  # Boolean |  (optional)
    +
    +try: 
    +    api_instance.set_account_seachable(body=body)
    +except ApiException as e:
    +    print("Exception when calling AccountApi->setAccountSeachable: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 201 - success

    + + + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 405 - failed to confirm

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +

    Admin

    @@ -5264,7 +7462,7 @@ except ApiException as e:

    Responses

    -

    Status: 201 - generated

    +

    Status: 201 - success

    -
    -

    Authenticate

    -
    -
    +
    +

    Attribute

    +
    +
    -

    authenticate

    +

    addArticle

    +

    +
    +
    +
    +

    +

    Add a content article. Access granted to app token of the account holder.

    +

    +
    +
    /attribute/articles
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X POST\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +-H "Content-Type: application/json"\
    +"//attribute/articles"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        Subject body = ; // Subject | 
    +        try {
    +            Article result = apiInstance.addArticle(body);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#addArticle");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        Subject body = ; // Subject | 
    +        try {
    +            Article result = apiInstance.addArticle(body);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#addArticle");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +Subject *body = ; //  (optional)
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance addArticleWith:body
    +              completionHandler: ^(Article output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var opts = { 
    +  'body':  // {{Subject}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.addArticle(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class addArticleExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var body = new Subject(); // Subject |  (optional) 
    +
    +            try
    +            {
    +                Article result = apiInstance.addArticle(body);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.addArticle: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$body = ; // Subject | 
    +
    +try {
    +    $result = $api_instance->addArticle($body);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->addArticle: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
    +
    +eval { 
    +    my $result = $api_instance->addArticle(body => $body);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->addArticle: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +body =  # Subject |  (optional)
    +
    +try: 
    +    api_response = api_instance.add_article(body=body)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->addArticle: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 201 - entry created

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    clearArticleGroup

    +

    +
    +
    +
    +

    +

    Clear sharing group for article. Access granted to app tokens for account holder.

    +

    +
    +
    /attribute/articles/{articleId}/groups/{groupId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X DELETE\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//attribute/articles/{articleId}/groups/{groupId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified card id
    +        String groupId = groupId_example; // String | specified share id
    +        try {
    +            Article result = apiInstance.clearArticleGroup(articleId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#clearArticleGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified card id
    +        String groupId = groupId_example; // String | specified share id
    +        try {
    +            Article result = apiInstance.clearArticleGroup(articleId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#clearArticleGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *articleId = articleId_example; // specified card id
    +String *groupId = groupId_example; // specified share id
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance clearArticleGroupWith:articleId
    +    groupId:groupId
    +              completionHandler: ^(Article output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var articleId = articleId_example; // {{String}} specified card id
    +var groupId = groupId_example; // {{String}} specified share id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.clearArticleGroup(articleId, groupId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class clearArticleGroupExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var articleId = articleId_example;  // String | specified card id
    +            var groupId = groupId_example;  // String | specified share id
    +
    +            try
    +            {
    +                Article result = apiInstance.clearArticleGroup(articleId, groupId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.clearArticleGroup: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$articleId = articleId_example; // String | specified card id
    +$groupId = groupId_example; // String | specified share id
    +
    +try {
    +    $result = $api_instance->clearArticleGroup($articleId, $groupId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->clearArticleGroup: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $articleId = articleId_example; # String | specified card id
    +my $groupId = groupId_example; # String | specified share id
    +
    +eval { 
    +    my $result = $api_instance->clearArticleGroup(articleId => $articleId, groupId => $groupId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->clearArticleGroup: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +articleId = articleId_example # String | specified card id
    +groupId = groupId_example # String | specified share id
    +
    +try: 
    +    api_response = api_instance.clear_article_group(articleId, groupId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->clearArticleGroup: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    articleId* + + +
    +
    +
    + + String + + +
    + specified card id +
    +
    +
    + Required +
    +
    +
    +
    groupId* + + +
    +
    +
    + + String + + +
    + specified share id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getArticleSubjectField

    +

    +
    +
    +
    +

    +

    Base64 decode and download specified field from the article's subject. Access granted to app token of account holder or contact token of account the article is shared with.

    +

    +
    +
    /attribute/articles/{articleId}/subject/{field}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//attribute/articles/{articleId}/subject/{field}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getArticleSubjectField(articleId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#getArticleSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getArticleSubjectField(articleId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#getArticleSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *articleId = articleId_example; // specified article id
    +String *field = field_example; // field from subject to base64 decode and download
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance getArticleSubjectFieldWith:articleId
    +    field:field
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var articleId = articleId_example; // {{String}} specified article id
    +var field = field_example; // {{String}} field from subject to base64 decode and download
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getArticleSubjectField(articleId, field, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getArticleSubjectFieldExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var articleId = articleId_example;  // String | specified article id
    +            var field = field_example;  // String | field from subject to base64 decode and download
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getArticleSubjectField(articleId, field);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.getArticleSubjectField: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$articleId = articleId_example; // String | specified article id
    +$field = field_example; // String | field from subject to base64 decode and download
    +
    +try {
    +    $result = $api_instance->getArticleSubjectField($articleId, $field);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->getArticleSubjectField: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $articleId = articleId_example; # String | specified article id
    +my $field = field_example; # String | field from subject to base64 decode and download
    +
    +eval { 
    +    my $result = $api_instance->getArticleSubjectField(articleId => $articleId, field => $field);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->getArticleSubjectField: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +articleId = articleId_example # String | specified article id
    +field = field_example # String | field from subject to base64 decode and download
    +
    +try: 
    +    api_response = api_instance.get_article_subject_field(articleId, field)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->getArticleSubjectField: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    articleId* + + +
    +
    +
    + + String + + +
    + specified article id +
    +
    +
    + Required +
    +
    +
    +
    field* + + +
    +
    +
    + + String + + +
    + field from subject to base64 decode and download +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - field, article not found

    + + + +
    +
    + +

    Status: 405 - invalid field

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getArticles

    +

    +
    +
    +
    +

    +

    Get article slots that should be updated based on revisions. Access granted to account token or contact token. When the request is made with a contact token the account view revision will be added to the block revision.

    +

    +
    +
    /attribute/articles
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//attribute/articles?viewRevision=&articleRevision=&types="
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String viewRevision = viewRevision_example; // String | view revision from which attribute revision applies
    +        String articleRevision = articleRevision_example; // String | return updated articles since revision
    +        String types = types_example; // String | return only articles of specified types
    +        try {
    +            array[Article] result = apiInstance.getArticles(viewRevision, articleRevision, types);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#getArticles");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String viewRevision = viewRevision_example; // String | view revision from which attribute revision applies
    +        String articleRevision = articleRevision_example; // String | return updated articles since revision
    +        String types = types_example; // String | return only articles of specified types
    +        try {
    +            array[Article] result = apiInstance.getArticles(viewRevision, articleRevision, types);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#getArticles");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *viewRevision = viewRevision_example; // view revision from which attribute revision applies (optional)
    +String *articleRevision = articleRevision_example; // return updated articles since revision (optional)
    +String *types = types_example; // return only articles of specified types (optional)
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance getArticlesWith:viewRevision
    +    articleRevision:articleRevision
    +    types:types
    +              completionHandler: ^(array[Article] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var opts = { 
    +  'viewRevision': viewRevision_example, // {{String}} view revision from which attribute revision applies
    +  'articleRevision': articleRevision_example, // {{String}} return updated articles since revision
    +  'types': types_example // {{String}} return only articles of specified types
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getArticles(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getArticlesExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var viewRevision = viewRevision_example;  // String | view revision from which attribute revision applies (optional) 
    +            var articleRevision = articleRevision_example;  // String | return updated articles since revision (optional) 
    +            var types = types_example;  // String | return only articles of specified types (optional) 
    +
    +            try
    +            {
    +                array[Article] result = apiInstance.getArticles(viewRevision, articleRevision, types);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.getArticles: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$viewRevision = viewRevision_example; // String | view revision from which attribute revision applies
    +$articleRevision = articleRevision_example; // String | return updated articles since revision
    +$types = types_example; // String | return only articles of specified types
    +
    +try {
    +    $result = $api_instance->getArticles($viewRevision, $articleRevision, $types);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->getArticles: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $viewRevision = viewRevision_example; # String | view revision from which attribute revision applies
    +my $articleRevision = articleRevision_example; # String | return updated articles since revision
    +my $types = types_example; # String | return only articles of specified types
    +
    +eval { 
    +    my $result = $api_instance->getArticles(viewRevision => $viewRevision, articleRevision => $articleRevision, types => $types);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->getArticles: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +viewRevision = viewRevision_example # String | view revision from which attribute revision applies (optional)
    +articleRevision = articleRevision_example # String | return updated articles since revision (optional)
    +types = types_example # String | return only articles of specified types (optional)
    +
    +try: 
    +    api_response = api_instance.get_articles(viewRevision=viewRevision, articleRevision=articleRevision, types=types)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->getArticles: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + +
    Query parameters
    + + + + + + + + + + + + + + +
    NameDescription
    viewRevision + + +
    +
    +
    + + String + + +
    + view revision from which attribute revision applies +
    +
    +
    +
    +
    articleRevision + + +
    +
    +
    + + String + + +
    + return updated articles since revision +
    +
    +
    +
    +
    types + + +
    +
    +
    + + String + + +
    + return only articles of specified types +
    +
    +
    +
    +
    + +

    Responses

    +

    Status: 200 - successful operation

    + + + +
    +
    +
    + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + +
    NameTypeFormatDescription
    X-View-RevisionLongint64
    X-Article-RevisionLongint64
    +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    removeArticle

    +

    +
    +
    +
    +

    +

    Remove specified article. Access granted to app token of account holder.

    +

    +
    +
    /attribute/articles/{articleId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X DELETE\
    + -H "Authorization: Bearer [[accessToken]]"\
    +"//attribute/articles/{articleId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        try {
    +            apiInstance.removeArticle(articleId);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#removeArticle");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        try {
    +            apiInstance.removeArticle(articleId);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#removeArticle");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *articleId = articleId_example; // specified article id
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance removeArticleWith:articleId
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var articleId = articleId_example; // {{String}} specified article id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.removeArticle(articleId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class removeArticleExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var articleId = articleId_example;  // String | specified article id
    +
    +            try
    +            {
    +                apiInstance.removeArticle(articleId);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.removeArticle: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$articleId = articleId_example; // String | specified article id
    +
    +try {
    +    $api_instance->removeArticle($articleId);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->removeArticle: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $articleId = articleId_example; # String | specified article id
    +
    +eval { 
    +    $api_instance->removeArticle(articleId => $articleId);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->removeArticle: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +articleId = articleId_example # String | specified article id
    +
    +try: 
    +    api_instance.remove_article(articleId)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->removeArticle: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    articleId* + + +
    +
    +
    + + String + + +
    + specified article id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    + +

    Status: 401 - invalid password

    + + + +
    +
    + +

    Status: 404 - article not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setArticleGroup

    +

    +
    +
    +
    +

    +

    Set group for articles. Access granted to app tokens for account holder.

    +

    +
    +
    /attribute/articles/{articleId}/groups/{groupId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//attribute/articles/{articleId}/groups/{groupId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        String groupId = groupId_example; // String | specified group id
    +        try {
    +            Article result = apiInstance.setArticleGroup(articleId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#setArticleGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        String groupId = groupId_example; // String | specified group id
    +        try {
    +            Article result = apiInstance.setArticleGroup(articleId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#setArticleGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *articleId = articleId_example; // specified article id
    +String *groupId = groupId_example; // specified group id
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance setArticleGroupWith:articleId
    +    groupId:groupId
    +              completionHandler: ^(Article output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var articleId = articleId_example; // {{String}} specified article id
    +var groupId = groupId_example; // {{String}} specified group id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.setArticleGroup(articleId, groupId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setArticleGroupExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var articleId = articleId_example;  // String | specified article id
    +            var groupId = groupId_example;  // String | specified group id
    +
    +            try
    +            {
    +                Article result = apiInstance.setArticleGroup(articleId, groupId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.setArticleGroup: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$articleId = articleId_example; // String | specified article id
    +$groupId = groupId_example; // String | specified group id
    +
    +try {
    +    $result = $api_instance->setArticleGroup($articleId, $groupId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->setArticleGroup: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $articleId = articleId_example; # String | specified article id
    +my $groupId = groupId_example; # String | specified group id
    +
    +eval { 
    +    my $result = $api_instance->setArticleGroup(articleId => $articleId, groupId => $groupId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->setArticleGroup: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +articleId = articleId_example # String | specified article id
    +groupId = groupId_example # String | specified group id
    +
    +try: 
    +    api_response = api_instance.set_article_group(articleId, groupId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->setArticleGroup: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    articleId* + + +
    +
    +
    + + String + + +
    + specified article id +
    +
    +
    + Required +
    +
    +
    +
    groupId* + + +
    +
    +
    + + String + + +
    + specified group id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setArticleSubject

    +

    +
    +
    +
    +

    +

    Set subject for article. Access granted to app token of account holder.

    +

    +
    +
    /attribute/articles/{articleId}/subject
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Content-Type: application/json"\
    +"//attribute/articles/{articleId}/subject"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.AttributeApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        Subject body = ; // Subject | 
    +        try {
    +            apiInstance.setArticleSubject(articleId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#setArticleSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.AttributeApi;
    +
    +public class AttributeApiExample {
    +
    +    public static void main(String[] args) {
    +        AttributeApi apiInstance = new AttributeApi();
    +        String articleId = articleId_example; // String | specified article id
    +        Subject body = ; // Subject | 
    +        try {
    +            apiInstance.setArticleSubject(articleId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling AttributeApi#setArticleSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *articleId = articleId_example; // specified article id
    +Subject *body = ; //  (optional)
    +
    +AttributeApi *apiInstance = [[AttributeApi alloc] init];
    +
    +[apiInstance setArticleSubjectWith:articleId
    +    body:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.AttributeApi()
    +var articleId = articleId_example; // {{String}} specified article id
    +var opts = { 
    +  'body':  // {{Subject}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setArticleSubject(articleId, opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setArticleSubjectExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new AttributeApi();
    +            var articleId = articleId_example;  // String | specified article id
    +            var body = new Subject(); // Subject |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setArticleSubject(articleId, body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling AttributeApi.setArticleSubject: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiAttributeApi();
    +$articleId = articleId_example; // String | specified article id
    +$body = ; // Subject | 
    +
    +try {
    +    $api_instance->setArticleSubject($articleId, $body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling AttributeApi->setArticleSubject: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::AttributeApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::AttributeApi->new();
    +my $articleId = articleId_example; # String | specified article id
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
    +
    +eval { 
    +    $api_instance->setArticleSubject(articleId => $articleId, body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling AttributeApi->setArticleSubject: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.AttributeApi()
    +articleId = articleId_example # String | specified article id
    +body =  # Subject |  (optional)
    +
    +try: 
    +    api_instance.set_article_subject(articleId, body=body)
    +except ApiException as e:
    +    print("Exception when calling AttributeApi->setArticleSubject: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    articleId* + + +
    +
    +
    + + String + + +
    + specified article id +
    +
    +
    + Required +
    +
    +
    +
    + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - article not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +

    Authorize

    +
    +
    +
    +

    authorize

    @@ -7450,89 +14452,89 @@ except ApiException as e:

    Retrieve an authenticate data messaging verifying the account holder is accepting the action referenced by the token.


    -
    /authenticate
    +
    /authorize

    Usage and SDK Samples

    -
    +
    curl -X PUT\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"//authenticate"
    +"//authorize"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.AuthenticateApi;
    +import io.swagger.client.api.AuthorizeApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class AuthenticateApiExample {
    +public class AuthorizeApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        AuthenticateApi apiInstance = new AuthenticateApi();
    +        AuthorizeApi apiInstance = new AuthorizeApi();
             String body = ; // String | 
             try {
    -            DataMessage result = apiInstance.authenticate(body);
    +            DataMessage result = apiInstance.authorize(body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling AuthenticateApi#authenticate");
    +            System.err.println("Exception when calling AuthorizeApi#authorize");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.AuthenticateApi;
    +                          
    +
    import io.swagger.client.api.AuthorizeApi;
     
    -public class AuthenticateApiExample {
    +public class AuthorizeApiExample {
     
         public static void main(String[] args) {
    -        AuthenticateApi apiInstance = new AuthenticateApi();
    +        AuthorizeApi apiInstance = new AuthorizeApi();
             String body = ; // String | 
             try {
    -            DataMessage result = apiInstance.authenticate(body);
    +            DataMessage result = apiInstance.authorize(body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling AuthenticateApi#authenticate");
    +            System.err.println("Exception when calling AuthorizeApi#authorize");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
     String *body = ; //  (optional)
     
    -AuthenticateApi *apiInstance = [[AuthenticateApi alloc] init];
    +AuthorizeApi *apiInstance = [[AuthorizeApi alloc] init];
     
    -[apiInstance authenticateWith:body
    +[apiInstance authorizeWith:body
                   completionHandler: ^(DataMessage output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -7544,12 +14546,12 @@ AuthenticateApi *apiInstance = [[AuthenticateApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.AuthenticateApi()
    +var api = new DataBag.AuthorizeApi()
     var opts = { 
       'body':  // {{String}} 
     };
    @@ -7560,14 +14562,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.authenticate(opts, callback);
    +api.authorize(opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7576,23 +14578,23 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class authenticateExample
    +    public class authorizeExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new AuthenticateApi();
    +            var apiInstance = new AuthorizeApi();
                 var body = new String(); // String |  (optional) 
     
                 try
                 {
    -                DataMessage result = apiInstance.authenticate(body);
    +                DataMessage result = apiInstance.authorize(body);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling AuthenticateApi.authenticate: " + e.Message );
    +                Debug.Print("Exception when calling AuthorizeApi.authorize: " + e.Message );
                 }
             }
         }
    @@ -7600,42 +14602,42 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiAuthenticateApi();
    +$api_instance = new Swagger\Client\ApiAuthorizeApi();
     $body = ; // String | 
     
     try {
    -    $result = $api_instance->authenticate($body);
    +    $result = $api_instance->authorize($body);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling AuthenticateApi->authenticate: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling AuthorizeApi->authorize: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::AuthenticateApi;
    +use WWW::SwaggerClient::AuthorizeApi;
     
     
    -my $api_instance = WWW::SwaggerClient::AuthenticateApi->new();
    +my $api_instance = WWW::SwaggerClient::AuthorizeApi->new();
     my $body = WWW::SwaggerClient::Object::String->new(); # String | 
     
     eval { 
    -    my $result = $api_instance->authenticate(body => $body);
    +    my $result = $api_instance->authorize(body => $body);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling AuthenticateApi->authenticate: $@\n";
    +    warn "Exception when calling AuthorizeApi->authorize: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7644,14 +14646,14 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.AuthenticateApi()
    +api_instance = swagger_client.AuthorizeApi()
     body =  # String |  (optional)
     
     try: 
    -    api_response = api_instance.authenticate(body=body)
    +    api_response = api_instance.authorize(body=body)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling AuthenticateApi->authenticate: %s\n" % e)
    + print("Exception when calling AuthorizeApi->authorize: %s\n" % e)
    @@ -7692,12 +14694,12 @@ except ApiException as e: } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_authenticate_body'); + var result = $('#d2e199_authorize_body'); result.empty(); result.append(view.render()); }); -
    +
    @@ -7709,14 +14711,14 @@ except ApiException as e:
    -
    -
    +
    +
    - +
    @@ -7761,6 +14763,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    -
    -
    -
    -
    -
    -

    getCard

    -

    -
    -
    -
    -

    -

    Retieve card entry. Permission granted to app tokens for account holder.

    -

    -
    -
    /contact/cards/{cardId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//contact/cards/{cardId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContactApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContactApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContactApi apiInstance = new ContactApi();
    -        String cardId = cardId_example; // String | specified card id
    -        try {
    -            Card result = apiInstance.getCard(cardId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCard");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContactApi;
    -
    -public class ContactApiExample {
    -
    -    public static void main(String[] args) {
    -        ContactApi apiInstance = new ContactApi();
    -        String cardId = cardId_example; // String | specified card id
    -        try {
    -            Card result = apiInstance.getCard(cardId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCard");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *cardId = cardId_example; // specified card id
    -
    -ContactApi *apiInstance = [[ContactApi alloc] init];
    -
    -[apiInstance getCardWith:cardId
    -              completionHandler: ^(Card output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContactApi()
    -var cardId = cardId_example; // {{String}} specified card id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getCard(cardId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getCardExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContactApi();
    -            var cardId = cardId_example;  // String | specified card id
    -
    -            try
    -            {
    -                Card result = apiInstance.getCard(cardId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContactApi.getCard: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContactApi();
    -$cardId = cardId_example; // String | specified card id
    -
    -try {
    -    $result = $api_instance->getCard($cardId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContactApi->getCard: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContactApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContactApi->new();
    -my $cardId = cardId_example; # String | specified card id
    -
    -eval { 
    -    my $result = $api_instance->getCard(cardId => $cardId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContactApi->getCard: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContactApi()
    -cardId = cardId_example # String | specified card id
    -
    -try: 
    -    api_response = api_instance.get_card(cardId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContactApi->getCard: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    cardId* - - -
    -
    -
    - - String - - -
    - specified card id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - card not found

    +

    Status: 410 - account disabled

    @@ -9076,44 +15783,44 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getCardData

    +

    getCardDetail

    -

    Get specified card data. Access granted to app tokens for account holder.

    +

    Get specified card detail. Access granted to app tokens for account holder.


    -
    /contact/cards/{cardId}/data
    +
    /contact/cards/{cardId}/detail

    Usage and SDK Samples

    -
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//contact/cards/{cardId}/data"
    +"//contact/cards/{cardId}/detail"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -9131,17 +15838,17 @@ public class ContactApiExample {
             ContactApi apiInstance = new ContactApi();
             String cardId = cardId_example; // String | specified card id
             try {
    -            CardData result = apiInstance.getCardData(cardId);
    +            CardDetail result = apiInstance.getCardDetail(cardId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCardData");
    +            System.err.println("Exception when calling ContactApi#getCardDetail");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    import io.swagger.client.api.ContactApi;
     
     public class ContactApiExample {
    @@ -9150,27 +15857,27 @@ public class ContactApiExample {
             ContactApi apiInstance = new ContactApi();
             String cardId = cardId_example; // String | specified card id
             try {
    -            CardData result = apiInstance.getCardData(cardId);
    +            CardDetail result = apiInstance.getCardDetail(cardId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCardData");
    +            System.err.println("Exception when calling ContactApi#getCardDetail");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
     String *cardId = cardId_example; // specified card id
     
     ContactApi *apiInstance = [[ContactApi alloc] init];
     
    -[apiInstance getCardDataWith:cardId
    -              completionHandler: ^(CardData output, NSError* error) {
    +[apiInstance getCardDetailWith:cardId
    +              completionHandler: ^(CardDetail output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -9181,7 +15888,7 @@ ContactApi *apiInstance = [[ContactApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
    @@ -9196,14 +15903,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getCardData(cardId, callback);
    +api.getCardDetail(cardId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -9212,7 +15919,7 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getCardDataExample
    +    public class getCardDetailExample
         {
             public void main()
             {
    @@ -9223,12 +15930,12 @@ namespace Example
     
                 try
                 {
    -                CardData result = apiInstance.getCardData(cardId);
    +                CardDetail result = apiInstance.getCardDetail(cardId);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ContactApi.getCardData: " + e.Message );
    +                Debug.Print("Exception when calling ContactApi.getCardDetail: " + e.Message );
                 }
             }
         }
    @@ -9236,7 +15943,7 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
    @@ -9245,15 +15952,15 @@ $api_instance = new Swagger\Client\ApiContactApi();
     $cardId = cardId_example; // String | specified card id
     
     try {
    -    $result = $api_instance->getCardData($cardId);
    +    $result = $api_instance->getCardDetail($cardId);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ContactApi->getCardData: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContactApi->getCardDetail: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::ContactApi;
    @@ -9263,15 +15970,15 @@ my $api_instance = WWW::SwaggerClient::ContactApi->new();
     my $cardId = cardId_example; # String | specified card id
     
     eval { 
    -    my $result = $api_instance->getCardData(cardId => $cardId);
    +    my $result = $api_instance->getCardDetail(cardId => $cardId);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ContactApi->getCardData: $@\n";
    +    warn "Exception when calling ContactApi->getCardDetail: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9284,10 +15991,10 @@ api_instance = swagger_client.ContactApi()
     cardId = cardId_example # String | specified card id
     
     try: 
    -    api_response = api_instance.get_card_data(cardId)
    +    api_response = api_instance.get_card_detail(cardId)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ContactApi->getCardData: %s\n" % e)
    + print("Exception when calling ContactApi->getCardDetail: %s\n" % e)
    @@ -9303,7 +16010,7 @@ except ApiException as e: -
    +
    @@ -9332,14 +16039,14 @@ except ApiException as e:
    -
    -
    +
    +
    - +
    @@ -9392,6 +16099,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error


    -
    -
    +
    +
    -

    getCardView

    +

    getCards

    -

    Get list of card views. Access granted to app tokens of account holder.

    +

    Get list of cards. Access granted to app tokens of account holder.


    -
    /contact/cards/view
    +
    /contact/cards

    Usage and SDK Samples

    -
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//contact/cards/view"
    +"//contact/cards?revision="
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10120,45 +16851,48 @@ public class ContactApiExample {
     
     
             ContactApi apiInstance = new ContactApi();
    +        String revision = revision_example; // String | only return updated cards since specified revision
             try {
    -            array[CardView] result = apiInstance.getCardView();
    +            array[Card] result = apiInstance.getCards(revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCardView");
    +            System.err.println("Exception when calling ContactApi#getCards");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    import io.swagger.client.api.ContactApi;
     
     public class ContactApiExample {
     
         public static void main(String[] args) {
             ContactApi apiInstance = new ContactApi();
    +        String revision = revision_example; // String | only return updated cards since specified revision
             try {
    -            array[CardView] result = apiInstance.getCardView();
    +            array[Card] result = apiInstance.getCards(revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#getCardView");
    +            System.err.println("Exception when calling ContactApi#getCards");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *revision = revision_example; // only return updated cards since specified revision (optional)
     
     ContactApi *apiInstance = [[ContactApi alloc] init];
     
    -[apiInstance getCardViewWithCompletionHandler: 
    -              ^(array[CardView] output, NSError* error) {
    +[apiInstance getCardsWith:revision
    +              completionHandler: ^(array[Card] output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10169,12 +16903,15 @@ ContactApi *apiInstance = [[ContactApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
     var api = new DataBag.ContactApi()
    +var opts = { 
    +  'revision': revision_example // {{String}} only return updated cards since specified revision
    +};
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
    @@ -10182,14 +16919,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getCardView(callback);
    +api.getCards(opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10198,22 +16935,23 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getCardViewExample
    +    public class getCardsExample
         {
             public void main()
             {
     
     
                 var apiInstance = new ContactApi();
    +            var revision = revision_example;  // String | only return updated cards since specified revision (optional) 
     
                 try
                 {
    -                array[CardView] result = apiInstance.getCardView();
    +                array[Card] result = apiInstance.getCards(revision);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ContactApi.getCardView: " + e.Message );
    +                Debug.Print("Exception when calling ContactApi.getCards: " + e.Message );
                 }
             }
         }
    @@ -10221,40 +16959,42 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
     $api_instance = new Swagger\Client\ApiContactApi();
    +$revision = revision_example; // String | only return updated cards since specified revision
     
     try {
    -    $result = $api_instance->getCardView();
    +    $result = $api_instance->getCards($revision);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ContactApi->getCardView: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContactApi->getCards: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::ContactApi;
     
     
     my $api_instance = WWW::SwaggerClient::ContactApi->new();
    +my $revision = revision_example; # String | only return updated cards since specified revision
     
     eval { 
    -    my $result = $api_instance->getCardView();
    +    my $result = $api_instance->getCards(revision => $revision);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ContactApi->getCardView: $@\n";
    +    warn "Exception when calling ContactApi->getCards: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10264,12 +17004,13 @@ from pprint import pprint
     
     # create an instance of the API class
     api_instance = swagger_client.ContactApi()
    +revision = revision_example # String | only return updated cards since specified revision (optional)
     
     try: 
    -    api_response = api_instance.get_card_view()
    +    api_response = api_instance.get_cards(revision=revision)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ContactApi->getCardView: %s\n" % e)
    + print("Exception when calling ContactApi->getCards: %s\n" % e)
    @@ -10279,30 +17020,70 @@ except ApiException as e: +
    Query parameters
    + + + + + + + + +
    NameDescription
    revision + + +
    +
    +
    + + String + + +
    + only return updated cards since specified revision +
    +
    +
    +
    +

    Responses

    Status: 200 - successful operation

    -
    -
    +
    +
    - + +
    +
    + + + + + + + + + + + + + +
    NameTypeFormatDescription
    X-Card-RevisionLongint64
    @@ -10341,6 +17138,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    +
    +
    +
    +
    +
    +

    setArticleRevision

    +

    +
    +
    +
    +

    +

    Set artcile revision for contact. This is intend to be invoked automatically anytime a contact updates their content or sharing. Access granted to contact tokens.

    +

    +
    +
    /contact/article/revision
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Content-Type: application/json"\
    +"//contact/article/revision"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContactApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContactApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContactApi apiInstance = new ContactApi();
    +        Long body = ; // Long | 
    +        try {
    +            apiInstance.setArticleRevision(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContactApi#setArticleRevision");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContactApi;
    +
    +public class ContactApiExample {
    +
    +    public static void main(String[] args) {
    +        ContactApi apiInstance = new ContactApi();
    +        Long body = ; // Long | 
    +        try {
    +            apiInstance.setArticleRevision(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContactApi#setArticleRevision");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +Long *body = ; //  (optional)
    +
    +ContactApi *apiInstance = [[ContactApi alloc] init];
    +
    +[apiInstance setArticleRevisionWith:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContactApi()
    +var opts = { 
    +  'body':  // {{Long}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setArticleRevision(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setArticleRevisionExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContactApi();
    +            var body = new Long(); // Long |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setArticleRevision(body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContactApi.setArticleRevision: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContactApi();
    +$body = ; // Long | 
    +
    +try {
    +    $api_instance->setArticleRevision($body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContactApi->setArticleRevision: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContactApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContactApi->new();
    +my $body = WWW::SwaggerClient::Object::Long->new(); # Long | 
    +
    +eval { 
    +    $api_instance->setArticleRevision(body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling ContactApi->setArticleRevision: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContactApi()
    +body =  # Long |  (optional)
    +
    +try: 
    +    api_instance.set_article_revision(body=body)
    +except ApiException as e:
    +    print("Exception when calling ContactApi->setArticleRevision: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 200 - revision set

    + + + +
    +
    + +

    Status: 401 - not authorized

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    import io.swagger.client.*;
    @@ -12458,8 +19604,12 @@ public class ContactApiExample {
             String cardId = cardId_example; // String | specified card id
             String body = ; // String | 
             String token = token_example; // String | token for accessing card
    +        String profileRevision = profileRevision_example; // String | profile revision of contact
    +        String articleRevision = articleRevision_example; // String | article revision of contact
    +        String channelRevision = channelRevision_example; // String | channel revision of contact
    +        String viewRevision = viewRevision_example; // String | view revision of contact
             try {
    -            CardData result = apiInstance.setCardStatus(cardId, body, token);
    +            CardDetail result = apiInstance.setCardStatus(cardId, body, token, profileRevision, articleRevision, channelRevision, viewRevision);
                 System.out.println(result);
             } catch (ApiException e) {
                 System.err.println("Exception when calling ContactApi#setCardStatus");
    @@ -12479,8 +19629,12 @@ public class ContactApiExample {
             String cardId = cardId_example; // String | specified card id
             String body = ; // String | 
             String token = token_example; // String | token for accessing card
    +        String profileRevision = profileRevision_example; // String | profile revision of contact
    +        String articleRevision = articleRevision_example; // String | article revision of contact
    +        String channelRevision = channelRevision_example; // String | channel revision of contact
    +        String viewRevision = viewRevision_example; // String | view revision of contact
             try {
    -            CardData result = apiInstance.setCardStatus(cardId, body, token);
    +            CardDetail result = apiInstance.setCardStatus(cardId, body, token, profileRevision, articleRevision, channelRevision, viewRevision);
                 System.out.println(result);
             } catch (ApiException e) {
                 System.err.println("Exception when calling ContactApi#setCardStatus");
    @@ -12498,13 +19652,21 @@ public class ContactApiExample {
     String *cardId = cardId_example; // specified card id
     String *body = ; //  (optional)
     String *token = token_example; // token for accessing card (optional)
    +String *profileRevision = profileRevision_example; // profile revision of contact (optional)
    +String *articleRevision = articleRevision_example; // article revision of contact (optional)
    +String *channelRevision = channelRevision_example; // channel revision of contact (optional)
    +String *viewRevision = viewRevision_example; // view revision of contact (optional)
     
     ContactApi *apiInstance = [[ContactApi alloc] init];
     
     [apiInstance setCardStatusWith:cardId
         body:body
         token:token
    -              completionHandler: ^(CardData output, NSError* error) {
    +    profileRevision:profileRevision
    +    articleRevision:articleRevision
    +    channelRevision:channelRevision
    +    viewRevision:viewRevision
    +              completionHandler: ^(CardDetail output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12525,6 +19687,10 @@ var cardId = cardId_example; // {{String}} specified card id
     var opts = { 
       'body':  // {{String}} 
       'token': token_example // {{String}} token for accessing card
    +  'profileRevision': profileRevision_example // {{String}} profile revision of contact
    +  'articleRevision': articleRevision_example // {{String}} article revision of contact
    +  'channelRevision': channelRevision_example // {{String}} channel revision of contact
    +  'viewRevision': viewRevision_example // {{String}} view revision of contact
     };
     var callback = function(error, data, response) {
       if (error) {
    @@ -12559,10 +19725,14 @@ namespace Example
                 var cardId = cardId_example;  // String | specified card id
                 var body = new String(); // String |  (optional) 
                 var token = token_example;  // String | token for accessing card (optional) 
    +            var profileRevision = profileRevision_example;  // String | profile revision of contact (optional) 
    +            var articleRevision = articleRevision_example;  // String | article revision of contact (optional) 
    +            var channelRevision = channelRevision_example;  // String | channel revision of contact (optional) 
    +            var viewRevision = viewRevision_example;  // String | view revision of contact (optional) 
     
                 try
                 {
    -                CardData result = apiInstance.setCardStatus(cardId, body, token);
    +                CardDetail result = apiInstance.setCardStatus(cardId, body, token, profileRevision, articleRevision, channelRevision, viewRevision);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
    @@ -12584,9 +19754,13 @@ $api_instance = new Swagger\Client\ApiContactApi();
     $cardId = cardId_example; // String | specified card id
     $body = ; // String | 
     $token = token_example; // String | token for accessing card
    +$profileRevision = profileRevision_example; // String | profile revision of contact
    +$articleRevision = articleRevision_example; // String | article revision of contact
    +$channelRevision = channelRevision_example; // String | channel revision of contact
    +$viewRevision = viewRevision_example; // String | view revision of contact
     
     try {
    -    $result = $api_instance->setCardStatus($cardId, $body, $token);
    +    $result = $api_instance->setCardStatus($cardId, $body, $token, $profileRevision, $articleRevision, $channelRevision, $viewRevision);
         print_r($result);
     } catch (Exception $e) {
         echo 'Exception when calling ContactApi->setCardStatus: ', $e->getMessage(), PHP_EOL;
    @@ -12604,9 +19778,13 @@ my $api_instance = WWW::SwaggerClient::ContactApi->new();
     my $cardId = cardId_example; # String | specified card id
     my $body = WWW::SwaggerClient::Object::String->new(); # String | 
     my $token = token_example; # String | token for accessing card
    +my $profileRevision = profileRevision_example; # String | profile revision of contact
    +my $articleRevision = articleRevision_example; # String | article revision of contact
    +my $channelRevision = channelRevision_example; # String | channel revision of contact
    +my $viewRevision = viewRevision_example; # String | view revision of contact
     
     eval { 
    -    my $result = $api_instance->setCardStatus(cardId => $cardId, body => $body, token => $token);
    +    my $result = $api_instance->setCardStatus(cardId => $cardId, body => $body, token => $token, profileRevision => $profileRevision, articleRevision => $articleRevision, channelRevision => $channelRevision, viewRevision => $viewRevision);
         print Dumper($result);
     };
     if ($@) {
    @@ -12627,9 +19805,13 @@ api_instance = swagger_client.ContactApi()
     cardId = cardId_example # String | specified card id
     body =  # String |  (optional)
     token = token_example # String | token for accessing card (optional)
    +profileRevision = profileRevision_example # String | profile revision of contact (optional)
    +articleRevision = articleRevision_example # String | article revision of contact (optional)
    +channelRevision = channelRevision_example # String | channel revision of contact (optional)
    +viewRevision = viewRevision_example # String | view revision of contact (optional)
     
     try: 
    -    api_response = api_instance.set_card_status(cardId, body=body, token=token)
    +    api_response = api_instance.set_card_status(cardId, body=body, token=token, profileRevision=profileRevision, articleRevision=articleRevision, channelRevision=channelRevision, viewRevision=viewRevision)
         pprint(api_response)
     except ApiException as e:
         print("Exception when calling ContactApi->setCardStatus: %s\n" % e)
    @@ -12739,6 +19921,82 @@ except ApiException as e:
    + profileRevision + + + +
    +
    +
    + + String + + +
    + profile revision of contact +
    +
    +
    +
    + + + articleRevision + + + +
    +
    +
    + + String + + +
    + article revision of contact +
    +
    +
    +
    + + + channelRevision + + + +
    +
    +
    + + String + + +
    + channel revision of contact +
    +
    +
    +
    + + + viewRevision + + + +
    +
    +
    + + String + + +
    + view revision of contact +
    +
    +
    +
    + +

    Responses

    @@ -12761,7 +20019,7 @@ except ApiException as e: "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/CardData" + "$ref" : "#/components/schemas/CardDetail" } } } @@ -12806,6 +20064,307 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setChannelRevision

    +

    +
    +
    +
    +

    +

    Set channel revision for contact. This is intend to be invoked automatically anytime a contact updates their content or sharing. Access granted to contact tokens.

    +

    +
    +
    /contact/channel/revision
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Content-Type: application/json"\
    +"//contact/channel/revision"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContactApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContactApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContactApi apiInstance = new ContactApi();
    +        Long body = ; // Long | 
    +        try {
    +            apiInstance.setChannelRevision(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContactApi#setChannelRevision");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContactApi;
    +
    +public class ContactApiExample {
    +
    +    public static void main(String[] args) {
    +        ContactApi apiInstance = new ContactApi();
    +        Long body = ; // Long | 
    +        try {
    +            apiInstance.setChannelRevision(body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContactApi#setChannelRevision");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +Long *body = ; //  (optional)
    +
    +ContactApi *apiInstance = [[ContactApi alloc] init];
    +
    +[apiInstance setChannelRevisionWith:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContactApi()
    +var opts = { 
    +  'body':  // {{Long}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setChannelRevision(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setChannelRevisionExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContactApi();
    +            var body = new Long(); // Long |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setChannelRevision(body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContactApi.setChannelRevision: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContactApi();
    +$body = ; // Long | 
    +
    +try {
    +    $api_instance->setChannelRevision($body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContactApi->setChannelRevision: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContactApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContactApi->new();
    +my $body = WWW::SwaggerClient::Object::Long->new(); # Long | 
    +
    +eval { 
    +    $api_instance->setChannelRevision(body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling ContactApi->setChannelRevision: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContactApi()
    +body =  # Long |  (optional)
    +
    +try: 
    +    api_instance.set_channel_revision(body=body)
    +except ApiException as e:
    +    print("Exception when calling ContactApi->setChannelRevision: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 200 - revision set

    + + + +
    +
    + +

    Status: 401 - not authorized

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    -
    -
    -
    -
    -
    -

    setContentRevision

    -

    -
    -
    -
    -

    -

    Set content revision for contact. This is intend to be invoked automatically anytime a contact updates their content or sharing. Access granted to contact tokens.

    -

    -
    -
    /contact/content/revision
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//contact/content/revision"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContactApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContactApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContactApi apiInstance = new ContactApi();
    -        Long body = ; // Long | 
    -        try {
    -            apiInstance.setContentRevision(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#setContentRevision");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContactApi;
    -
    -public class ContactApiExample {
    -
    -    public static void main(String[] args) {
    -        ContactApi apiInstance = new ContactApi();
    -        Long body = ; // Long | 
    -        try {
    -            apiInstance.setContentRevision(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContactApi#setContentRevision");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -Long *body = ; //  (optional)
    -
    -ContactApi *apiInstance = [[ContactApi alloc] init];
    -
    -[apiInstance setContentRevisionWith:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContactApi()
    -var opts = { 
    -  'body':  // {{Long}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setContentRevision(opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setContentRevisionExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContactApi();
    -            var body = new Long(); // Long |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setContentRevision(body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContactApi.setContentRevision: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContactApi();
    -$body = ; // Long | 
    -
    -try {
    -    $api_instance->setContentRevision($body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContactApi->setContentRevision: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContactApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContactApi->new();
    -my $body = WWW::SwaggerClient::Object::Long->new(); # Long | 
    -
    -eval { 
    -    $api_instance->setContentRevision(body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ContactApi->setContentRevision: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContactApi()
    -body =  # Long |  (optional)
    -
    -try: 
    -    api_instance.set_content_revision(body=body)
    -except ApiException as e:
    -    print("Exception when calling ContactApi->setContentRevision: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - revision set

    - - - -
    -
    - -

    Status: 401 - not authorized

    +

    Status: 410 - account disabled

    @@ -13479,7 +20711,7 @@ public class ContactApiExample { ContactApi apiInstance = new ContactApi(); DataMessage body = ; // DataMessage | try { - inline_response_200 result = apiInstance.setOpenMessage(body); + ContactStatus result = apiInstance.setOpenMessage(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ContactApi#setOpenMessage"); @@ -13498,7 +20730,7 @@ public class ContactApiExample { ContactApi apiInstance = new ContactApi(); DataMessage body = ; // DataMessage | try { - inline_response_200 result = apiInstance.setOpenMessage(body); + ContactStatus result = apiInstance.setOpenMessage(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ContactApi#setOpenMessage"); @@ -13517,7 +20749,7 @@ public class ContactApiExample { ContactApi *apiInstance = [[ContactApi alloc] init]; [apiInstance setOpenMessageWith:body - completionHandler: ^(inline_response_200 output, NSError* error) { + completionHandler: ^(ContactStatus output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -13568,7 +20800,7 @@ namespace Example try { - inline_response_200 result = apiInstance.setOpenMessage(body); + ContactStatus result = apiInstance.setOpenMessage(body); Debug.WriteLine(result); } catch (Exception e) @@ -13702,7 +20934,7 @@ except ApiException as e: "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200" + "$ref" : "#/components/schemas/ContactStatus" } } } @@ -13739,6 +20971,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    -
    -
    -
    -
    -

    Content

    -
    -
    -
    -

    addArticle

    -

    -
    -
    -
    -

    -

    Add a content article. Access granted to app token of the account holder.

    -

    -
    -
    /content/articles
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"//content/articles"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        Content_articles_body body = ; // Content_articles_body | 
    -        try {
    -            inline_response_201 result = apiInstance.addArticle(body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        Content_articles_body body = ; // Content_articles_body | 
    -        try {
    -            inline_response_201 result = apiInstance.addArticle(body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -Content_articles_body *body = ; //  (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance addArticleWith:body
    -              completionHandler: ^(inline_response_201 output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var opts = { 
    -  'body':  // {{Content_articles_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addArticle(opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addArticleExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var body = new Content_articles_body(); // Content_articles_body |  (optional) 
    -
    -            try
    -            {
    -                inline_response_201 result = apiInstance.addArticle(body);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.addArticle: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$body = ; // Content_articles_body | 
    -
    -try {
    -    $result = $api_instance->addArticle($body);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->addArticle: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $body = WWW::SwaggerClient::Object::Content_articles_body->new(); # Content_articles_body | 
    -
    -eval { 
    -    my $result = $api_instance->addArticle(body => $body);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->addArticle: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -body =  # Content_articles_body |  (optional)
    -
    -try: 
    -    api_response = api_instance.add_article(body=body)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->addArticle: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 201 - entry created

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    +

    Status: 410 - account disabled

    @@ -14372,10584 +21283,99 @@ except ApiException as e:

    -
    -
    +
    +
    -

    addArticleAsset

    +

    setViewRevision

    -

    Add an an asset to the to an article. The original posted asset is referenced in the asset list with a null transform. The transformed assets are referenced accordingly. Transforming the asset strips it of metadata and transcodes it into a specified format. Access is granted to the app token of the account holder.

    +

    Set view revision for contact. This is intend to be invoked automatically anytime a contact updates their content or sharing. Access granted to contact tokens.


    -
    /content/articles/{articleId}/assets
    +
    /contact/view/revision

    Usage and SDK Samples

    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    --H "Content-Type: multipart/form-data"\
    -"//content/articles/{articleId}/assets?transforms="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        byte[] fileName = fileName_example; // byte[] | 
    -        array[String] transforms = ; // array[String] | transforms to apply
    -        try {
    -            Asset result = apiInstance.addArticleAsset(articleId, fileName, transforms);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        byte[] fileName = fileName_example; // byte[] | 
    -        array[String] transforms = ; // array[String] | transforms to apply
    -        try {
    -            Asset result = apiInstance.addArticleAsset(articleId, fileName, transforms);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -byte[] *fileName = fileName_example; //  (optional)
    -array[String] *transforms = ; // transforms to apply (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance addArticleAssetWith:articleId
    -    fileName:fileName
    -    transforms:transforms
    -              completionHandler: ^(Asset output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var opts = { 
    -  'fileName': fileName_example // {{byte[]}} 
    -  'transforms':  // {{array[String]}} transforms to apply
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addArticleAsset(articleId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addArticleAssetExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var fileName = fileName_example;  // byte[] |  (optional) 
    -            var transforms = new array[String](); // array[String] | transforms to apply (optional) 
    -
    -            try
    -            {
    -                Asset result = apiInstance.addArticleAsset(articleId, fileName, transforms);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.addArticleAsset: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$fileName = fileName_example; // byte[] | 
    -$transforms = ; // array[String] | transforms to apply
    -
    -try {
    -    $result = $api_instance->addArticleAsset($articleId, $fileName, $transforms);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->addArticleAsset: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $fileName = fileName_example; # byte[] | 
    -my $transforms = []; # array[String] | transforms to apply
    -
    -eval { 
    -    my $result = $api_instance->addArticleAsset(articleId => $articleId, fileName => $fileName, transforms => $transforms);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->addArticleAsset: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -fileName = fileName_example # byte[] |  (optional)
    -transforms =  # array[String] | transforms to apply (optional)
    -
    -try: 
    -    api_response = api_instance.add_article_asset(articleId, fileName=fileName, transforms=transforms)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->addArticleAsset: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - -
    Form parameters
    - - - - - - - - -
    NameDescription
    fileName - - -
    -
    -
    - - byte[] - - - (binary) - - -
    -
    -
    -
    - -
    Query parameters
    - - - - - - - - -
    NameDescription
    transforms - - -
    -
    -
    - - array[String] - - -
    - transforms to apply -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 201 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 406 - storage limit reached

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addArticleTag

    -

    -
    -
    -
    -

    -

    Add a tag to an article. Access granted to app tokens of the account holder and contact tokens of accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tags
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tags"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            inline_response_200_2 result = apiInstance.addArticleTag(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            inline_response_200_2 result = apiInstance.addArticleTag(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance addArticleTagWith:articleId
    -              completionHandler: ^(inline_response_200_2 output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addArticleTag(articleId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addArticleTagExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -
    -            try
    -            {
    -                inline_response_200_2 result = apiInstance.addArticleTag(articleId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.addArticleTag: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -
    -try {
    -    $result = $api_instance->addArticleTag($articleId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->addArticleTag: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -
    -eval { 
    -    my $result = $api_instance->addArticleTag(articleId => $articleId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->addArticleTag: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -
    -try: 
    -    api_response = api_instance.add_article_tag(articleId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->addArticleTag: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addLabel

    -

    -
    -
    -
    -

    -

    Add a new label for organizing the articles. Access granted to the app tokens of the account holder.

    -

    -
    -
    /content/labels
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//content/labels"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        Content_labels_body body = ; // Content_labels_body | 
    -        try {
    -            apiInstance.addLabel(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        Content_labels_body body = ; // Content_labels_body | 
    -        try {
    -            apiInstance.addLabel(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#addLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -Content_labels_body *body = ; //  (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance addLabelWith:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var opts = { 
    -  'body':  // {{Content_labels_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.addLabel(opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addLabelExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var body = new Content_labels_body(); // Content_labels_body |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.addLabel(body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.addLabel: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$body = ; // Content_labels_body | 
    -
    -try {
    -    $api_instance->addLabel($body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->addLabel: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $body = WWW::SwaggerClient::Object::Content_labels_body->new(); # Content_labels_body | 
    -
    -eval { 
    -    $api_instance->addLabel(body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->addLabel: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -body =  # Content_labels_body |  (optional)
    -
    -try: 
    -    api_instance.add_label(body=body)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->addLabel: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    clearArticleGroup

    -

    -
    -
    -
    -

    -

    Remove article from sharing group. Unless the article is shared through other groups or labels contacts within that group will no longer have access to the article. Access granted to app tokens of the account holder.

    -

    -
    -
    /content/articles/{articleId}/groups/{groupId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/groups/{groupId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String groupId = groupId_example; // String | specified share id
    -        try {
    -            apiInstance.clearArticleGroup(articleId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearArticleGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String groupId = groupId_example; // String | specified share id
    -        try {
    -            apiInstance.clearArticleGroup(articleId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearArticleGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *groupId = groupId_example; // specified share id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance clearArticleGroupWith:articleId
    -    groupId:groupId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var groupId = groupId_example; // {{String}} specified share id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.clearArticleGroup(articleId, groupId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class clearArticleGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var groupId = groupId_example;  // String | specified share id
    -
    -            try
    -            {
    -                apiInstance.clearArticleGroup(articleId, groupId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.clearArticleGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$groupId = groupId_example; // String | specified share id
    -
    -try {
    -    $api_instance->clearArticleGroup($articleId, $groupId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->clearArticleGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $groupId = groupId_example; # String | specified share id
    -
    -eval { 
    -    $api_instance->clearArticleGroup(articleId => $articleId, groupId => $groupId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->clearArticleGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -groupId = groupId_example # String | specified share id
    -
    -try: 
    -    api_instance.clear_article_group(articleId, groupId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->clearArticleGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    groupId* - - -
    -
    -
    - - String - - -
    - specified share id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - group or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    clearArticleLabel

    -

    -
    -
    -
    -

    -

    Remove a label from an article. If the label has been assigned a sharing group the article and the article is not shared in another way, the article will no longer be accessible to that group's contacts. Access is granted to app tokens of the account holder.

    -

    -
    -
    /content/articles/{articleId}/labels/{labelId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/labels/{labelId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.clearArticleLabel(articleId, labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearArticleLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.clearArticleLabel(articleId, labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearArticleLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *labelId = labelId_example; // specified label id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance clearArticleLabelWith:articleId
    -    labelId:labelId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var labelId = labelId_example; // {{String}} specified label id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.clearArticleLabel(articleId, labelId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class clearArticleLabelExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var labelId = labelId_example;  // String | specified label id
    -
    -            try
    -            {
    -                apiInstance.clearArticleLabel(articleId, labelId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.clearArticleLabel: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$labelId = labelId_example; // String | specified label id
    -
    -try {
    -    $api_instance->clearArticleLabel($articleId, $labelId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->clearArticleLabel: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $labelId = labelId_example; # String | specified label id
    -
    -eval { 
    -    $api_instance->clearArticleLabel(articleId => $articleId, labelId => $labelId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->clearArticleLabel: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -labelId = labelId_example # String | specified label id
    -
    -try: 
    -    api_instance.clear_article_label(articleId, labelId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->clearArticleLabel: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    labelId* - - -
    -
    -
    - - String - - -
    - specified label id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - label or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    clearLabelGroup

    -

    -
    -
    -
    -

    -

    Clear a sharing group from a label. Access granted to app tokens of the account holder.

    -

    -
    -
    /content/labels/{labelId}/groups/{groupId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/labels/{labelId}/groups/{groupId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.clearLabelGroup(labelId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearLabelGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.clearLabelGroup(labelId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#clearLabelGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *labelId = labelId_example; // specified label id
    -String *groupId = groupId_example; // specified group id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance clearLabelGroupWith:labelId
    -    groupId:groupId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var labelId = labelId_example; // {{String}} specified label id
    -var groupId = groupId_example; // {{String}} specified group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.clearLabelGroup(labelId, groupId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class clearLabelGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var labelId = labelId_example;  // String | specified label id
    -            var groupId = groupId_example;  // String | specified group id
    -
    -            try
    -            {
    -                apiInstance.clearLabelGroup(labelId, groupId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.clearLabelGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$labelId = labelId_example; // String | specified label id
    -$groupId = groupId_example; // String | specified group id
    -
    -try {
    -    $api_instance->clearLabelGroup($labelId, $groupId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->clearLabelGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $labelId = labelId_example; # String | specified label id
    -my $groupId = groupId_example; # String | specified group id
    -
    -eval { 
    -    $api_instance->clearLabelGroup(labelId => $labelId, groupId => $groupId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->clearLabelGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -labelId = labelId_example # String | specified label id
    -groupId = groupId_example # String | specified group id
    -
    -try: 
    -    api_instance.clear_label_group(labelId, groupId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->clearLabelGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    labelId* - - -
    -
    -
    - - String - - -
    - specified label id -
    -
    -
    - Required -
    -
    -
    -
    groupId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - group or label not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticle

    -

    -
    -
    -
    -

    -

    Get specified article. Access granted to app token of account holder or contact token of account the article is shared with.

    -

    -
    -
    /content/articles/{articleId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            Article result = apiInstance.getArticle(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            Article result = apiInstance.getArticle(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleWith:articleId
    -              completionHandler: ^(Article output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticle(articleId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -
    -            try
    -            {
    -                Article result = apiInstance.getArticle(articleId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticle: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -
    -try {
    -    $result = $api_instance->getArticle($articleId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticle: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -
    -eval { 
    -    my $result = $api_instance->getArticle(articleId => $articleId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticle: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -
    -try: 
    -    api_response = api_instance.get_article(articleId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticle: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleAsset

    -

    -
    -
    -
    -

    -

    Get asset assigned to an article. The endpoint supports byte-range requests and responds with the content-type set appropriatly. Access granted to the app tokens of the account holder and in the case of non-original assets, the contact token for accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/assets/{assetId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/octet-stream"\
    -"//content/articles/{articleId}/assets/{assetId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            byte[] result = apiInstance.getArticleAsset(articleId, assetId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            byte[] result = apiInstance.getArticleAsset(articleId, assetId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *assetId = assetId_example; // specified asset id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleAssetWith:articleId
    -    assetId:assetId
    -              completionHandler: ^(byte[] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var assetId = assetId_example; // {{String}} specified asset id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleAsset(articleId, assetId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleAssetExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var assetId = assetId_example;  // String | specified asset id
    -
    -            try
    -            {
    -                byte[] result = apiInstance.getArticleAsset(articleId, assetId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleAsset: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$assetId = assetId_example; // String | specified asset id
    -
    -try {
    -    $result = $api_instance->getArticleAsset($articleId, $assetId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleAsset: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $assetId = assetId_example; # String | specified asset id
    -
    -eval { 
    -    my $result = $api_instance->getArticleAsset(articleId => $articleId, assetId => $assetId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleAsset: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -assetId = assetId_example # String | specified asset id
    -
    -try: 
    -    api_response = api_instance.get_article_asset(articleId, assetId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleAsset: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    assetId* - - -
    -
    -
    - - String - - -
    - specified asset id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - asset or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleAssets

    -

    -
    -
    -
    -

    -

    Get list of assets assigned to an article. The original assets will only be available to the account holder to provent the accidental sharing of content metadata. Access is granted to the app token of the account holder and the contact token of accounts the article has been shared with.

    -

    -
    -
    /content/articles/{articleId}/assets
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/assets"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            array[Asset] result = apiInstance.getArticleAssets(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleAssets");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            array[Asset] result = apiInstance.getArticleAssets(articleId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleAssets");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleAssetsWith:articleId
    -              completionHandler: ^(array[Asset] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleAssets(articleId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleAssetsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -
    -            try
    -            {
    -                array[Asset] result = apiInstance.getArticleAssets(articleId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleAssets: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -
    -try {
    -    $result = $api_instance->getArticleAssets($articleId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleAssets: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -
    -eval { 
    -    my $result = $api_instance->getArticleAssets(articleId => $articleId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleAssets: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -
    -try: 
    -    api_response = api_instance.get_article_assets(articleId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleAssets: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 201 - entry created

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - invalid token

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleBlockView

    -

    -
    -
    -
    -

    -

    Get article block views. Acess granted to account token or contact token. When the request is made with a contact token the account view revision will be added to the block revision.

    -

    -
    -
    /content/articleBlocks/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articleBlocks/view"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleBlockView();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleBlockView();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleBlockViewWithCompletionHandler: 
    -              ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleBlockView(callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleBlockViewExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getArticleBlockView();
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleBlockView: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -
    -try {
    -    $result = $api_instance->getArticleBlockView();
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleBlockView: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -
    -eval { 
    -    my $result = $api_instance->getArticleBlockView();
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleBlockView: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -
    -try: 
    -    api_response = api_instance.get_article_block_view()
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleBlockView: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleSubjectField

    -

    -
    -
    -
    -

    -

    Base64 decode and download specified field from the article's subject. Access granted to app token of account holder or contact token of account the article is shared with.

    -

    -
    -
    /content/articles/{articleId}/subject/{field}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/subject/{field}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String field = field_example; // String | field from subject to base64 decode and download
    -        try {
    -            Article result = apiInstance.getArticleSubjectField(articleId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String field = field_example; // String | field from subject to base64 decode and download
    -        try {
    -            Article result = apiInstance.getArticleSubjectField(articleId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *field = field_example; // field from subject to base64 decode and download
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleSubjectFieldWith:articleId
    -    field:field
    -              completionHandler: ^(Article output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var field = field_example; // {{String}} field from subject to base64 decode and download
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleSubjectField(articleId, field, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleSubjectFieldExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var field = field_example;  // String | field from subject to base64 decode and download
    -
    -            try
    -            {
    -                Article result = apiInstance.getArticleSubjectField(articleId, field);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleSubjectField: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$field = field_example; // String | field from subject to base64 decode and download
    -
    -try {
    -    $result = $api_instance->getArticleSubjectField($articleId, $field);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleSubjectField: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $field = field_example; # String | field from subject to base64 decode and download
    -
    -eval { 
    -    my $result = $api_instance->getArticleSubjectField(articleId => $articleId, field => $field);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleSubjectField: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -field = field_example # String | field from subject to base64 decode and download
    -
    -try: 
    -    api_response = api_instance.get_article_subject_field(articleId, field)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleSubjectField: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    field* - - -
    -
    -
    - - String - - -
    - field from subject to base64 decode and download -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - field, article not found

    - - - -
    -
    - -

    Status: 405 - invalid field

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleTag

    -

    -
    -
    -
    -

    -

    Get specified tag. Access granted to app tokens of account holder and contact tokens of accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tags/{tagId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tags/{tagId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        try {
    -            Tag result = apiInstance.getArticleTag(articleId, tagId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        try {
    -            Tag result = apiInstance.getArticleTag(articleId, tagId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *tagId = tagId_example; // specified tag id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleTagWith:articleId
    -    tagId:tagId
    -              completionHandler: ^(Tag output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var tagId = tagId_example; // {{String}} specified tag id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleTag(articleId, tagId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleTagExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var tagId = tagId_example;  // String | specified tag id
    -
    -            try
    -            {
    -                Tag result = apiInstance.getArticleTag(articleId, tagId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleTag: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$tagId = tagId_example; // String | specified tag id
    -
    -try {
    -    $result = $api_instance->getArticleTag($articleId, $tagId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleTag: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $tagId = tagId_example; # String | specified tag id
    -
    -eval { 
    -    my $result = $api_instance->getArticleTag(articleId => $articleId, tagId => $tagId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleTag: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -tagId = tagId_example # String | specified tag id
    -
    -try: 
    -    api_response = api_instance.get_article_tag(articleId, tagId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleTag: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    tagId* - - -
    -
    -
    - - String - - -
    - specified tag id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - tag or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleTagBlockView

    -

    -
    -
    -
    -

    -

    Get view of tag blocks associated with specified article. Access granted to app tokens of account holder and contact tokens of account with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tagBlocks/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tagBlocks/view?types="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTagBlockView(articleId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTagBlockView(articleId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -array[String] *types = ; // limit results to tags of types (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleTagBlockViewWith:articleId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to tags of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleTagBlockView(articleId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleTagBlockViewExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var types = new array[String](); // array[String] | limit results to tags of types (optional) 
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getArticleTagBlockView(articleId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleTagBlockView: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$types = ; // array[String] | limit results to tags of types
    -
    -try {
    -    $result = $api_instance->getArticleTagBlockView($articleId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleTagBlockView: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $types = []; # array[String] | limit results to tags of types
    -
    -eval { 
    -    my $result = $api_instance->getArticleTagBlockView(articleId => $articleId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleTagBlockView: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -types =  # array[String] | limit results to tags of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_article_tag_block_view(articleId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleTagBlockView: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to tags of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleTagSubjectField

    -

    -
    -
    -
    -

    -

    Base64 decode and retrieve specified tag on the article. Access granted to app tokens of account holder and contact tokens of accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tags/{tagId}/subject/{field}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tags/{tagId}/subject/{field}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        String field = field_example; // String | field to base64 decode and transfer
    -        try {
    -            Tag result = apiInstance.getArticleTagSubjectField(articleId, tagId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        String field = field_example; // String | field to base64 decode and transfer
    -        try {
    -            Tag result = apiInstance.getArticleTagSubjectField(articleId, tagId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *tagId = tagId_example; // specified tag id
    -String *field = field_example; // field to base64 decode and transfer
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleTagSubjectFieldWith:articleId
    -    tagId:tagId
    -    field:field
    -              completionHandler: ^(Tag output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var tagId = tagId_example; // {{String}} specified tag id
    -var field = field_example; // {{String}} field to base64 decode and transfer
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleTagSubjectField(articleId, tagId, field, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleTagSubjectFieldExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var tagId = tagId_example;  // String | specified tag id
    -            var field = field_example;  // String | field to base64 decode and transfer
    -
    -            try
    -            {
    -                Tag result = apiInstance.getArticleTagSubjectField(articleId, tagId, field);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleTagSubjectField: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$tagId = tagId_example; // String | specified tag id
    -$field = field_example; // String | field to base64 decode and transfer
    -
    -try {
    -    $result = $api_instance->getArticleTagSubjectField($articleId, $tagId, $field);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleTagSubjectField: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $tagId = tagId_example; # String | specified tag id
    -my $field = field_example; # String | field to base64 decode and transfer
    -
    -eval { 
    -    my $result = $api_instance->getArticleTagSubjectField(articleId => $articleId, tagId => $tagId, field => $field);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleTagSubjectField: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -tagId = tagId_example # String | specified tag id
    -field = field_example # String | field to base64 decode and transfer
    -
    -try: 
    -    api_response = api_instance.get_article_tag_subject_field(articleId, tagId, field)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleTagSubjectField: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    tagId* - - -
    -
    -
    - - String - - -
    - specified tag id -
    -
    -
    - Required -
    -
    -
    -
    field* - - -
    -
    -
    - - String - - -
    - field to base64 decode and transfer -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - field, tag or article not found

    - - - -
    -
    - -

    Status: 405 - invalid field

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleTagView

    -

    -
    -
    -
    -

    -

    Get view of tags within speicified block. Access granted to app tokens of account holder and contact token of accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tagBlocks/{blockId}/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tagBlocks/{blockId}/view?types="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTagView(articleId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTagView(articleId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTagView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *blockId = blockId_example; // specified block id
    -array[String] *types = ; // limit results to tags of types (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleTagViewWith:articleId
    -    blockId:blockId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var blockId = blockId_example; // {{String}} specified block id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to tags of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleTagView(articleId, blockId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleTagViewExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var blockId = blockId_example;  // String | specified block id
    -            var types = new array[String](); // array[String] | limit results to tags of types (optional) 
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getArticleTagView(articleId, blockId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleTagView: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$blockId = blockId_example; // String | specified block id
    -$types = ; // array[String] | limit results to tags of types
    -
    -try {
    -    $result = $api_instance->getArticleTagView($articleId, $blockId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleTagView: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $blockId = blockId_example; # String | specified block id
    -my $types = []; # array[String] | limit results to tags of types
    -
    -eval { 
    -    my $result = $api_instance->getArticleTagView(articleId => $articleId, blockId => $blockId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleTagView: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -blockId = blockId_example # String | specified block id
    -types =  # array[String] | limit results to tags of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_article_tag_view(articleId, blockId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleTagView: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    blockId* - - -
    -
    -
    - - String - - -
    - specified block id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to tags of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - block or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleTags

    -

    -
    -
    -
    -

    -

    Get tags within specified block. Access granted to app tokens of account holder and contact tokens of accounts with which the article is shared.

    -

    -
    -
    /content/articles/{articleId}/tagBlocks/{blockId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articles/{articleId}/tagBlocks/{blockId}?types="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTags(articleId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTags");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleTags(articleId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleTags");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *blockId = blockId_example; // specified block id
    -array[String] *types = ; // limit results to tags of types (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleTagsWith:articleId
    -    blockId:blockId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var blockId = blockId_example; // {{String}} specified block id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to tags of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleTags(articleId, blockId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleTagsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var blockId = blockId_example;  // String | specified block id
    -            var types = new array[String](); // array[String] | limit results to tags of types (optional) 
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getArticleTags(articleId, blockId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleTags: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$blockId = blockId_example; // String | specified block id
    -$types = ; // array[String] | limit results to tags of types
    -
    -try {
    -    $result = $api_instance->getArticleTags($articleId, $blockId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleTags: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $blockId = blockId_example; # String | specified block id
    -my $types = []; # array[String] | limit results to tags of types
    -
    -eval { 
    -    my $result = $api_instance->getArticleTags(articleId => $articleId, blockId => $blockId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleTags: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -blockId = blockId_example # String | specified block id
    -types =  # array[String] | limit results to tags of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_article_tags(articleId, blockId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleTags: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    blockId* - - -
    -
    -
    - - String - - -
    - specified block id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to tags of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - block or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticleViews

    -

    -
    -
    -
    -

    -

    Get the article views within specified block. Access granted for app token or contact token. All of the articles are returned for the app token, but only the shared articles are returned for the contact token. An article is shared by assigning a common group to an article or assigning a label to an article that has assigned a common group.

    -

    -
    -
    /content/articleBlocks/{blockId}/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articleBlocks/{blockId}/view"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String blockId = blockId_example; // String | specified group id
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleViews(blockId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleViews");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String blockId = blockId_example; // String | specified group id
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getArticleViews(blockId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticleViews");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *blockId = blockId_example; // specified group id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticleViewsWith:blockId
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var blockId = blockId_example; // {{String}} specified group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticleViews(blockId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticleViewsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var blockId = blockId_example;  // String | specified group id
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getArticleViews(blockId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticleViews: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$blockId = blockId_example; // String | specified group id
    -
    -try {
    -    $result = $api_instance->getArticleViews($blockId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticleViews: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $blockId = blockId_example; # String | specified group id
    -
    -eval { 
    -    my $result = $api_instance->getArticleViews(blockId => $blockId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticleViews: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -blockId = blockId_example # String | specified group id
    -
    -try: 
    -    api_response = api_instance.get_article_views(blockId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticleViews: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    blockId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - block not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getArticles

    -

    -
    -
    -
    -

    -

    Get the articles within specified block. Access granted for app token or contact token. All of the articles are returned for the app token, but only the shared articles are returned for the contact token. An article is shared by assigning a common group to an article or assigning a label to an article that has assigned a common group.

    -

    -
    -
    /content/articleBlocks/{blockId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/articleBlocks/{blockId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String blockId = blockId_example; // String | specified group id
    -        try {
    -            array[Article] result = apiInstance.getArticles(blockId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String blockId = blockId_example; // String | specified group id
    -        try {
    -            array[Article] result = apiInstance.getArticles(blockId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getArticles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *blockId = blockId_example; // specified group id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getArticlesWith:blockId
    -              completionHandler: ^(array[Article] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var blockId = blockId_example; // {{String}} specified group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getArticles(blockId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getArticlesExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var blockId = blockId_example;  // String | specified group id
    -
    -            try
    -            {
    -                array[Article] result = apiInstance.getArticles(blockId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getArticles: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$blockId = blockId_example; // String | specified group id
    -
    -try {
    -    $result = $api_instance->getArticles($blockId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getArticles: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $blockId = blockId_example; # String | specified group id
    -
    -eval { 
    -    my $result = $api_instance->getArticles(blockId => $blockId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getArticles: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -blockId = blockId_example # String | specified group id
    -
    -try: 
    -    api_response = api_instance.get_articles(blockId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getArticles: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    blockId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - block not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getLabels

    -

    -
    -
    -
    -

    -

    Get labels with which to organize the articles. Contacts requesting the labels will only retrieve the labels with which they are shared. Access granted to the app tokens of the account holder and connected contact tokens.

    -

    -
    -
    /content/labels
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//content/labels"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        try {
    -            array[Label] result = apiInstance.getLabels();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getLabels");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        try {
    -            array[Label] result = apiInstance.getLabels();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#getLabels");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance getLabelsWithCompletionHandler: 
    -              ^(array[Label] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getLabels(callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getLabelsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -
    -            try
    -            {
    -                array[Label] result = apiInstance.getLabels();
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.getLabels: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -
    -try {
    -    $result = $api_instance->getLabels();
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->getLabels: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -
    -eval { 
    -    my $result = $api_instance->getLabels();
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->getLabels: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -
    -try: 
    -    api_response = api_instance.get_labels()
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->getLabels: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - invalid token

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeArticle

    -

    -
    -
    -
    -

    -

    Remove specified article. Access granted to app token of account holder.

    -

    -
    -
    /content/articles/{articleId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            apiInstance.removeArticle(articleId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        try {
    -            apiInstance.removeArticle(articleId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticle");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance removeArticleWith:articleId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeArticle(articleId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeArticleExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -
    -            try
    -            {
    -                apiInstance.removeArticle(articleId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.removeArticle: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -
    -try {
    -    $api_instance->removeArticle($articleId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->removeArticle: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -
    -eval { 
    -    $api_instance->removeArticle(articleId => $articleId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->removeArticle: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -
    -try: 
    -    api_instance.remove_article(articleId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->removeArticle: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - invalid password

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeArticleAsset

    -

    -
    -
    -
    -

    -

    Remove an asset from an article. Access granted to app tokens of the account holder.

    -

    -
    -
    /content/articles/{articleId}/assets/{assetId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/assets/{assetId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            apiInstance.removeArticleAsset(articleId, assetId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            apiInstance.removeArticleAsset(articleId, assetId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticleAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *assetId = assetId_example; // specified asset id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance removeArticleAssetWith:articleId
    -    assetId:assetId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var assetId = assetId_example; // {{String}} specified asset id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeArticleAsset(articleId, assetId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeArticleAssetExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var assetId = assetId_example;  // String | specified asset id
    -
    -            try
    -            {
    -                apiInstance.removeArticleAsset(articleId, assetId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.removeArticleAsset: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$assetId = assetId_example; // String | specified asset id
    -
    -try {
    -    $api_instance->removeArticleAsset($articleId, $assetId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->removeArticleAsset: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $assetId = assetId_example; # String | specified asset id
    -
    -eval { 
    -    $api_instance->removeArticleAsset(articleId => $articleId, assetId => $assetId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->removeArticleAsset: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -assetId = assetId_example # String | specified asset id
    -
    -try: 
    -    api_instance.remove_article_asset(articleId, assetId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->removeArticleAsset: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    assetId* - - -
    -
    -
    - - String - - -
    - specified asset id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - asset or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeArticleTag

    -

    -
    -
    -
    -

    -

    Remove a tag from an article. Access granted to app tokens of account holder and the contact tokens of the account that created the tag.

    -

    -
    -
    /content/articles/{articleId}/tags/{tagId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/tags/{tagId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        try {
    -            apiInstance.removeArticleTag(articleId, tagId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String tagId = tagId_example; // String | specified tag id
    -        try {
    -            apiInstance.removeArticleTag(articleId, tagId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeArticleTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *tagId = tagId_example; // specified tag id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance removeArticleTagWith:articleId
    -    tagId:tagId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var tagId = tagId_example; // {{String}} specified tag id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeArticleTag(articleId, tagId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeArticleTagExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var tagId = tagId_example;  // String | specified tag id
    -
    -            try
    -            {
    -                apiInstance.removeArticleTag(articleId, tagId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.removeArticleTag: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$tagId = tagId_example; // String | specified tag id
    -
    -try {
    -    $api_instance->removeArticleTag($articleId, $tagId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->removeArticleTag: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $tagId = tagId_example; # String | specified tag id
    -
    -eval { 
    -    $api_instance->removeArticleTag(articleId => $articleId, tagId => $tagId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->removeArticleTag: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -tagId = tagId_example # String | specified tag id
    -
    -try: 
    -    api_instance.remove_article_tag(articleId, tagId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->removeArticleTag: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    tagId* - - -
    -
    -
    - - String - - -
    - specified tag id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - tag or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeLabel

    -

    -
    -
    -
    -

    -

    Remove specified label. Access granted the the app tokens of the account holder.

    -

    -
    -
    /content/labels/{labelId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/labels/{labelId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.removeLabel(labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.removeLabel(labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#removeLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *labelId = labelId_example; // specified label id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance removeLabelWith:labelId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var labelId = labelId_example; // {{String}} specified label id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeLabel(labelId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeLabelExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var labelId = labelId_example;  // String | specified label id
    -
    -            try
    -            {
    -                apiInstance.removeLabel(labelId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.removeLabel: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$labelId = labelId_example; // String | specified label id
    -
    -try {
    -    $api_instance->removeLabel($labelId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->removeLabel: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $labelId = labelId_example; # String | specified label id
    -
    -eval { 
    -    $api_instance->removeLabel(labelId => $labelId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->removeLabel: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -labelId = labelId_example # String | specified label id
    -
    -try: 
    -    api_instance.remove_label(labelId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->removeLabel: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    labelId* - - -
    -
    -
    - - String - - -
    - specified label id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - label not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setArticleConfirmed

    -

    -
    -
    -
    -

    -

    Set confirmed state of the article. Until the confirmed state has been set to true, the article will not be visible to contacts with which the article is shared. Access granted to the app tokens of the acocunt holder.

    -

    -
    -
    /content/articles/{articleId}/confirmed
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    +
    curl -X PUT\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Content-Type: application/json"\
    -"//content/articles/{articleId}/confirmed"
    +"//contact/view/revision"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    +import io.swagger.client.api.ContactApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ContentApiExample {
    +public class ContactApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        Boolean body = ; // Boolean | 
    -        try {
    -            apiInstance.setArticleConfirmed(articleId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleConfirmed");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        Boolean body = ; // Boolean | 
    -        try {
    -            apiInstance.setArticleConfirmed(articleId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleConfirmed");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -Boolean *body = ; //  (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance setArticleConfirmedWith:articleId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var opts = { 
    -  'body':  // {{Boolean}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setArticleConfirmed(articleId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setArticleConfirmedExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var body = new Boolean(); // Boolean |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setArticleConfirmed(articleId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.setArticleConfirmed: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$body = ; // Boolean | 
    -
    -try {
    -    $api_instance->setArticleConfirmed($articleId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->setArticleConfirmed: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean | 
    -
    -eval { 
    -    $api_instance->setArticleConfirmed(articleId => $articleId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->setArticleConfirmed: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -body =  # Boolean |  (optional)
    -
    -try: 
    -    api_instance.set_article_confirmed(articleId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->setArticleConfirmed: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setArticleGroup

    -

    -
    -
    -
    -

    -

    Assign a sharing group for the specified article. Contacts with the same sharing group will have access to the article. Access granted to app token of account holder.

    -

    -
    -
    /content/articles/{articleId}/groups/{groupId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/groups/{groupId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String groupId = groupId_example; // String | specified share group id
    -        try {
    -            apiInstance.setArticleGroup(articleId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String groupId = groupId_example; // String | specified share group id
    -        try {
    -            apiInstance.setArticleGroup(articleId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *groupId = groupId_example; // specified share group id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance setArticleGroupWith:articleId
    -    groupId:groupId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var groupId = groupId_example; // {{String}} specified share group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setArticleGroup(articleId, groupId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setArticleGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var groupId = groupId_example;  // String | specified share group id
    -
    -            try
    -            {
    -                apiInstance.setArticleGroup(articleId, groupId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.setArticleGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$groupId = groupId_example; // String | specified share group id
    -
    -try {
    -    $api_instance->setArticleGroup($articleId, $groupId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->setArticleGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $groupId = groupId_example; # String | specified share group id
    -
    -eval { 
    -    $api_instance->setArticleGroup(articleId => $articleId, groupId => $groupId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->setArticleGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -groupId = groupId_example # String | specified share group id
    -
    -try: 
    -    api_instance.set_article_group(articleId, groupId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->setArticleGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    groupId* - - -
    -
    -
    - - String - - -
    - specified share group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - group or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setArticleLabel

    -

    -
    -
    -
    -

    -

    Assign a label to an article. If the label has been assigned a sharing group the article will be accessible by contacts within that group. Access is granted to app tokens of the account holder.

    -

    -
    -
    /content/articles/{articleId}/labels/{labelId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/articles/{articleId}/labels/{labelId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.setArticleLabel(articleId, labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        String labelId = labelId_example; // String | specified label id
    -        try {
    -            apiInstance.setArticleLabel(articleId, labelId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -String *labelId = labelId_example; // specified label id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance setArticleLabelWith:articleId
    -    labelId:labelId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var labelId = labelId_example; // {{String}} specified label id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setArticleLabel(articleId, labelId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setArticleLabelExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var labelId = labelId_example;  // String | specified label id
    -
    -            try
    -            {
    -                apiInstance.setArticleLabel(articleId, labelId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.setArticleLabel: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$labelId = labelId_example; // String | specified label id
    -
    -try {
    -    $api_instance->setArticleLabel($articleId, $labelId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->setArticleLabel: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $labelId = labelId_example; # String | specified label id
    -
    -eval { 
    -    $api_instance->setArticleLabel(articleId => $articleId, labelId => $labelId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->setArticleLabel: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -labelId = labelId_example # String | specified label id
    -
    -try: 
    -    api_instance.set_article_label(articleId, labelId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->setArticleLabel: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    labelId* - - -
    -
    -
    - - String - - -
    - specified label id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - label or article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setArticleSubject

    -

    -
    -
    -
    -

    -

    Set subject for article. Access granted to app token of account holder.

    -

    -
    -
    /content/articles/{articleId}/subject
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//content/articles/{articleId}/subject"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        ArticleId_subject_body body = ; // ArticleId_subject_body | 
    -        try {
    -            apiInstance.setArticleSubject(articleId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleSubject");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String articleId = articleId_example; // String | specified article id
    -        ArticleId_subject_body body = ; // ArticleId_subject_body | 
    -        try {
    -            apiInstance.setArticleSubject(articleId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setArticleSubject");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *articleId = articleId_example; // specified article id
    -ArticleId_subject_body *body = ; //  (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance setArticleSubjectWith:articleId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var articleId = articleId_example; // {{String}} specified article id
    -var opts = { 
    -  'body':  // {{ArticleId_subject_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setArticleSubject(articleId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setArticleSubjectExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var articleId = articleId_example;  // String | specified article id
    -            var body = new ArticleId_subject_body(); // ArticleId_subject_body |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setArticleSubject(articleId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.setArticleSubject: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$articleId = articleId_example; // String | specified article id
    -$body = ; // ArticleId_subject_body | 
    -
    -try {
    -    $api_instance->setArticleSubject($articleId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->setArticleSubject: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $articleId = articleId_example; # String | specified article id
    -my $body = WWW::SwaggerClient::Object::ArticleId_subject_body->new(); # ArticleId_subject_body | 
    -
    -eval { 
    -    $api_instance->setArticleSubject(articleId => $articleId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->setArticleSubject: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -articleId = articleId_example # String | specified article id
    -body =  # ArticleId_subject_body |  (optional)
    -
    -try: 
    -    api_instance.set_article_subject(articleId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->setArticleSubject: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    articleId* - - -
    -
    -
    - - String - - -
    - specified article id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - article not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setLabelGroup

    -

    -
    -
    -
    -

    -

    Set a sharing group for the label and articles assigned to the label. Access granted to app tokens of the account holder.

    -

    -
    -
    /content/labels/{labelId}/groups/{groupId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//content/labels/{labelId}/groups/{groupId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.setLabelGroup(labelId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setLabelGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified label id
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.setLabelGroup(labelId, groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#setLabelGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *labelId = labelId_example; // specified label id
    -String *groupId = groupId_example; // specified group id
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance setLabelGroupWith:labelId
    -    groupId:groupId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var labelId = labelId_example; // {{String}} specified label id
    -var groupId = groupId_example; // {{String}} specified group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setLabelGroup(labelId, groupId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setLabelGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var labelId = labelId_example;  // String | specified label id
    -            var groupId = groupId_example;  // String | specified group id
    -
    -            try
    -            {
    -                apiInstance.setLabelGroup(labelId, groupId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.setLabelGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$labelId = labelId_example; // String | specified label id
    -$groupId = groupId_example; // String | specified group id
    -
    -try {
    -    $api_instance->setLabelGroup($labelId, $groupId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->setLabelGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $labelId = labelId_example; # String | specified label id
    -my $groupId = groupId_example; # String | specified group id
    -
    -eval { 
    -    $api_instance->setLabelGroup(labelId => $labelId, groupId => $groupId);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->setLabelGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -labelId = labelId_example # String | specified label id
    -groupId = groupId_example # String | specified group id
    -
    -try: 
    -    api_instance.set_label_group(labelId, groupId)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->setLabelGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    labelId* - - -
    -
    -
    - - String - - -
    - specified label id -
    -
    -
    - Required -
    -
    -
    -
    groupId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - group or label not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    updateLabel

    -

    -
    -
    -
    -

    -

    Update specified label. Access granted to app tokens of the account holder.

    -

    -
    -
    /content/labels/{labelId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//content/labels/{labelId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ContentApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified group id
    -        Labels_labelId_body body = ; // Labels_labelId_body | 
    -        try {
    -            apiInstance.updateLabel(labelId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#updateLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ContentApi;
    -
    -public class ContentApiExample {
    -
    -    public static void main(String[] args) {
    -        ContentApi apiInstance = new ContentApi();
    -        String labelId = labelId_example; // String | specified group id
    -        Labels_labelId_body body = ; // Labels_labelId_body | 
    -        try {
    -            apiInstance.updateLabel(labelId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ContentApi#updateLabel");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *labelId = labelId_example; // specified group id
    -Labels_labelId_body *body = ; //  (optional)
    -
    -ContentApi *apiInstance = [[ContentApi alloc] init];
    -
    -[apiInstance updateLabelWith:labelId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ContentApi()
    -var labelId = labelId_example; // {{String}} specified group id
    -var opts = { 
    -  'body':  // {{Labels_labelId_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.updateLabel(labelId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class updateLabelExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ContentApi();
    -            var labelId = labelId_example;  // String | specified group id
    -            var body = new Labels_labelId_body(); // Labels_labelId_body |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.updateLabel(labelId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ContentApi.updateLabel: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiContentApi();
    -$labelId = labelId_example; // String | specified group id
    -$body = ; // Labels_labelId_body | 
    -
    -try {
    -    $api_instance->updateLabel($labelId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ContentApi->updateLabel: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ContentApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ContentApi->new();
    -my $labelId = labelId_example; # String | specified group id
    -my $body = WWW::SwaggerClient::Object::Labels_labelId_body->new(); # Labels_labelId_body | 
    -
    -eval { 
    -    $api_instance->updateLabel(labelId => $labelId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ContentApi->updateLabel: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ContentApi()
    -labelId = labelId_example # String | specified group id
    -body =  # Labels_labelId_body |  (optional)
    -
    -try: 
    -    api_instance.update_label(labelId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ContentApi->updateLabel: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    labelId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    - -

    Status: 401 - invalid token

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -

    Conversation

    -
    -
    -
    -

    addDialogue

    -

    -
    -
    -
    -

    -

    Create and host a new dialogue. Authroization granted to an app token of the account holder.

    -

    -
    -
    /conversation/dialogues
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        try {
    -            array[Dialogue] result = apiInstance.addDialogue();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogue");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        try {
    -            array[Dialogue] result = apiInstance.addDialogue();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogue");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance addDialogueWithCompletionHandler: 
    -              ^(array[Dialogue] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addDialogue(callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addDialogueExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -
    -            try
    -            {
    -                array[Dialogue] result = apiInstance.addDialogue();
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.addDialogue: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -
    -try {
    -    $result = $api_instance->addDialogue();
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addDialogue: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -
    -eval { 
    -    my $result = $api_instance->addDialogue();
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->addDialogue: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -
    -try: 
    -    api_response = api_instance.add_dialogue()
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->addDialogue: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addDialogueInsight

    -

    -
    -
    -
    -

    -

    Add insight to a dialogue. This endpoint will automatically invoke the add insight on the contact's node. Authorization is granted to the app token of the account holder.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/cards/{cardId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}/cards/{cardId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String cardId = cardId_example; // String | specified card id
    -        try {
    -            apiInstance.addDialogueInsight(dialogueId, cardId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogueInsight");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String cardId = cardId_example; // String | specified card id
    -        try {
    -            apiInstance.addDialogueInsight(dialogueId, cardId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogueInsight");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *cardId = cardId_example; // specified card id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance addDialogueInsightWith:dialogueId
    -    cardId:cardId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var cardId = cardId_example; // {{String}} specified card id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.addDialogueInsight(dialogueId, cardId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addDialogueInsightExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var cardId = cardId_example;  // String | specified card id
    -
    -            try
    -            {
    -                apiInstance.addDialogueInsight(dialogueId, cardId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.addDialogueInsight: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$cardId = cardId_example; // String | specified card id
    -
    -try {
    -    $api_instance->addDialogueInsight($dialogueId, $cardId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addDialogueInsight: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $cardId = cardId_example; # String | specified card id
    -
    -eval { 
    -    $api_instance->addDialogueInsight(dialogueId => $dialogueId, cardId => $cardId);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->addDialogueInsight: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -cardId = cardId_example # String | specified card id
    -
    -try: 
    -    api_instance.add_dialogue_insight(dialogueId, cardId)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->addDialogueInsight: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    cardId* - - -
    -
    -
    - - String - - -
    - specified card id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - cardId or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addDialogueTopic

    -

    -
    -
    -
    -

    -

    Add a topic to a dialogue. The response contains the topicBlock ID and topicBlock revision to which the topic is assigned. Authorization granted to account holder app token or dialogue member contact token who is a member of the dialogue.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        try {
    -            inline_response_201_1 result = apiInstance.addDialogueTopic(dialogueId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        try {
    -            inline_response_201_1 result = apiInstance.addDialogueTopic(dialogueId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance addDialogueTopicWith:dialogueId
    -              completionHandler: ^(inline_response_201_1 output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addDialogueTopic(dialogueId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addDialogueTopicExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -
    -            try
    -            {
    -                inline_response_201_1 result = apiInstance.addDialogueTopic(dialogueId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.addDialogueTopic: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -
    -try {
    -    $result = $api_instance->addDialogueTopic($dialogueId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addDialogueTopic: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -
    -eval { 
    -    my $result = $api_instance->addDialogueTopic(dialogueId => $dialogueId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->addDialogueTopic: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -
    -try: 
    -    api_response = api_instance.add_dialogue_topic(dialogueId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->addDialogueTopic: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 201 - entry created

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 403 - inactive dialogue

    - - - -
    -
    - -

    Status: 404 - dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addInsightDialogue

    -

    -
    -
    -
    -

    -

    Create or update an insight. Because the insightId is not know by the contact, it is determined from the token and the dialogueId. Access granted to a connected contact token.

    -

    -
    -
    /conversation/insights/{dialogueId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"//conversation/insights/{dialogueId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | dialogue with insight id to update
    +        ContactApi apiInstance = new ContactApi();
             Long body = ; // Long | 
             try {
    -            'String' result = apiInstance.addInsightDialogue(dialogueId, body);
    -            System.out.println(result);
    +            apiInstance.setViewRevision(body);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addInsightDialogue");
    +            System.err.println("Exception when calling ContactApi#setViewRevision");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContactApi;
     
    -public class ConversationApiExample {
    +public class ContactApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | dialogue with insight id to update
    +        ContactApi apiInstance = new ContactApi();
             Long body = ; // Long | 
             try {
    -            'String' result = apiInstance.addInsightDialogue(dialogueId, body);
    -            System.out.println(result);
    +            apiInstance.setViewRevision(body);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addInsightDialogue");
    +            System.err.println("Exception when calling ContactApi#setViewRevision");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // dialogue with insight id to update
     Long *body = ; //  (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContactApi *apiInstance = [[ContactApi alloc] init];
     
    -[apiInstance addInsightDialogueWith:dialogueId
    -    body:body
    -              completionHandler: ^('String' output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    +[apiInstance setViewRevisionWith:body
    +              completionHandler: ^(NSError* error) {
                                 if (error) {
                                     NSLog(@"Error: %@", error);
                                 }
    @@ -24957,13 +21383,12 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} dialogue with insight id to update
    +var api = new DataBag.ContactApi()
     var opts = { 
       'body':  // {{Long}} 
     };
    @@ -24971,17 +21396,17 @@ var callback = function(error, data, response) {
       if (error) {
         console.error(error);
       } else {
    -    console.log('API called successfully. Returned data: ' + data);
    +    console.log('API called successfully.');
       }
     };
    -api.addInsightDialogue(dialogueId, opts, callback);
    +api.setViewRevision(opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -24990,24 +21415,22 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class addInsightDialogueExample
    +    public class setViewRevisionExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | dialogue with insight id to update
    +            var apiInstance = new ContactApi();
                 var body = new Long(); // Long |  (optional) 
     
                 try
                 {
    -                'String' result = apiInstance.addInsightDialogue(dialogueId, body);
    -                Debug.WriteLine(result);
    +                apiInstance.setViewRevision(body);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.addInsightDialogue: " + e.Message );
    +                Debug.Print("Exception when calling ContactApi.setViewRevision: " + e.Message );
                 }
             }
         }
    @@ -25015,44 +21438,40 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | dialogue with insight id to update
    +$api_instance = new Swagger\Client\ApiContactApi();
     $body = ; // Long | 
     
     try {
    -    $result = $api_instance->addInsightDialogue($dialogueId, $body);
    -    print_r($result);
    +    $api_instance->setViewRevision($body);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addInsightDialogue: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContactApi->setViewRevision: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContactApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | dialogue with insight id to update
    +my $api_instance = WWW::SwaggerClient::ContactApi->new();
     my $body = WWW::SwaggerClient::Object::Long->new(); # Long | 
     
     eval { 
    -    my $result = $api_instance->addInsightDialogue(dialogueId => $dialogueId, body => $body);
    -    print Dumper($result);
    +    $api_instance->setViewRevision(body => $body);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->addInsightDialogue: $@\n";
    +    warn "Exception when calling ContactApi->setViewRevision: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -25061,49 +21480,18 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | dialogue with insight id to update
    +api_instance = swagger_client.ContactApi()
     body =  # Long |  (optional)
     
     try: 
    -    api_response = api_instance.add_insight_dialogue(dialogueId, body=body)
    -    pprint(api_response)
    +    api_instance.set_view_revision(body=body)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->addInsightDialogue: %s\n" % e)
    + print("Exception when calling ContactApi->setViewRevision: %s\n" % e)

    Parameters

    -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - dialogue with insight id to update -
    -
    -
    - Required -
    -
    -
    -
    Body parameters
    @@ -25140,12 +21528,12 @@ except ApiException as e: } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_addInsightDialogue_body'); + var result = $('#d2e199_setViewRevision_body'); result.empty(); result.append(view.render()); }); -
    +
    @@ -25153,57 +21541,7 @@ except ApiException as e:

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    +

    Status: 200 - revision set

    @@ -25211,7 +21549,15 @@ except ApiException as e:
    -

    Status: 404 - dialogue not found

    +

    Status: 401 - not authorized

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -25230,114 +21576,105 @@ except ApiException as e:

    -
    -
    +
    +
    +

    Content

    +
    +
    -

    addTopicAsset

    +

    addChannel

    -

    Add an asset to a topic. The asset will be processed and transcoded according to the specified transformation. Authorization granted to account holder app token or dialogue member contact token who is also the creator of the topic.

    +

    Add a channel.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/assets
    +
    /content/channels

    Usage and SDK Samples

    -
    +
    curl -X POST\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    --H "Content-Type: multipart/form-data"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/assets?transforms="
    +-H "Content-Type: application/json"\ +"//content/channels"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        byte[] fileName = fileName_example; // byte[] | 
    -        array[String] transforms = ; // array[String] | transforms to apply
    +        ContentApi apiInstance = new ContentApi();
    +        ChannelParams body = ; // ChannelParams | 
             try {
    -            Asset result = apiInstance.addTopicAsset(dialogueId, topicId, fileName, transforms);
    +            Channel result = apiInstance.addChannel(body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addTopicAsset");
    +            System.err.println("Exception when calling ContentApi#addChannel");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        byte[] fileName = fileName_example; // byte[] | 
    -        array[String] transforms = ; // array[String] | transforms to apply
    +        ContentApi apiInstance = new ContentApi();
    +        ChannelParams body = ; // ChannelParams | 
             try {
    -            Asset result = apiInstance.addTopicAsset(dialogueId, topicId, fileName, transforms);
    +            Channel result = apiInstance.addChannel(body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addTopicAsset");
    +            System.err.println("Exception when calling ContentApi#addChannel");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -byte[] *fileName = fileName_example; //  (optional)
    -array[String] *transforms = ; // transforms to apply (optional)
    +ChannelParams *body = ; //  (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance addTopicAssetWith:dialogueId
    -    topicId:topicId
    -    fileName:fileName
    -    transforms:transforms
    -              completionHandler: ^(Asset output, NSError* error) {
    +[apiInstance addChannelWith:body
    +              completionHandler: ^(Channel output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -25348,13 +21685,782 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var opts = { 
    +  'body':  // {{ChannelParams}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.addChannel(opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class addChannelExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var body = new ChannelParams(); // ChannelParams |  (optional) 
    +
    +            try
    +            {
    +                Channel result = apiInstance.addChannel(body);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.addChannel: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$body = ; // ChannelParams | 
    +
    +try {
    +    $result = $api_instance->addChannel($body);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->addChannel: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $body = WWW::SwaggerClient::Object::ChannelParams->new(); # ChannelParams | 
    +
    +eval { 
    +    my $result = $api_instance->addChannel(body => $body);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->addChannel: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +body =  # ChannelParams |  (optional)
    +
    +try: 
    +    api_response = api_instance.add_channel(body=body)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->addChannel: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 201 - entry created

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    addChannelTopic

    +

    +
    +
    +
    +

    +

    Add a topic to channel channel.

    +

    +
    +
    /content/channels/{channelId}/topics
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X POST\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +-H "Content-Type: application/json"\
    +"//content/channels/{channelId}/topics?confirm="
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        Subject body = ; // Subject | 
    +        Boolean confirm = true; // Boolean | set if intial state is confirmed
    +        try {
    +            Topic result = apiInstance.addChannelTopic(channelId, body, confirm);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#addChannelTopic");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        Subject body = ; // Subject | 
    +        Boolean confirm = true; // Boolean | set if intial state is confirmed
    +        try {
    +            Topic result = apiInstance.addChannelTopic(channelId, body, confirm);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#addChannelTopic");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +Subject *body = ; //  (optional)
    +Boolean *confirm = true; // set if intial state is confirmed (optional)
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance addChannelTopicWith:channelId
    +    body:body
    +    confirm:confirm
    +              completionHandler: ^(Topic output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var opts = { 
    +  'body':  // {{Subject}} 
    +  'confirm': true // {{Boolean}} set if intial state is confirmed
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.addChannelTopic(channelId, opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class addChannelTopicExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var body = new Subject(); // Subject |  (optional) 
    +            var confirm = true;  // Boolean | set if intial state is confirmed (optional) 
    +
    +            try
    +            {
    +                Topic result = apiInstance.addChannelTopic(channelId, body, confirm);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.addChannelTopic: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$body = ; // Subject | 
    +$confirm = true; // Boolean | set if intial state is confirmed
    +
    +try {
    +    $result = $api_instance->addChannelTopic($channelId, $body, $confirm);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->addChannelTopic: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
    +my $confirm = true; # Boolean | set if intial state is confirmed
    +
    +eval { 
    +    my $result = $api_instance->addChannelTopic(channelId => $channelId, body => $body, confirm => $confirm);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->addChannelTopic: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +body =  # Subject |  (optional)
    +confirm = true # Boolean | set if intial state is confirmed (optional)
    +
    +try: 
    +    api_response = api_instance.add_channel_topic(channelId, body=body, confirm=confirm)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->addChannelTopic: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + +
    Query parameters
    + + + + + + + + +
    NameDescription
    confirm + + +
    +
    +
    + + Boolean + + +
    + set if intial state is confirmed +
    +
    +
    +
    +
    + +

    Responses

    +

    Status: 201 - entry created

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    addChannelTopicAsset

    +

    +
    +
    +
    +

    +

    Add an an asset to the to an channel. The original posted asset is referenced in the asset list with a null transform. The transformed assets are referenced accordingly. Transforming the asset strips it of metadata and transcodes it into a specified format. Access is granted to the app token of the account holder.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/assets
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X POST\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +-H "Content-Type: multipart/form-data"\
    +"//content/channels/{channelId}/topics/{topicId}/assets?transforms="
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        byte[] fileName = fileName_example; // byte[] | 
    +        array[String] transforms = ; // array[String] | transforms to apply
    +        try {
    +            array[Asset] result = apiInstance.addChannelTopicAsset(channelId, topicId, fileName, transforms);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#addChannelTopicAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        byte[] fileName = fileName_example; // byte[] | 
    +        array[String] transforms = ; // array[String] | transforms to apply
    +        try {
    +            array[Asset] result = apiInstance.addChannelTopicAsset(channelId, topicId, fileName, transforms);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#addChannelTopicAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +byte[] *fileName = fileName_example; //  (optional)
    +array[String] *transforms = ; // transforms to apply (optional)
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance addChannelTopicAssetWith:channelId
    +    topicId:topicId
    +    fileName:fileName
    +    transforms:transforms
    +              completionHandler: ^(array[Asset] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
     var opts = { 
       'fileName': fileName_example // {{byte[]}} 
    @@ -25367,14 +22473,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.addTopicAsset(dialogueIdtopicId, opts, callback);
    +api.addChannelTopicAsset(channelIdtopicId, opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -25383,26 +22489,26 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class addTopicAssetExample
    +    public class addChannelTopicAssetExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
                 var fileName = fileName_example;  // byte[] |  (optional) 
                 var transforms = new array[String](); // array[String] | transforms to apply (optional) 
     
                 try
                 {
    -                Asset result = apiInstance.addTopicAsset(dialogueId, topicId, fileName, transforms);
    +                array[Asset] result = apiInstance.addChannelTopicAsset(channelId, topicId, fileName, transforms);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.addTopicAsset: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.addChannelTopicAsset: " + e.Message );
                 }
             }
         }
    @@ -25410,48 +22516,48 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
     $fileName = fileName_example; // byte[] | 
     $transforms = ; // array[String] | transforms to apply
     
     try {
    -    $result = $api_instance->addTopicAsset($dialogueId, $topicId, $fileName, $transforms);
    +    $result = $api_instance->addChannelTopicAsset($channelId, $topicId, $fileName, $transforms);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addTopicAsset: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->addChannelTopicAsset: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
     my $fileName = fileName_example; # byte[] | 
     my $transforms = []; # array[String] | transforms to apply
     
     eval { 
    -    my $result = $api_instance->addTopicAsset(dialogueId => $dialogueId, topicId => $topicId, fileName => $fileName, transforms => $transforms);
    +    my $result = $api_instance->addChannelTopicAsset(channelId => $channelId, topicId => $topicId, fileName => $fileName, transforms => $transforms);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->addTopicAsset: $@\n";
    +    warn "Exception when calling ContentApi->addChannelTopicAsset: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -25460,17 +22566,17 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
     fileName = fileName_example # byte[] |  (optional)
     transforms =  # array[String] | transforms to apply (optional)
     
     try: 
    -    api_response = api_instance.add_topic_asset(dialogueId, topicId, fileName=fileName, transforms=transforms)
    +    api_response = api_instance.add_channel_topic_asset(channelId, topicId, fileName=fileName, transforms=transforms)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->addTopicAsset: %s\n" % e)
    + print("Exception when calling ContentApi->addChannelTopicAsset: %s\n" % e)
    @@ -25482,11 +22588,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -25494,7 +22600,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -25508,7 +22614,7 @@ except ApiException as e: -
    +
    @@ -25540,7 +22646,7 @@ except ApiException as e: -
    +
    @@ -25567,7 +22673,7 @@ except ApiException as e: -
    +
    @@ -25589,2922 +22695,14 @@ except ApiException as e:
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 403 - inactive dialogue

    - - - -
    -
    - -

    Status: 404 - topic or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    addTopicTag

    -

    -
    -
    -
    -

    -

    Add a tag to specified topic. Authorization granted to account holder app token or dialogue member contact token who has access to the topic. The body of the post contains the subject of the tag, which can have no associated assets.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tags
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tags"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        TopicId_tags_body body = ; // TopicId_tags_body | 
    -        try {
    -            inline_response_200_2 result = apiInstance.addTopicTag(dialogueId, topicId, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addTopicTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        TopicId_tags_body body = ; // TopicId_tags_body | 
    -        try {
    -            inline_response_200_2 result = apiInstance.addTopicTag(dialogueId, topicId, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#addTopicTag");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -TopicId_tags_body *body = ; //  (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance addTopicTagWith:dialogueId
    -    topicId:topicId
    -    body:body
    -              completionHandler: ^(inline_response_200_2 output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var opts = { 
    -  'body':  // {{TopicId_tags_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addTopicTag(dialogueIdtopicId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addTopicTagExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var body = new TopicId_tags_body(); // TopicId_tags_body |  (optional) 
    -
    -            try
    -            {
    -                inline_response_200_2 result = apiInstance.addTopicTag(dialogueId, topicId, body);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.addTopicTag: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$body = ; // TopicId_tags_body | 
    -
    -try {
    -    $result = $api_instance->addTopicTag($dialogueId, $topicId, $body);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->addTopicTag: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $body = WWW::SwaggerClient::Object::TopicId_tags_body->new(); # TopicId_tags_body | 
    -
    -eval { 
    -    my $result = $api_instance->addTopicTag(dialogueId => $dialogueId, topicId => $topicId, body => $body);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->addTopicTag: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -body =  # TopicId_tags_body |  (optional)
    -
    -try: 
    -    api_response = api_instance.add_topic_tag(dialogueId, topicId, body=body)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->addTopicTag: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 201 - entry created

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 403 - inactive dialogue

    - - - -
    -
    - -

    Status: 404 - topic or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut

    -

    -
    -
    -
    -

    -

    After the assets have been uploaded and the subject has been set, the topic should be set to confirmed (true) to make the topic available to others. Authorization granted to account holder app token or dialogue member contact token who is also the creator of the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/confirmed
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/confirmed"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        Boolean body = ; // Boolean | 
    -        try {
    -            apiInstance.conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut(dialogueId, topicId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        Boolean body = ; // Boolean | 
    -        try {
    -            apiInstance.conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut(dialogueId, topicId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -Boolean *body = ; //  (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance conversationDialoguesDialogueIdTopicsTopicIdConfirmedPutWith:dialogueId
    -    topicId:topicId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var opts = { 
    -  'body':  // {{Boolean}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut(dialogueIdtopicId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class conversationDialoguesDialogueIdTopicsTopicIdConfirmedPutExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var body = new Boolean(); // Boolean |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut(dialogueId, topicId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$body = ; // Boolean | 
    -
    -try {
    -    $api_instance->conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut($dialogueId, $topicId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean | 
    -
    -eval { 
    -    $api_instance->conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut(dialogueId => $dialogueId, topicId => $topicId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -body =  # Boolean |  (optional)
    -
    -try: 
    -    api_instance.conversation_dialogues_dialogue_id_topics_topic_id_confirmed_put(dialogueId, topicId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->conversationDialoguesDialogueIdTopicsTopicIdConfirmedPut: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 403 - inactive dialogue

    - - - -
    -
    - -

    Status: 404 - topic or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getDialogueTopic

    -

    -
    -
    -
    -

    -

    Retrieve a specified dialogue topic. Authorization granted to account holder app token or dialogue member contact token who is a member of the dialogue.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            Topic result = apiInstance.getDialogueTopic(dialogueId, topicId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            Topic result = apiInstance.getDialogueTopic(dialogueId, topicId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getDialogueTopicWith:dialogueId
    -    topicId:topicId
    -              completionHandler: ^(Topic output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getDialogueTopic(dialogueId, topicId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getDialogueTopicExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -
    -            try
    -            {
    -                Topic result = apiInstance.getDialogueTopic(dialogueId, topicId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getDialogueTopic: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -
    -try {
    -    $result = $api_instance->getDialogueTopic($dialogueId, $topicId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getDialogueTopic: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -
    -eval { 
    -    my $result = $api_instance->getDialogueTopic(dialogueId => $dialogueId, topicId => $topicId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getDialogueTopic: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -
    -try: 
    -    api_response = api_instance.get_dialogue_topic(dialogueId, topicId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getDialogueTopic: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - topic or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getDialogueTopicSubjectField

    -

    -
    -
    -
    -

    -

    Base64 decode and retrieve a specified field from subject of dialogue topic. Authorization granted to account holder app token or dialogue member contact token who is a member of the dialogue.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/subject/{field}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/octet-stream"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/subject/{field}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String field = field_example; // String | field to base64 decode and retrieve
    -        try {
    -            byte[] result = apiInstance.getDialogueTopicSubjectField(dialogueId, topicId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogueTopicSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String field = field_example; // String | field to base64 decode and retrieve
    -        try {
    -            byte[] result = apiInstance.getDialogueTopicSubjectField(dialogueId, topicId, field);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogueTopicSubjectField");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -String *field = field_example; // field to base64 decode and retrieve
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getDialogueTopicSubjectFieldWith:dialogueId
    -    topicId:topicId
    -    field:field
    -              completionHandler: ^(byte[] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var field = field_example; // {{String}} field to base64 decode and retrieve
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getDialogueTopicSubjectField(dialogueId, topicId, field, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getDialogueTopicSubjectFieldExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var field = field_example;  // String | field to base64 decode and retrieve
    -
    -            try
    -            {
    -                byte[] result = apiInstance.getDialogueTopicSubjectField(dialogueId, topicId, field);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getDialogueTopicSubjectField: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$field = field_example; // String | field to base64 decode and retrieve
    -
    -try {
    -    $result = $api_instance->getDialogueTopicSubjectField($dialogueId, $topicId, $field);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getDialogueTopicSubjectField: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $field = field_example; # String | field to base64 decode and retrieve
    -
    -eval { 
    -    my $result = $api_instance->getDialogueTopicSubjectField(dialogueId => $dialogueId, topicId => $topicId, field => $field);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getDialogueTopicSubjectField: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -field = field_example # String | field to base64 decode and retrieve
    -
    -try: 
    -    api_response = api_instance.get_dialogue_topic_subject_field(dialogueId, topicId, field)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getDialogueTopicSubjectField: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    field* - - -
    -
    -
    - - String - - -
    - field to base64 decode and retrieve -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - field, topic or dialogue not found

    - - - -
    -
    - -

    Status: 405 - invalid field

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getDialogues

    -

    -
    -
    -
    -

    -

    Retrieve all dialogues.

    -

    -
    -
    /conversation/dialogues
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        try {
    -            array[Dialogue] result = apiInstance.getDialogues();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogues");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        try {
    -            array[Dialogue] result = apiInstance.getDialogues();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getDialogues");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getDialoguesWithCompletionHandler: 
    -              ^(array[Dialogue] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getDialogues(callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getDialoguesExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -
    -            try
    -            {
    -                array[Dialogue] result = apiInstance.getDialogues();
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getDialogues: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -
    -try {
    -    $result = $api_instance->getDialogues();
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getDialogues: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -
    -eval { 
    -    my $result = $api_instance->getDialogues();
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getDialogues: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -
    -try: 
    -    api_response = api_instance.get_dialogues()
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getDialogues: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getInsights

    -

    -
    -
    -
    -

    -

    Retrieve all insights. Access granted to app token for the account holder.

    -

    -
    -
    /conversation/insights
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/insights?dismissed="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dismissed = dismissed_example; // String | if dismissed insights should be included
    -        try {
    -            array[Insight] result = apiInstance.getInsights(dismissed);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getInsights");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dismissed = dismissed_example; // String | if dismissed insights should be included
    -        try {
    -            array[Insight] result = apiInstance.getInsights(dismissed);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getInsights");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dismissed = dismissed_example; // if dismissed insights should be included (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getInsightsWith:dismissed
    -              completionHandler: ^(array[Insight] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var opts = { 
    -  'dismissed': dismissed_example // {{String}} if dismissed insights should be included
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getInsights(opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getInsightsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dismissed = dismissed_example;  // String | if dismissed insights should be included (optional) 
    -
    -            try
    -            {
    -                array[Insight] result = apiInstance.getInsights(dismissed);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getInsights: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dismissed = dismissed_example; // String | if dismissed insights should be included
    -
    -try {
    -    $result = $api_instance->getInsights($dismissed);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getInsights: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dismissed = dismissed_example; # String | if dismissed insights should be included
    -
    -eval { 
    -    my $result = $api_instance->getInsights(dismissed => $dismissed);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getInsights: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dismissed = dismissed_example # String | if dismissed insights should be included (optional)
    -
    -try: 
    -    api_response = api_instance.get_insights(dismissed=dismissed)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getInsights: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    dismissed - - -
    -
    -
    - - String - - -
    - if dismissed insights should be included -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTopicAsset

    -

    -
    -
    -
    -

    -

    Retrieve an asset associated with a topic. All transformed assets can be retrieved by anyone with access to the topic, but the original asset can only be retrieved by the author of the topic. Authorization granted to account holder app token or dialogue member contact token who is also the creator of the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/assets/{assetId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/octet-stream"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/assets/{assetId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            byte[] result = apiInstance.getTopicAsset(dialogueId, topicId, assetId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String assetId = assetId_example; // String | specified asset id
    -        try {
    -            byte[] result = apiInstance.getTopicAsset(dialogueId, topicId, assetId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicAsset");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -String *assetId = assetId_example; // specified asset id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getTopicAssetWith:dialogueId
    -    topicId:topicId
    -    assetId:assetId
    -              completionHandler: ^(byte[] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var assetId = assetId_example; // {{String}} specified asset id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTopicAsset(dialogueId, topicId, assetId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTopicAssetExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var assetId = assetId_example;  // String | specified asset id
    -
    -            try
    -            {
    -                byte[] result = apiInstance.getTopicAsset(dialogueId, topicId, assetId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getTopicAsset: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$assetId = assetId_example; // String | specified asset id
    -
    -try {
    -    $result = $api_instance->getTopicAsset($dialogueId, $topicId, $assetId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicAsset: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $assetId = assetId_example; # String | specified asset id
    -
    -eval { 
    -    my $result = $api_instance->getTopicAsset(dialogueId => $dialogueId, topicId => $topicId, assetId => $assetId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicAsset: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -assetId = assetId_example # String | specified asset id
    -
    -try: 
    -    api_response = api_instance.get_topic_asset(dialogueId, topicId, assetId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicAsset: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    assetId* - - -
    -
    -
    - - String - - -
    - specified asset id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - asset, topic or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTopicAssets

    -

    -
    -
    -
    -

    -

    Get all assets associated with the specified topic. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/assets
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/assets"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            array[Asset] result = apiInstance.getTopicAssets(dialogueId, topicId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicAssets");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            array[Asset] result = apiInstance.getTopicAssets(dialogueId, topicId);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicAssets");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getTopicAssetsWith:dialogueId
    -    topicId:topicId
    -              completionHandler: ^(array[Asset] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTopicAssets(dialogueId, topicId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTopicAssetsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -
    -            try
    -            {
    -                array[Asset] result = apiInstance.getTopicAssets(dialogueId, topicId);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getTopicAssets: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -
    -try {
    -    $result = $api_instance->getTopicAssets($dialogueId, $topicId);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicAssets: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -
    -eval { 
    -    my $result = $api_instance->getTopicAssets(dialogueId => $dialogueId, topicId => $topicId);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicAssets: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -
    -try: 
    -    api_response = api_instance.get_topic_assets(dialogueId, topicId)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicAssets: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 201 - success

    - - - -
    -
    -
    +
    +
    - +
    @@ -28553,7 +22751,23 @@ except ApiException as e:
    -

    Status: 404 - topic or dialogue not found

    +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 406 - storage limit reached

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -28572,873 +22786,109 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getTopicBlock

    +

    addChannelTopicTag

    -

    Get the topics within a topicBlock. Only the account holder and the topic creator will retrieve pending topics. Authorization granted to account holder app token or dialogue member contact token who is also a member of the dialogue

    +

    Add a tag to channel topic.


    -
    /conversation/dialogues/{dialogueId}/topicBlocks/{blockId}
    +
    /content/channels/{channelId}/topics/{topicId}/tags

    Usage and SDK Samples

    -
    -
    curl -X GET\
    +                          
    +
    curl -X POST\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topicBlocks/{blockId}?types="
    +-H "Content-Type: application/json"\ +"//content/channels/{channelId}/topics/{topicId}/tags"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String blockId = blockId_example; // String | specified group id
    -        array[String] types = ; // array[String] | limit results to topics of types
    -        try {
    -            array[Topic] result = apiInstance.getTopicBlock(dialogueId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicBlock");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String blockId = blockId_example; // String | specified group id
    -        array[String] types = ; // array[String] | limit results to topics of types
    -        try {
    -            array[Topic] result = apiInstance.getTopicBlock(dialogueId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicBlock");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *blockId = blockId_example; // specified group id
    -array[String] *types = ; // limit results to topics of types (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getTopicBlockWith:dialogueId
    -    blockId:blockId
    -    types:types
    -              completionHandler: ^(array[Topic] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var blockId = blockId_example; // {{String}} specified group id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to topics of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTopicBlock(dialogueId, blockId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTopicBlockExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var blockId = blockId_example;  // String | specified group id
    -            var types = new array[String](); // array[String] | limit results to topics of types (optional) 
    -
    -            try
    -            {
    -                array[Topic] result = apiInstance.getTopicBlock(dialogueId, blockId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getTopicBlock: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$blockId = blockId_example; // String | specified group id
    -$types = ; // array[String] | limit results to topics of types
    -
    -try {
    -    $result = $api_instance->getTopicBlock($dialogueId, $blockId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicBlock: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $blockId = blockId_example; # String | specified group id
    -my $types = []; # array[String] | limit results to topics of types
    -
    -eval { 
    -    my $result = $api_instance->getTopicBlock(dialogueId => $dialogueId, blockId => $blockId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicBlock: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -blockId = blockId_example # String | specified group id
    -types =  # array[String] | limit results to topics of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_topic_block(dialogueId, blockId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicBlock: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    blockId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to topics of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - block or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTopicBlockView

    -

    -
    -
    -
    -

    -

    Get a view of the topicBlocks within a dialogue. Authorization granted to account holder app token or dialogue member contact token who is also a member of the dialogue

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topicBlocks/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topicBlocks/view?types="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        array[String] types = ; // array[String] | limit results to topics of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getTopicBlockView(dialogueId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        array[String] types = ; // array[String] | limit results to topics of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getTopicBlockView(dialogueId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicBlockView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -array[String] *types = ; // limit results to topics of types (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getTopicBlockViewWith:dialogueId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to topics of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTopicBlockView(dialogueId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTopicBlockViewExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var types = new array[String](); // array[String] | limit results to topics of types (optional) 
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getTopicBlockView(dialogueId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getTopicBlockView: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$types = ; // array[String] | limit results to topics of types
    -
    -try {
    -    $result = $api_instance->getTopicBlockView($dialogueId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicBlockView: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $types = []; # array[String] | limit results to topics of types
    -
    -eval { 
    -    my $result = $api_instance->getTopicBlockView(dialogueId => $dialogueId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicBlockView: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -types =  # array[String] | limit results to topics of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_topic_block_view(dialogueId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicBlockView: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to topics of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTopicTag

    -

    -
    -
    -
    -

    -

    Retrieve specified tag on the topic. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String tagId = tagId_example; // String | specified tag id
    +        Subject body = ; // Subject | 
             try {
    -            Tag result = apiInstance.getTopicTag(dialogueId, topicId, tagId);
    +            Tag result = apiInstance.addChannelTopicTag(channelId, topicId, body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTag");
    +            System.err.println("Exception when calling ContentApi#addChannelTopicTag");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String tagId = tagId_example; // String | specified tag id
    +        Subject body = ; // Subject | 
             try {
    -            Tag result = apiInstance.getTopicTag(dialogueId, topicId, tagId);
    +            Tag result = apiInstance.addChannelTopicTag(channelId, topicId, body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTag");
    +            System.err.println("Exception when calling ContentApi#addChannelTopicTag");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
    -String *tagId = tagId_example; // specified tag id
    +Subject *body = ; //  (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance getTopicTagWith:dialogueId
    +[apiInstance addChannelTopicTagWith:channelId
         topicId:topicId
    -    tagId:tagId
    +    body:body
                   completionHandler: ^(Tag output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -29450,16 +22900,17 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
    -var tagId = tagId_example; // {{String}} specified tag id
    -
    +var opts = { 
    +  'body':  // {{Subject}} 
    +};
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
    @@ -29467,14 +22918,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getTopicTag(dialogueId, topicId, tagId, callback);
    +api.addChannelTopicTag(channelIdtopicId, opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -29483,25 +22934,25 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getTopicTagExample
    +    public class addChannelTopicTagExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
    -            var tagId = tagId_example;  // String | specified tag id
    +            var body = new Subject(); // Subject |  (optional) 
     
                 try
                 {
    -                Tag result = apiInstance.getTopicTag(dialogueId, topicId, tagId);
    +                Tag result = apiInstance.addChannelTopicTag(channelId, topicId, body);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.getTopicTag: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.addChannelTopicTag: " + e.Message );
                 }
             }
         }
    @@ -29509,46 +22960,46 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
    -$tagId = tagId_example; // String | specified tag id
    +$body = ; // Subject | 
     
     try {
    -    $result = $api_instance->getTopicTag($dialogueId, $topicId, $tagId);
    +    $result = $api_instance->addChannelTopicTag($channelId, $topicId, $body);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicTag: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->addChannelTopicTag: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
    -my $tagId = tagId_example; # String | specified tag id
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
     
     eval { 
    -    my $result = $api_instance->getTopicTag(dialogueId => $dialogueId, topicId => $topicId, tagId => $tagId);
    +    my $result = $api_instance->addChannelTopicTag(channelId => $channelId, topicId => $topicId, body => $body);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicTag: $@\n";
    +    warn "Exception when calling ContentApi->addChannelTopicTag: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -29557,16 +23008,16 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
    -tagId = tagId_example # String | specified tag id
    +body =  # Subject |  (optional)
     
     try: 
    -    api_response = api_instance.get_topic_tag(dialogueId, topicId, tagId)
    +    api_response = api_instance.add_channel_topic_tag(channelId, topicId, body=body)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicTag: %s\n" % e)
    + print("Exception when calling ContentApi->addChannelTopicTag: %s\n" % e)
    @@ -29578,11 +23029,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -29590,7 +23041,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -29604,7 +23055,7 @@ except ApiException as e: -
    +
    @@ -29622,51 +23073,71 @@ except ApiException as e:
    - tagId* - - - -
    -
    -
    - - String - - -
    - specified tag id -
    -
    -
    - Required -
    -
    -
    - - + + + +
    Body parameters
    + + + + + + + +
    NameDescription
    body + + + +
    +
    - -

    Responses

    -

    Status: 201 - success

    +

    Status: 201 - entry created

    -
    -
    +
    +
    - +
    @@ -29707,7 +23178,7 @@ except ApiException as e:
    -

    Status: 404 - tag, topic, or dialogue not found

    +

    Status: 410 - account disabled

    @@ -29726,109 +23197,105 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getTopicTagBlockView

    +

    clearChannelCard

    -

    Get a view of all of all tagBlocks. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    +

    Clear write access to channel for card. Access granted to app tokens for account holder.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/view
    +
    /content/channels/{channelId}/cards/{cardId}

    Usage and SDK Samples

    -
    -
    curl -X GET\
    +                          
    +
    curl -X DELETE\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/view?types="
    +"//content/channels/{channelId}/cards/{cardId}"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        array[String] types = ; // array[String] | limit results to articles of types
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String cardId = cardId_example; // String | specified card id
             try {
    -            array[inline_response_200_1] result = apiInstance.getTopicTagBlockView(dialogueId, topicId, types);
    +            Channel result = apiInstance.clearChannelCard(channelId, cardId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagBlockView");
    +            System.err.println("Exception when calling ContentApi#clearChannelCard");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        array[String] types = ; // array[String] | limit results to articles of types
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String cardId = cardId_example; // String | specified card id
             try {
    -            array[inline_response_200_1] result = apiInstance.getTopicTagBlockView(dialogueId, topicId, types);
    +            Channel result = apiInstance.clearChannelCard(channelId, cardId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagBlockView");
    +            System.err.println("Exception when calling ContentApi#clearChannelCard");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -array[String] *types = ; // limit results to articles of types (optional)
    +String *channelId = channelId_example; // specified channel id
    +String *cardId = cardId_example; // specified card id
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance getTopicTagBlockViewWith:dialogueId
    -    topicId:topicId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    +[apiInstance clearChannelCardWith:channelId
    +    cardId:cardId
    +              completionHandler: ^(Channel output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -29839,17 +23306,15 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to articles of types
    -};
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var cardId = cardId_example; // {{String}} specified card id
    +
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
    @@ -29857,14 +23322,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getTopicTagBlockView(dialogueId, topicId, opts, callback);
    +api.clearChannelCard(channelId, cardId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -29873,25 +23338,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getTopicTagBlockViewExample
    +    public class clearChannelCardExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var types = new array[String](); // array[String] | limit results to articles of types (optional) 
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var cardId = cardId_example;  // String | specified card id
     
                 try
                 {
    -                array[inline_response_200_1] result = apiInstance.getTopicTagBlockView(dialogueId, topicId, types);
    +                Channel result = apiInstance.clearChannelCard(channelId, cardId);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.getTopicTagBlockView: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.clearChannelCard: " + e.Message );
                 }
             }
         }
    @@ -29899,46 +23363,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$types = ; // array[String] | limit results to articles of types
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$cardId = cardId_example; // String | specified card id
     
     try {
    -    $result = $api_instance->getTopicTagBlockView($dialogueId, $topicId, $types);
    +    $result = $api_instance->clearChannelCard($channelId, $cardId);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicTagBlockView: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->clearChannelCard: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $types = []; # array[String] | limit results to articles of types
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $cardId = cardId_example; # String | specified card id
     
     eval { 
    -    my $result = $api_instance->getTopicTagBlockView(dialogueId => $dialogueId, topicId => $topicId, types => $types);
    +    my $result = $api_instance->clearChannelCard(channelId => $channelId, cardId => $cardId);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicTagBlockView: $@\n";
    +    warn "Exception when calling ContentApi->clearChannelCard: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -29947,16 +23409,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -types =  # array[String] | limit results to articles of types (optional)
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +cardId = cardId_example # String | specified card id
     
     try: 
    -    api_response = api_instance.get_topic_tag_block_view(dialogueId, topicId, types=types)
    +    api_response = api_instance.clear_channel_card(channelId, cardId)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicTagBlockView: %s\n" % e)
    + print("Exception when calling ContentApi->clearChannelCard: %s\n" % e)
    @@ -29968,11 +23429,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -29980,7 +23441,1450 @@ except ApiException as e:
    - specified dialogue id + specified channel id +
    +
    +
    + Required +
    +
    +
    + + + cardId* + + + +
    +
    +
    + + String + + +
    + specified card id +
    +
    +
    + Required +
    +
    +
    + + + + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    clearChannelGroup

    +

    +
    +
    +
    +

    +

    Clear read access to channel for group. Access granted to app tokens for account holder.

    +

    +
    +
    /content/channels/{channelId}/groups/{groupId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X DELETE\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/groups/{groupId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified card id
    +        String groupId = groupId_example; // String | specified share id
    +        try {
    +            Channel result = apiInstance.clearChannelGroup(channelId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#clearChannelGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified card id
    +        String groupId = groupId_example; // String | specified share id
    +        try {
    +            Channel result = apiInstance.clearChannelGroup(channelId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#clearChannelGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified card id
    +String *groupId = groupId_example; // specified share id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance clearChannelGroupWith:channelId
    +    groupId:groupId
    +              completionHandler: ^(Channel output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified card id
    +var groupId = groupId_example; // {{String}} specified share id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.clearChannelGroup(channelId, groupId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class clearChannelGroupExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified card id
    +            var groupId = groupId_example;  // String | specified share id
    +
    +            try
    +            {
    +                Channel result = apiInstance.clearChannelGroup(channelId, groupId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.clearChannelGroup: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified card id
    +$groupId = groupId_example; // String | specified share id
    +
    +try {
    +    $result = $api_instance->clearChannelGroup($channelId, $groupId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->clearChannelGroup: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified card id
    +my $groupId = groupId_example; # String | specified share id
    +
    +eval { 
    +    my $result = $api_instance->clearChannelGroup(channelId => $channelId, groupId => $groupId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->clearChannelGroup: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified card id
    +groupId = groupId_example # String | specified share id
    +
    +try: 
    +    api_response = api_instance.clear_channel_group(channelId, groupId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->clearChannelGroup: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified card id +
    +
    +
    + Required +
    +
    +
    +
    groupId* + + +
    +
    +
    + + String + + +
    + specified share id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannel

    +

    +
    +
    +
    +

    +

    Get details of channel.

    +

    +
    +
    /content/channels/{channelId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        try {
    +            Channel result = apiInstance.getChannel(channelId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannel");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        try {
    +            Channel result = apiInstance.getChannel(channelId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannel");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelWith:channelId
    +              completionHandler: ^(Channel output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannel(channelId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +
    +            try
    +            {
    +                Channel result = apiInstance.getChannel(channelId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannel: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +
    +try {
    +    $result = $api_instance->getChannel($channelId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannel: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +
    +eval { 
    +    my $result = $api_instance->getChannel(channelId => $channelId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannel: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +
    +try: 
    +    api_response = api_instance.get_channel(channelId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannel: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - invalid password

    + + + +
    +
    + +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannelSubjectField

    +

    +
    +
    +
    +

    +

    Base64 decode and download specified field from the channel's subject. Access granted to app token of account holder or contact token of account the channel is shared with.

    +

    +
    +
    /content/channels/{channelId}/subject/{field}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/subject/{field}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelSubjectField(channelId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelSubjectField(channelId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *field = field_example; // field from subject to base64 decode and download
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelSubjectFieldWith:channelId
    +    field:field
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var field = field_example; // {{String}} field from subject to base64 decode and download
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelSubjectField(channelId, field, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelSubjectFieldExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var field = field_example;  // String | field from subject to base64 decode and download
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getChannelSubjectField(channelId, field);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelSubjectField: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$field = field_example; // String | field from subject to base64 decode and download
    +
    +try {
    +    $result = $api_instance->getChannelSubjectField($channelId, $field);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelSubjectField: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $field = field_example; # String | field from subject to base64 decode and download
    +
    +eval { 
    +    my $result = $api_instance->getChannelSubjectField(channelId => $channelId, field => $field);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelSubjectField: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +field = field_example # String | field from subject to base64 decode and download
    +
    +try: 
    +    api_response = api_instance.get_channel_subject_field(channelId, field)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelSubjectField: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    field* + + +
    +
    +
    + + String + + +
    + field from subject to base64 decode and download +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - field, channel not found

    + + + +
    +
    + +

    Status: 405 - invalid field

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannelTopic

    +

    +
    +
    +
    +

    +

    Get full object of topic.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        try {
    +            Topic result = apiInstance.getChannelTopic(channelId, topicId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopic");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        try {
    +            Topic result = apiInstance.getChannelTopic(channelId, topicId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopic");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelTopicWith:channelId
    +    topicId:topicId
    +              completionHandler: ^(Topic output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelTopic(channelId, topicId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelTopicExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +
    +            try
    +            {
    +                Topic result = apiInstance.getChannelTopic(channelId, topicId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelTopic: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +
    +try {
    +    $result = $api_instance->getChannelTopic($channelId, $topicId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelTopic: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +
    +eval { 
    +    my $result = $api_instance->getChannelTopic(channelId => $channelId, topicId => $topicId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelTopic: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +
    +try: 
    +    api_response = api_instance.get_channel_topic(channelId, topicId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelTopic: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + - + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id
    @@ -29994,7 +24898,7 @@ except ApiException as e:
    -
    +
    @@ -30017,56 +24921,795 @@ except ApiException as e: -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to articles of types -
    -
    -
    -
    -

    Responses

    -

    Status: 200 - successful operation

    +

    Status: 200 - success

    -
    -
    +
    +
    +
    + +
    +
    + +

    Status: 401 - invalid password

    + + + +
    +
    + +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + + +
    +
    +
    +
    +
    +

    getChannelTopicAsset

    +

    +
    +
    +
    +

    +

    Get asset assigned to an channel. The endpoint supports byte-range requests and responds with the content-type set appropriatly. Access granted to the app tokens of the account holder and in the case of non-original assets, the contact token for accounts with which the channel is shared.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/assets/{assetId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/octet-stream"\
    +"//content/channels/{channelId}/topics/{topicId}/assets/{assetId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String assetId = assetId_example; // String | specified asset id
    +        try {
    +            byte[] result = apiInstance.getChannelTopicAsset(channelId, topicId, assetId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String assetId = assetId_example; // String | specified asset id
    +        try {
    +            byte[] result = apiInstance.getChannelTopicAsset(channelId, topicId, assetId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicAsset");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +String *assetId = assetId_example; // specified asset id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelTopicAssetWith:channelId
    +    topicId:topicId
    +    assetId:assetId
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +var assetId = assetId_example; // {{String}} specified asset id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelTopicAsset(channelId, topicId, assetId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelTopicAssetExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +            var assetId = assetId_example;  // String | specified asset id
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getChannelTopicAsset(channelId, topicId, assetId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicAsset: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +$assetId = assetId_example; // String | specified asset id
    +
    +try {
    +    $result = $api_instance->getChannelTopicAsset($channelId, $topicId, $assetId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelTopicAsset: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +my $assetId = assetId_example; # String | specified asset id
    +
    +eval { 
    +    my $result = $api_instance->getChannelTopicAsset(channelId => $channelId, topicId => $topicId, assetId => $assetId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelTopicAsset: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +assetId = assetId_example # String | specified asset id
    +
    +try: 
    +    api_response = api_instance.get_channel_topic_asset(channelId, topicId, assetId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelTopicAsset: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    +
    +
    + + String + + +
    + specified topic id +
    +
    +
    + Required +
    +
    +
    +
    assetId* + + +
    +
    +
    + + String + + +
    + specified asset id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - asset or channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannelTopicAssets

    +

    +
    +
    +
    +

    +

    Get list of assets assigned to an channel. The original assets will only be available to the account holder to provent the accidental sharing of content metadata. Access is granted to the app token of the account holder and the contact token of accounts the channel has been shared with.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/assets
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}/assets"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        try {
    +            array[Asset] result = apiInstance.getChannelTopicAssets(channelId, topicId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicAssets");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        try {
    +            array[Asset] result = apiInstance.getChannelTopicAssets(channelId, topicId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicAssets");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelTopicAssetsWith:channelId
    +    topicId:topicId
    +              completionHandler: ^(array[Asset] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelTopicAssets(channelId, topicId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelTopicAssetsExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +
    +            try
    +            {
    +                array[Asset] result = apiInstance.getChannelTopicAssets(channelId, topicId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicAssets: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +
    +try {
    +    $result = $api_instance->getChannelTopicAssets($channelId, $topicId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelTopicAssets: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +
    +eval { 
    +    my $result = $api_instance->getChannelTopicAssets(channelId => $channelId, topicId => $topicId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelTopicAssets: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +
    +try: 
    +    api_response = api_instance.get_channel_topic_assets(channelId, topicId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelTopicAssets: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    +
    +
    + + String + + +
    + specified topic id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 201 - entry created

    + + + +
    +
    +
    +
    - +
    -

    Status: 401 - permission denied

    +

    Status: 401 - invalid token

    @@ -30105,7 +25748,7 @@ except ApiException as e:
    -

    Status: 404 - topic or dialogue not found

    +

    Status: 410 - account disabled

    @@ -30124,113 +25767,105 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getTopicTagSubjectField

    +

    getChannelTopicDetail

    -

    Base64 decode and retrieve specified field of tag subject on the topic. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    +

    Get detail object of topic.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}/subject/{field}
    +
    /content/channels/{channelId}/topics/{topicId}/detail

    Usage and SDK Samples

    -
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}/subject/{field}"
    +"//content/channels/{channelId}/topics/{topicId}/detail"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String tagId = tagId_example; // String | specified tag id
    -        String field = field_example; // String | field to base64 decode and download
             try {
    -            Tag result = apiInstance.getTopicTagSubjectField(dialogueId, topicId, tagId, field);
    +            TopicDetail result = apiInstance.getChannelTopicDetail(channelId, topicId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagSubjectField");
    +            System.err.println("Exception when calling ContentApi#getChannelTopicDetail");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String tagId = tagId_example; // String | specified tag id
    -        String field = field_example; // String | field to base64 decode and download
             try {
    -            Tag result = apiInstance.getTopicTagSubjectField(dialogueId, topicId, tagId, field);
    +            TopicDetail result = apiInstance.getChannelTopicDetail(channelId, topicId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagSubjectField");
    +            System.err.println("Exception when calling ContentApi#getChannelTopicDetail");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
    -String *tagId = tagId_example; // specified tag id
    -String *field = field_example; // field to base64 decode and download
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance getTopicTagSubjectFieldWith:dialogueId
    +[apiInstance getChannelTopicDetailWith:channelId
         topicId:topicId
    -    tagId:tagId
    -    field:field
    -              completionHandler: ^(Tag output, NSError* error) {
    +              completionHandler: ^(TopicDetail output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -30241,16 +25876,14 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
    -var tagId = tagId_example; // {{String}} specified tag id
    -var field = field_example; // {{String}} field to base64 decode and download
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -30259,14 +25892,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getTopicTagSubjectField(dialogueId, topicId, tagId, field, callback);
    +api.getChannelTopicDetail(channelId, topicId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -30275,26 +25908,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getTopicTagSubjectFieldExample
    +    public class getChannelTopicDetailExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
    -            var tagId = tagId_example;  // String | specified tag id
    -            var field = field_example;  // String | field to base64 decode and download
     
                 try
                 {
    -                Tag result = apiInstance.getTopicTagSubjectField(dialogueId, topicId, tagId, field);
    +                TopicDetail result = apiInstance.getChannelTopicDetail(channelId, topicId);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.getTopicTagSubjectField: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicDetail: " + e.Message );
                 }
             }
         }
    @@ -30302,48 +25933,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
    -$tagId = tagId_example; // String | specified tag id
    -$field = field_example; // String | field to base64 decode and download
     
     try {
    -    $result = $api_instance->getTopicTagSubjectField($dialogueId, $topicId, $tagId, $field);
    +    $result = $api_instance->getChannelTopicDetail($channelId, $topicId);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicTagSubjectField: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->getChannelTopicDetail: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
    -my $tagId = tagId_example; # String | specified tag id
    -my $field = field_example; # String | field to base64 decode and download
     
     eval { 
    -    my $result = $api_instance->getTopicTagSubjectField(dialogueId => $dialogueId, topicId => $topicId, tagId => $tagId, field => $field);
    +    my $result = $api_instance->getChannelTopicDetail(channelId => $channelId, topicId => $topicId);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicTagSubjectField: $@\n";
    +    warn "Exception when calling ContentApi->getChannelTopicDetail: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -30352,17 +25979,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
    -tagId = tagId_example # String | specified tag id
    -field = field_example # String | field to base64 decode and download
     
     try: 
    -    api_response = api_instance.get_topic_tag_subject_field(dialogueId, topicId, tagId, field)
    +    api_response = api_instance.get_channel_topic_detail(channelId, topicId)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicTagSubjectField: %s\n" % e)
    + print("Exception when calling ContentApi->getChannelTopicDetail: %s\n" % e)
    @@ -30374,11 +25999,11 @@ except ApiException as e:
    Name Description
    dialogueId*
    channelId* -
    +
    @@ -30386,7 +26011,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -30400,7 +26025,798 @@ except ApiException as e:
    -
    +
    +
    +
    + + String + + +
    + specified topic id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - invalid password

    + + + +
    +
    + +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannelTopicSubjectField

    +

    +
    +
    +
    +

    +

    Base64 decode and download specified field from the channel's subject. Access granted to app token of account holder or contact token of account the channel is shared with.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/subject/{field}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}/subject/{field}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelTopicSubjectField(channelId, topicId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelTopicSubjectField(channelId, topicId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +String *field = field_example; // field from subject to base64 decode and download
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelTopicSubjectFieldWith:channelId
    +    topicId:topicId
    +    field:field
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +var field = field_example; // {{String}} field from subject to base64 decode and download
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelTopicSubjectField(channelId, topicId, field, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelTopicSubjectFieldExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +            var field = field_example;  // String | field from subject to base64 decode and download
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getChannelTopicSubjectField(channelId, topicId, field);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicSubjectField: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +$field = field_example; // String | field from subject to base64 decode and download
    +
    +try {
    +    $result = $api_instance->getChannelTopicSubjectField($channelId, $topicId, $field);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelTopicSubjectField: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +my $field = field_example; # String | field from subject to base64 decode and download
    +
    +eval { 
    +    my $result = $api_instance->getChannelTopicSubjectField(channelId => $channelId, topicId => $topicId, field => $field);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelTopicSubjectField: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +field = field_example # String | field from subject to base64 decode and download
    +
    +try: 
    +    api_response = api_instance.get_channel_topic_subject_field(channelId, topicId, field)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelTopicSubjectField: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    +
    +
    + + String + + +
    + specified topic id +
    +
    +
    + Required +
    +
    +
    +
    field* + + +
    +
    +
    + + String + + +
    + field from subject to base64 decode and download +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - field, channel not found

    + + + +
    +
    + +

    Status: 405 - invalid field

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    getChannelTopicTagSubjectField

    +

    +
    +
    +
    +

    +

    Base64 decode and download specified field from the channel's subject. Access granted to app token of account holder or contact token of account the channel is shared with.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/tags/{tagId}/subject/{field}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X GET\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}/tags/{tagId}/subject/{field}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String tagId = tagId_example; // String | specified tag id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelTopicTagSubjectField(channelId, topicId, tagId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicTagSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String tagId = tagId_example; // String | specified tag id
    +        String field = field_example; // String | field from subject to base64 decode and download
    +        try {
    +            byte[] result = apiInstance.getChannelTopicTagSubjectField(channelId, topicId, tagId, field);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#getChannelTopicTagSubjectField");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +String *tagId = tagId_example; // specified tag id
    +String *field = field_example; // field from subject to base64 decode and download
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance getChannelTopicTagSubjectFieldWith:channelId
    +    topicId:topicId
    +    tagId:tagId
    +    field:field
    +              completionHandler: ^(byte[] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +var tagId = tagId_example; // {{String}} specified tag id
    +var field = field_example; // {{String}} field from subject to base64 decode and download
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.getChannelTopicTagSubjectField(channelId, topicId, tagId, field, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class getChannelTopicTagSubjectFieldExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +            var tagId = tagId_example;  // String | specified tag id
    +            var field = field_example;  // String | field from subject to base64 decode and download
    +
    +            try
    +            {
    +                byte[] result = apiInstance.getChannelTopicTagSubjectField(channelId, topicId, tagId, field);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicTagSubjectField: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +$tagId = tagId_example; // String | specified tag id
    +$field = field_example; // String | field from subject to base64 decode and download
    +
    +try {
    +    $result = $api_instance->getChannelTopicTagSubjectField($channelId, $topicId, $tagId, $field);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->getChannelTopicTagSubjectField: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +my $tagId = tagId_example; # String | specified tag id
    +my $field = field_example; # String | field from subject to base64 decode and download
    +
    +eval { 
    +    my $result = $api_instance->getChannelTopicTagSubjectField(channelId => $channelId, topicId => $topicId, tagId => $tagId, field => $field);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->getChannelTopicTagSubjectField: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +tagId = tagId_example # String | specified tag id
    +field = field_example # String | field from subject to base64 decode and download
    +
    +try: 
    +    api_response = api_instance.get_channel_topic_tag_subject_field(channelId, topicId, tagId, field)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->getChannelTopicTagSubjectField: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + - + - - -
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    @@ -30422,7 +26838,7 @@ except ApiException as e:
    -
    +
    @@ -30444,7 +26860,7 @@ except ApiException as e:
    -
    +
    @@ -30452,7 +26868,7 @@ except ApiException as e:
    - field to base64 decode and download + field from subject to base64 decode and download
    @@ -30469,18 +26885,18 @@ except ApiException as e:

    Responses

    -

    Status: 201 - success

    +

    Status: 200 - success

    -
    -
    +
    +
    -
    - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - field, tag, topic, or dialogue not found

    - - - -
    -
    - -

    Status: 405 - invalid field

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - - -
    -
    -
    -
    -
    -

    getTopicTagView

    -

    -
    -
    -
    -

    -

    Get a view of all of the tags within a block. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/{blockId}/view
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/{blockId}/view?types="
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getTopicTagView(dialogueId, topicId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    -        try {
    -            array[inline_response_200_1] result = apiInstance.getTopicTagView(dialogueId, topicId, blockId, types);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTagView");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *topicId = topicId_example; // specified topic id
    -String *blockId = blockId_example; // specified block id
    -array[String] *types = ; // limit results to tags of types (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance getTopicTagViewWith:dialogueId
    -    topicId:topicId
    -    blockId:blockId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var topicId = topicId_example; // {{String}} specified topic id
    -var blockId = blockId_example; // {{String}} specified block id
    -var opts = { 
    -  'types':  // {{array[String]}} limit results to tags of types
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTopicTagView(dialogueId, topicId, blockId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTopicTagViewExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var topicId = topicId_example;  // String | specified topic id
    -            var blockId = blockId_example;  // String | specified block id
    -            var types = new array[String](); // array[String] | limit results to tags of types (optional) 
    -
    -            try
    -            {
    -                array[inline_response_200_1] result = apiInstance.getTopicTagView(dialogueId, topicId, blockId, types);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.getTopicTagView: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$topicId = topicId_example; // String | specified topic id
    -$blockId = blockId_example; // String | specified block id
    -$types = ; // array[String] | limit results to tags of types
    -
    -try {
    -    $result = $api_instance->getTopicTagView($dialogueId, $topicId, $blockId, $types);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicTagView: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $topicId = topicId_example; # String | specified topic id
    -my $blockId = blockId_example; # String | specified block id
    -my $types = []; # array[String] | limit results to tags of types
    -
    -eval { 
    -    my $result = $api_instance->getTopicTagView(dialogueId => $dialogueId, topicId => $topicId, blockId => $blockId, types => $types);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicTagView: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -topicId = topicId_example # String | specified topic id
    -blockId = blockId_example # String | specified block id
    -types =  # array[String] | limit results to tags of types (optional)
    -
    -try: 
    -    api_response = api_instance.get_topic_tag_view(dialogueId, topicId, blockId, types=types)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicTagView: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    topicId* - - -
    -
    -
    - - String - - -
    - specified topic id -
    -
    -
    - Required -
    -
    -
    -
    blockId* - - -
    -
    -
    - - String - - -
    - specified block id -
    -
    -
    - Required -
    -
    -
    -
    - - - - -
    Query parameters
    - - - - - - - - -
    NameDescription
    types - - -
    -
    -
    - - array[String] - - -
    - limit results to tags of types -
    -
    -
    -
    -
    - -

    Responses

    -

    Status: 200 - successful operation

    - - - -
    -
    -
    -
    - +
    @@ -30962,7 +26943,23 @@ except ApiException as e:
    -

    Status: 404 - block, topic or dialogue not found

    +

    Status: 404 - field, channel not found

    + + + +
    +
    + +

    Status: 405 - invalid field

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -30981,112 +26978,108 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getTopicTags

    +

    getChannelTopicTags

    -

    Get all of the tags within a tag block. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    +

    Get channel topic tag slots.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/{blockId}
    +
    /content/channels/{channelId}/topics/{topicId}/tags

    Usage and SDK Samples

    -
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tagBlocks/{blockId}?types="
    +"//content/channels/{channelId}/topics/{topicId}/tags?revision="
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    +        String revision = revision_example; // String | return updated topics since revision
             try {
    -            array[Tag] result = apiInstance.getTopicTags(dialogueId, topicId, blockId, types);
    +            array[Tag] result = apiInstance.getChannelTopicTags(channelId, topicId, revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTags");
    +            System.err.println("Exception when calling ContentApi#getChannelTopicTags");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        String blockId = blockId_example; // String | specified block id
    -        array[String] types = ; // array[String] | limit results to tags of types
    +        String revision = revision_example; // String | return updated topics since revision
             try {
    -            array[Tag] result = apiInstance.getTopicTags(dialogueId, topicId, blockId, types);
    +            array[Tag] result = apiInstance.getChannelTopicTags(channelId, topicId, revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicTags");
    +            System.err.println("Exception when calling ContentApi#getChannelTopicTags");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
    -String *blockId = blockId_example; // specified block id
    -array[String] *types = ; // limit results to tags of types (optional)
    +String *revision = revision_example; // return updated topics since revision (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance getTopicTagsWith:dialogueId
    +[apiInstance getChannelTopicTagsWith:channelId
         topicId:topicId
    -    blockId:blockId
    -    types:types
    +    revision:revision
                   completionHandler: ^(array[Tag] output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -31098,17 +27091,16 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
    -var blockId = blockId_example; // {{String}} specified block id
     var opts = { 
    -  'types':  // {{array[String]}} limit results to tags of types
    +  'revision': revision_example // {{String}} return updated topics since revision
     };
     var callback = function(error, data, response) {
       if (error) {
    @@ -31117,14 +27109,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getTopicTags(dialogueId, topicId, blockId, opts, callback);
    +api.getChannelTopicTags(channelId, topicId, opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -31133,26 +27125,25 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getTopicTagsExample
    +    public class getChannelTopicTagsExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
    -            var blockId = blockId_example;  // String | specified block id
    -            var types = new array[String](); // array[String] | limit results to tags of types (optional) 
    +            var revision = revision_example;  // String | return updated topics since revision (optional) 
     
                 try
                 {
    -                array[Tag] result = apiInstance.getTopicTags(dialogueId, topicId, blockId, types);
    +                array[Tag] result = apiInstance.getChannelTopicTags(channelId, topicId, revision);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.getTopicTags: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.getChannelTopicTags: " + e.Message );
                 }
             }
         }
    @@ -31160,48 +27151,46 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
    -$blockId = blockId_example; // String | specified block id
    -$types = ; // array[String] | limit results to tags of types
    +$revision = revision_example; // String | return updated topics since revision
     
     try {
    -    $result = $api_instance->getTopicTags($dialogueId, $topicId, $blockId, $types);
    +    $result = $api_instance->getChannelTopicTags($channelId, $topicId, $revision);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicTags: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->getChannelTopicTags: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
    -my $blockId = blockId_example; # String | specified block id
    -my $types = []; # array[String] | limit results to tags of types
    +my $revision = revision_example; # String | return updated topics since revision
     
     eval { 
    -    my $result = $api_instance->getTopicTags(dialogueId => $dialogueId, topicId => $topicId, blockId => $blockId, types => $types);
    +    my $result = $api_instance->getChannelTopicTags(channelId => $channelId, topicId => $topicId, revision => $revision);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicTags: $@\n";
    +    warn "Exception when calling ContentApi->getChannelTopicTags: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -31210,17 +27199,16 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
    -blockId = blockId_example # String | specified block id
    -types =  # array[String] | limit results to tags of types (optional)
    +revision = revision_example # String | return updated topics since revision (optional)
     
     try: 
    -    api_response = api_instance.get_topic_tags(dialogueId, topicId, blockId, types=types)
    +    api_response = api_instance.get_channel_topic_tags(channelId, topicId, revision=revision)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicTags: %s\n" % e)
    + print("Exception when calling ContentApi->getChannelTopicTags: %s\n" % e)
    @@ -31232,11 +27220,11 @@ except ApiException as e:
    Name Description
    dialogueId*
    channelId* -
    +
    @@ -31244,7 +27232,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -31258,7 +27246,7 @@ except ApiException as e:
    -
    +
    @@ -31276,28 +27264,6 @@ except ApiException as e:
    blockId* - - -
    -
    -
    - - String - - -
    - specified block id -
    -
    -
    - Required -
    -
    -
    -
    @@ -31309,19 +27275,19 @@ except ApiException as e: Name Description - types + revision -
    +
    - array[String] + String
    - limit results to tags of types + return updated topics since revision
    @@ -31335,18 +27301,32 @@ except ApiException as e:
    -
    -
    +
    +
    - + +
    +
    + + + + + + + + + + + + + +
    NameTypeFormatDescription
    X-Tag-RevisionLongint64
    @@ -31391,7 +27387,7 @@ except ApiException as e:
    -

    Status: 404 - block, topic, or dialogue not found

    +

    Status: 410 - account disabled

    @@ -31410,109 +27406,105 @@ except ApiException as e:

    -
    -
    +
    +
    -

    getTopicViews

    +

    getChannelTopics

    -

    Get a view of the topics within a topicBlock. Authorization granted to account holder app token or dialogue member contact token who is also a member of the dialogue.

    +

    Get channel topic slots. If revision set, detail fields omitted in response


    -
    /conversation/dialogues/{dialogueId}/topicBlocks/{blockId}/view
    +
    /content/channels/{channelId}/topics

    Usage and SDK Samples

    -
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Accept: application/json"\
    -"//conversation/dialogues/{dialogueId}/topicBlocks/{blockId}/view?types="
    +"//content/channels/{channelId}/topics?revision="
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String blockId = blockId_example; // String | specified group id
    -        array[String] types = ; // array[String] | limit results to topics of types
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String revision = revision_example; // String | return updated topics since revision
             try {
    -            array[inline_response_200_1] result = apiInstance.getTopicViews(dialogueId, blockId, types);
    +            array[Topic] result = apiInstance.getChannelTopics(channelId, revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicViews");
    +            System.err.println("Exception when calling ContentApi#getChannelTopics");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String blockId = blockId_example; // String | specified group id
    -        array[String] types = ; // array[String] | limit results to topics of types
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String revision = revision_example; // String | return updated topics since revision
             try {
    -            array[inline_response_200_1] result = apiInstance.getTopicViews(dialogueId, blockId, types);
    +            array[Topic] result = apiInstance.getChannelTopics(channelId, revision);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#getTopicViews");
    +            System.err.println("Exception when calling ContentApi#getChannelTopics");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *blockId = blockId_example; // specified group id
    -array[String] *types = ; // limit results to topics of types (optional)
    +String *channelId = channelId_example; // specified channel id
    +String *revision = revision_example; // return updated topics since revision (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance getTopicViewsWith:dialogueId
    -    blockId:blockId
    -    types:types
    -              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
    +[apiInstance getChannelTopicsWith:channelId
    +    revision:revision
    +              completionHandler: ^(array[Topic] output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -31523,16 +27515,15 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var blockId = blockId_example; // {{String}} specified group id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var opts = { 
    -  'types':  // {{array[String]}} limit results to topics of types
    +  'revision': revision_example // {{String}} return updated topics since revision
     };
     var callback = function(error, data, response) {
       if (error) {
    @@ -31541,14 +27532,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getTopicViews(dialogueId, blockId, opts, callback);
    +api.getChannelTopics(channelId, opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -31557,25 +27548,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class getTopicViewsExample
    +    public class getChannelTopicsExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var blockId = blockId_example;  // String | specified group id
    -            var types = new array[String](); // array[String] | limit results to topics of types (optional) 
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var revision = revision_example;  // String | return updated topics since revision (optional) 
     
                 try
                 {
    -                array[inline_response_200_1] result = apiInstance.getTopicViews(dialogueId, blockId, types);
    +                array[Topic] result = apiInstance.getChannelTopics(channelId, revision);
                     Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.getTopicViews: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.getChannelTopics: " + e.Message );
                 }
             }
         }
    @@ -31583,46 +27573,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$blockId = blockId_example; // String | specified group id
    -$types = ; // array[String] | limit results to topics of types
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$revision = revision_example; // String | return updated topics since revision
     
     try {
    -    $result = $api_instance->getTopicViews($dialogueId, $blockId, $types);
    +    $result = $api_instance->getChannelTopics($channelId, $revision);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->getTopicViews: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->getChannelTopics: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $blockId = blockId_example; # String | specified group id
    -my $types = []; # array[String] | limit results to topics of types
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $revision = revision_example; # String | return updated topics since revision
     
     eval { 
    -    my $result = $api_instance->getTopicViews(dialogueId => $dialogueId, blockId => $blockId, types => $types);
    +    my $result = $api_instance->getChannelTopics(channelId => $channelId, revision => $revision);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->getTopicViews: $@\n";
    +    warn "Exception when calling ContentApi->getChannelTopics: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -31631,16 +27619,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -blockId = blockId_example # String | specified group id
    -types =  # array[String] | limit results to topics of types (optional)
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +revision = revision_example # String | return updated topics since revision (optional)
     
     try: 
    -    api_response = api_instance.get_topic_views(dialogueId, blockId, types=types)
    +    api_response = api_instance.get_channel_topics(channelId, revision=revision)
         pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->getTopicViews: %s\n" % e)
    + print("Exception when calling ContentApi->getChannelTopics: %s\n" % e)
    @@ -31652,11 +27639,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -31664,29 +27651,7 @@ except ApiException as e:
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    - - - blockId* - - - -
    -
    -
    - - String - - -
    - specified group id + specified channel id
    @@ -31707,19 +27672,19 @@ except ApiException as e: Name Description - types + revision -
    +
    - array[String] + String
    - limit results to topics of types + return updated topics since revision
    @@ -31733,24 +27698,38 @@ except ApiException as e:
    -
    -
    +
    +
    - + +
    +
    + + + + + + + + + + + + + +
    NameTypeFormatDescription
    X-Topic-RevisionLongint64
    @@ -31789,7 +27784,7 @@ except ApiException as e:
    -

    Status: 404 - block or dialogue not found

    +

    Status: 410 - account disabled

    @@ -31808,98 +27803,112 @@ except ApiException as e:

    -
    -
    +
    +
    -

    removeDialogue

    +

    getChannels

    -

    Remove specified dialogue. This endpoint will authomatically invoke the delete insight endpoint on all of the contacts' nodes. Access is granted to an app token for the account holder.

    +

    Get channel slots. If revision set detail fields omittied in response


    -
    /conversation/dialogues/{dialogueId}
    +
    /content/channels

    Usage and SDK Samples

    -
    -
    curl -X DELETE\
    +                          
    +
    curl -X GET\
      -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}"
    +-H "Accept: application/json"\ +"//content/channels?viewRevision=&channelRevision=&types="
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String viewRevision = viewRevision_example; // String | view revision from which content revision applies
    +        String channelRevision = channelRevision_example; // String | return updated channels since revision
    +        String types = types_example; // String | return only channels of specified types
             try {
    -            apiInstance.removeDialogue(dialogueId);
    +            array[Channel] result = apiInstance.getChannels(viewRevision, channelRevision, types);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogue");
    +            System.err.println("Exception when calling ContentApi#getChannels");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String viewRevision = viewRevision_example; // String | view revision from which content revision applies
    +        String channelRevision = channelRevision_example; // String | return updated channels since revision
    +        String types = types_example; // String | return only channels of specified types
             try {
    -            apiInstance.removeDialogue(dialogueId);
    +            array[Channel] result = apiInstance.getChannels(viewRevision, channelRevision, types);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogue");
    +            System.err.println("Exception when calling ContentApi#getChannels");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *viewRevision = viewRevision_example; // view revision from which content revision applies (optional)
    +String *channelRevision = channelRevision_example; // return updated channels since revision (optional)
    +String *types = types_example; // return only channels of specified types (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance removeDialogueWith:dialogueId
    -              completionHandler: ^(NSError* error) {
    +[apiInstance getChannelsWith:viewRevision
    +    channelRevision:channelRevision
    +    types:types
    +              completionHandler: ^(array[Channel] output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
                                 if (error) {
                                     NSLog(@"Error: %@", error);
                                 }
    @@ -31907,29 +27916,32 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -
    +var api = new DataBag.ContentApi()
    +var opts = { 
    +  'viewRevision': viewRevision_example, // {{String}} view revision from which content revision applies
    +  'channelRevision': channelRevision_example, // {{String}} return updated channels since revision
    +  'types': types_example // {{String}} return only channels of specified types
    +};
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
       } else {
    -    console.log('API called successfully.');
    +    console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.removeDialogue(dialogueId, callback);
    +api.getChannels(opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -31938,22 +27950,25 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class removeDialogueExample
    +    public class getChannelsExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var viewRevision = viewRevision_example;  // String | view revision from which content revision applies (optional) 
    +            var channelRevision = channelRevision_example;  // String | return updated channels since revision (optional) 
    +            var types = types_example;  // String | return only channels of specified types (optional) 
     
                 try
                 {
    -                apiInstance.removeDialogue(dialogueId);
    +                array[Channel] result = apiInstance.getChannels(viewRevision, channelRevision, types);
    +                Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.removeDialogue: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.getChannels: " + e.Message );
                 }
             }
         }
    @@ -31961,40 +27976,46 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$viewRevision = viewRevision_example; // String | view revision from which content revision applies
    +$channelRevision = channelRevision_example; // String | return updated channels since revision
    +$types = types_example; // String | return only channels of specified types
     
     try {
    -    $api_instance->removeDialogue($dialogueId);
    +    $result = $api_instance->getChannels($viewRevision, $channelRevision, $types);
    +    print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->removeDialogue: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->getChannels: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $viewRevision = viewRevision_example; # String | view revision from which content revision applies
    +my $channelRevision = channelRevision_example; # String | return updated channels since revision
    +my $types = types_example; # String | return only channels of specified types
     
     eval { 
    -    $api_instance->removeDialogue(dialogueId => $dialogueId);
    +    my $result = $api_instance->getChannels(viewRevision => $viewRevision, channelRevision => $channelRevision, types => $types);
    +    print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->removeDialogue: $@\n";
    +    warn "Exception when calling ContentApi->getChannels: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -32003,13 +28024,417 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +viewRevision = viewRevision_example # String | view revision from which content revision applies (optional)
    +channelRevision = channelRevision_example # String | return updated channels since revision (optional)
    +types = types_example # String | return only channels of specified types (optional)
     
     try: 
    -    api_instance.remove_dialogue(dialogueId)
    +    api_response = api_instance.get_channels(viewRevision=viewRevision, channelRevision=channelRevision, types=types)
    +    pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->removeDialogue: %s\n" % e)
    + print("Exception when calling ContentApi->getChannels: %s\n" % e)
    +
    +
    + +

    Parameters

    + + + + + +
    Query parameters
    + + + + + + + + + + + + + + +
    NameDescription
    viewRevision + + +
    +
    +
    + + String + + +
    + view revision from which content revision applies +
    +
    +
    +
    +
    channelRevision + + +
    +
    +
    + + String + + +
    + return updated channels since revision +
    +
    +
    +
    +
    types + + +
    +
    +
    + + String + + +
    + return only channels of specified types +
    +
    +
    +
    +
    + +

    Responses

    +

    Status: 200 - successful operation

    + + + +
    +
    +
    + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + +
    NameTypeFormatDescription
    X-View-RevisionLongint64
    X-Channel-RevisionLongint64
    +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    removeChannel

    +

    +
    +
    +
    +

    +

    Remove specified channel. Access granted to app token of account holder.

    +

    +
    +
    /content/channels/{channelId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X DELETE\
    + -H "Authorization: Bearer [[accessToken]]"\
    +"//content/channels/{channelId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        try {
    +            apiInstance.removeChannel(channelId);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#removeChannel");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        try {
    +            apiInstance.removeChannel(channelId);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#removeChannel");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance removeChannelWith:channelId
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.removeChannel(channelId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class removeChannelExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +
    +            try
    +            {
    +                apiInstance.removeChannel(channelId);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.removeChannel: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +
    +try {
    +    $api_instance->removeChannel($channelId);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->removeChannel: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +
    +eval { 
    +    $api_instance->removeChannel(channelId => $channelId);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->removeChannel: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +
    +try: 
    +    api_instance.remove_channel(channelId)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->removeChannel: %s\n" % e)
    @@ -32021,11 +28446,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -32033,7 +28458,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -32058,7 +28483,7 @@ except ApiException as e:
    -

    Status: 401 - permission denied

    +

    Status: 401 - invalid password

    @@ -32066,7 +28491,15 @@ except ApiException as e:
    -

    Status: 404 - dialogue not found

    +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -32085,408 +28518,100 @@ except ApiException as e:

    -
    -
    +
    +
    -

    removeDialogueInsight

    +

    removeChannelTopic

    -

    Remove an insight from a dialogue. This endpoint will authomatically invoke the delete insight endpoint on the contact's node. Authorization is granted to the app token of the accoun holder.

    +

    Remove specified channel. Access granted to app token of account holder.


    -
    /conversation/dialogues/{dialogueId}/cards/{cardId}
    +
    /content/channels/{channelId}/topics/{topicId}

    Usage and SDK Samples

    -
    +
    curl -X DELETE\
      -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}/cards/{cardId}"
    +"//content/channels/{channelId}/topics/{topicId}"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String cardId = cardId_example; // String | specified contact id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
             try {
    -            apiInstance.removeDialogueInsight(dialogueId, cardId);
    +            apiInstance.removeChannelTopic(channelId, topicId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogueInsight");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopic");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String cardId = cardId_example; // String | specified contact id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
             try {
    -            apiInstance.removeDialogueInsight(dialogueId, cardId);
    +            apiInstance.removeChannelTopic(channelId, topicId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogueInsight");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopic");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *cardId = cardId_example; // specified contact id
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance removeDialogueInsightWith:dialogueId
    -    cardId:cardId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var cardId = cardId_example; // {{String}} specified contact id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeDialogueInsight(dialogueId, cardId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeDialogueInsightExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var cardId = cardId_example;  // String | specified contact id
    -
    -            try
    -            {
    -                apiInstance.removeDialogueInsight(dialogueId, cardId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.removeDialogueInsight: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$cardId = cardId_example; // String | specified contact id
    -
    -try {
    -    $api_instance->removeDialogueInsight($dialogueId, $cardId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->removeDialogueInsight: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $cardId = cardId_example; # String | specified contact id
    -
    -eval { 
    -    $api_instance->removeDialogueInsight(dialogueId => $dialogueId, cardId => $cardId);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->removeDialogueInsight: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -cardId = cardId_example # String | specified contact id
    -
    -try: 
    -    api_instance.remove_dialogue_insight(dialogueId, cardId)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->removeDialogueInsight: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    cardId* - - -
    -
    -
    - - String - - -
    - specified contact id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - cardId or dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeDialogueTopic

    -

    -
    -
    -
    -

    -

    Remove a topic from a dialogue. Authorization granted to account holder app token or dialogue member contact token who is either the topic createor or the account holder.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            apiInstance.removeDialogueTopic(dialogueId, topicId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String topicId = topicId_example; // String | specified topic id
    -        try {
    -            apiInstance.removeDialogueTopic(dialogueId, topicId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeDialogueTopic");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance removeDialogueTopicWith:dialogueId
    +[apiInstance removeChannelTopicWith:channelId
         topicId:topicId
                   completionHandler: ^(NSError* error) {
                                 if (error) {
    @@ -32496,13 +28621,13 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
     
     var callback = function(error, data, response) {
    @@ -32512,14 +28637,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully.');
       }
     };
    -api.removeDialogueTopic(dialogueId, topicId, callback);
    +api.removeChannelTopic(channelId, topicId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -32528,23 +28653,23 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class removeDialogueTopicExample
    +    public class removeChannelTopicExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
     
                 try
                 {
    -                apiInstance.removeDialogueTopic(dialogueId, topicId);
    +                apiInstance.removeChannelTopic(channelId, topicId);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.removeDialogueTopic: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.removeChannelTopic: " + e.Message );
                 }
             }
         }
    @@ -32552,42 +28677,42 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
     
     try {
    -    $api_instance->removeDialogueTopic($dialogueId, $topicId);
    +    $api_instance->removeChannelTopic($channelId, $topicId);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->removeDialogueTopic: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->removeChannelTopic: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
     
     eval { 
    -    $api_instance->removeDialogueTopic(dialogueId => $dialogueId, topicId => $topicId);
    +    $api_instance->removeChannelTopic(channelId => $channelId, topicId => $topicId);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->removeDialogueTopic: $@\n";
    +    warn "Exception when calling ContentApi->removeChannelTopic: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -32596,14 +28721,14 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
     
     try: 
    -    api_instance.remove_dialogue_topic(dialogueId, topicId)
    +    api_instance.remove_channel_topic(channelId, topicId)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->removeDialogueTopic: %s\n" % e)
    + print("Exception when calling ContentApi->removeChannelTopic: %s\n" % e)
    @@ -32615,11 +28740,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -32627,7 +28752,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -32641,7 +28766,7 @@ except ApiException as e: -
    +
    @@ -32666,7 +28791,7 @@ except ApiException as e:

    Responses

    -

    Status: 200 - successful operation

    +

    Status: 200 - success

    @@ -32674,7 +28799,7 @@ except ApiException as e:
    -

    Status: 401 - permission denied

    +

    Status: 401 - invalid password

    @@ -32682,7 +28807,7 @@ except ApiException as e:
    -

    Status: 403 - inactive dialogue

    +

    Status: 404 - channel not found

    @@ -32690,7 +28815,7 @@ except ApiException as e:
    -

    Status: 404 - topic or dilaogue not found

    +

    Status: 410 - account disabled

    @@ -32709,103 +28834,103 @@ except ApiException as e:

    -
    -
    +
    +
    -

    removeTopicAsset

    +

    removeChannelTopicAsset

    -

    Remove and delete an asset associated with a topic. Authorization granted to account holder app token or dialogue member contact token who is also the creator of the topic.

    +

    Remove an asset from an channel. Access granted to app tokens of the account holder.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/assets/{assetId}
    +
    /content/channels/{channelId}/topics/{topicId}/assets/{assetId}

    Usage and SDK Samples

    -
    +
    curl -X DELETE\
      -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/assets/{assetId}"
    +"//content/channels/{channelId}/topics/{topicId}/assets/{assetId}"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
             String assetId = assetId_example; // String | specified asset id
             try {
    -            apiInstance.removeTopicAsset(dialogueId, topicId, assetId);
    +            apiInstance.removeChannelTopicAsset(channelId, topicId, assetId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeTopicAsset");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopicAsset");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
             String assetId = assetId_example; // String | specified asset id
             try {
    -            apiInstance.removeTopicAsset(dialogueId, topicId, assetId);
    +            apiInstance.removeChannelTopicAsset(channelId, topicId, assetId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeTopicAsset");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopicAsset");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
     String *assetId = assetId_example; // specified asset id
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance removeTopicAssetWith:dialogueId
    +[apiInstance removeChannelTopicAssetWith:channelId
         topicId:topicId
         assetId:assetId
                   completionHandler: ^(NSError* error) {
    @@ -32816,13 +28941,13 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
     var assetId = assetId_example; // {{String}} specified asset id
     
    @@ -32833,14 +28958,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully.');
       }
     };
    -api.removeTopicAsset(dialogueId, topicId, assetId, callback);
    +api.removeChannelTopicAsset(channelId, topicId, assetId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -32849,24 +28974,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class removeTopicAssetExample
    +    public class removeChannelTopicAssetExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
                 var assetId = assetId_example;  // String | specified asset id
     
                 try
                 {
    -                apiInstance.removeTopicAsset(dialogueId, topicId, assetId);
    +                apiInstance.removeChannelTopicAsset(channelId, topicId, assetId);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.removeTopicAsset: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.removeChannelTopicAsset: " + e.Message );
                 }
             }
         }
    @@ -32874,44 +28999,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
     $assetId = assetId_example; // String | specified asset id
     
     try {
    -    $api_instance->removeTopicAsset($dialogueId, $topicId, $assetId);
    +    $api_instance->removeChannelTopicAsset($channelId, $topicId, $assetId);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->removeTopicAsset: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->removeChannelTopicAsset: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
     my $assetId = assetId_example; # String | specified asset id
     
     eval { 
    -    $api_instance->removeTopicAsset(dialogueId => $dialogueId, topicId => $topicId, assetId => $assetId);
    +    $api_instance->removeChannelTopicAsset(channelId => $channelId, topicId => $topicId, assetId => $assetId);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->removeTopicAsset: $@\n";
    +    warn "Exception when calling ContentApi->removeChannelTopicAsset: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -32920,15 +29045,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
     assetId = assetId_example # String | specified asset id
     
     try: 
    -    api_instance.remove_topic_asset(dialogueId, topicId, assetId)
    +    api_instance.remove_channel_topic_asset(channelId, topicId, assetId)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->removeTopicAsset: %s\n" % e)
    + print("Exception when calling ContentApi->removeChannelTopicAsset: %s\n" % e)
    @@ -32940,11 +29065,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -32952,7 +29077,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -32966,7 +29091,7 @@ except ApiException as e: -
    +
    @@ -32988,7 +29113,7 @@ except ApiException as e: -
    +
    @@ -33029,7 +29154,7 @@ except ApiException as e:
    -

    Status: 403 - inactive dialogue

    +

    Status: 404 - asset or channel not found

    @@ -33037,7 +29162,7 @@ except ApiException as e:
    -

    Status: 404 - asset, topic or dialogue not found

    +

    Status: 410 - account disabled

    @@ -33056,103 +29181,103 @@ except ApiException as e:

    -
    -
    +
    +
    -

    removeTopicTag

    +

    removeChannelTopicTag

    -

    Remove specified tag from the topic. Authorization granted to account holder app token or dialogue member contact token who has access to the topic.

    +

    Remove specified tag from channel topic. Access granted to app token of account holder.


    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}
    +
    /content/channels/{channelId}/topics/{topicId}/tags/{tagId}

    Usage and SDK Samples

    -
    +
    curl -X DELETE\
      -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/tags/{tagId}"
    +"//content/channels/{channelId}/topics/{topicId}/tags/{tagId}"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
             String tagId = tagId_example; // String | specified tag id
             try {
    -            apiInstance.removeTopicTag(dialogueId, topicId, tagId);
    +            apiInstance.removeChannelTopicTag(channelId, topicId, tagId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeTopicTag");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopicTag");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
             String tagId = tagId_example; // String | specified tag id
             try {
    -            apiInstance.removeTopicTag(dialogueId, topicId, tagId);
    +            apiInstance.removeChannelTopicTag(channelId, topicId, tagId);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#removeTopicTag");
    +            System.err.println("Exception when calling ContentApi#removeChannelTopicTag");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
     String *tagId = tagId_example; // specified tag id
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance removeTopicTagWith:dialogueId
    +[apiInstance removeChannelTopicTagWith:channelId
         topicId:topicId
         tagId:tagId
                   completionHandler: ^(NSError* error) {
    @@ -33163,13 +29288,13 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
     var tagId = tagId_example; // {{String}} specified tag id
     
    @@ -33180,14 +29305,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully.');
       }
     };
    -api.removeTopicTag(dialogueId, topicId, tagId, callback);
    +api.removeChannelTopicTag(channelId, topicId, tagId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -33196,24 +29321,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class removeTopicTagExample
    +    public class removeChannelTopicTagExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
                 var tagId = tagId_example;  // String | specified tag id
     
                 try
                 {
    -                apiInstance.removeTopicTag(dialogueId, topicId, tagId);
    +                apiInstance.removeChannelTopicTag(channelId, topicId, tagId);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.removeTopicTag: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.removeChannelTopicTag: " + e.Message );
                 }
             }
         }
    @@ -33221,44 +29346,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
     $tagId = tagId_example; // String | specified tag id
     
     try {
    -    $api_instance->removeTopicTag($dialogueId, $topicId, $tagId);
    +    $api_instance->removeChannelTopicTag($channelId, $topicId, $tagId);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->removeTopicTag: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->removeChannelTopicTag: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
     my $tagId = tagId_example; # String | specified tag id
     
     eval { 
    -    $api_instance->removeTopicTag(dialogueId => $dialogueId, topicId => $topicId, tagId => $tagId);
    +    $api_instance->removeChannelTopicTag(channelId => $channelId, topicId => $topicId, tagId => $tagId);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->removeTopicTag: $@\n";
    +    warn "Exception when calling ContentApi->removeChannelTopicTag: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -33267,15 +29392,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
     tagId = tagId_example # String | specified tag id
     
     try: 
    -    api_instance.remove_topic_tag(dialogueId, topicId, tagId)
    +    api_instance.remove_channel_topic_tag(channelId, topicId, tagId)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->removeTopicTag: %s\n" % e)
    + print("Exception when calling ContentApi->removeChannelTopicTag: %s\n" % e)
    @@ -33287,11 +29412,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -33299,7 +29424,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -33313,7 +29438,7 @@ except ApiException as e: -
    +
    @@ -33335,7 +29460,7 @@ except ApiException as e: -
    +
    @@ -33368,7 +29493,7 @@ except ApiException as e:
    -

    Status: 401 - permission denied

    +

    Status: 401 - invalid password

    @@ -33376,7 +29501,7 @@ except ApiException as e:
    -

    Status: 403 - inactive dialogue

    +

    Status: 404 - channel not found

    @@ -33384,7 +29509,7 @@ except ApiException as e:
    -

    Status: 404 - tag, topic, or dialogue not found

    +

    Status: 410 - account disabled

    @@ -33403,103 +29528,108 @@ except ApiException as e:

    -
    -
    +
    +
    -

    setDialogueActive

    +

    setChannelCard

    -

    Set active state of dialogue. If a dialogue is inactive any update to the topics will fail. Authorization is granted to an app token of the account holder.

    +

    Set card for write access to channel. Access granted to app tokens for account holder.


    -
    /conversation/dialogues/{dialogueId}/active
    +
    /content/channels/{channelId}/cards/{cardId}

    Usage and SDK Samples

    -
    +
    curl -X PUT\
      -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/active"
    +-H "Accept: application/json"\ +"//content/channels/{channelId}/cards/{cardId}"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        Boolean body = ; // Boolean | 
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String cardId = cardId_example; // String | specified card id
             try {
    -            apiInstance.setDialogueActive(dialogueId, body);
    +            Channel result = apiInstance.setChannelCard(channelId, cardId);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueActive");
    +            System.err.println("Exception when calling ContentApi#setChannelCard");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        Boolean body = ; // Boolean | 
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String cardId = cardId_example; // String | specified card id
             try {
    -            apiInstance.setDialogueActive(dialogueId, body);
    +            Channel result = apiInstance.setChannelCard(channelId, cardId);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueActive");
    +            System.err.println("Exception when calling ContentApi#setChannelCard");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -Boolean *body = ; //  (optional)
    +String *channelId = channelId_example; // specified channel id
    +String *cardId = cardId_example; // specified card id
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance setDialogueActiveWith:dialogueId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    +[apiInstance setChannelCardWith:channelId
    +    cardId:cardId
    +              completionHandler: ^(Channel output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
                                 if (error) {
                                     NSLog(@"Error: %@", error);
                                 }
    @@ -33507,31 +29637,30 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var opts = { 
    -  'body':  // {{Boolean}} 
    -};
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var cardId = cardId_example; // {{String}} specified card id
    +
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
       } else {
    -    console.log('API called successfully.');
    +    console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.setDialogueActive(dialogueId, opts, callback);
    +api.setChannelCard(channelId, cardId, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -33540,23 +29669,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class setDialogueActiveExample
    +    public class setChannelCardExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var body = new Boolean(); // Boolean |  (optional) 
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var cardId = cardId_example;  // String | specified card id
     
                 try
                 {
    -                apiInstance.setDialogueActive(dialogueId, body);
    +                Channel result = apiInstance.setChannelCard(channelId, cardId);
    +                Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.setDialogueActive: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.setChannelCard: " + e.Message );
                 }
             }
         }
    @@ -33564,42 +29694,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$body = ; // Boolean | 
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$cardId = cardId_example; // String | specified card id
     
     try {
    -    $api_instance->setDialogueActive($dialogueId, $body);
    +    $result = $api_instance->setChannelCard($channelId, $cardId);
    +    print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setDialogueActive: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->setChannelCard: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean | 
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $cardId = cardId_example; # String | specified card id
     
     eval { 
    -    $api_instance->setDialogueActive(dialogueId => $dialogueId, body => $body);
    +    my $result = $api_instance->setChannelCard(channelId => $channelId, cardId => $cardId);
    +    print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->setDialogueActive: $@\n";
    +    warn "Exception when calling ContentApi->setChannelCard: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -33608,14 +29740,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -body =  # Boolean |  (optional)
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +cardId = cardId_example # String | specified card id
     
     try: 
    -    api_instance.set_dialogue_active(dialogueId, body=body)
    +    api_response = api_instance.set_channel_card(channelId, cardId)
    +    pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->setDialogueActive: %s\n" % e)
    + print("Exception when calling ContentApi->setChannelCard: %s\n" % e)
    @@ -33627,11 +29760,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -33639,7 +29772,1150 @@ except ApiException as e:
    - specified dialogue id + specified channel id +
    +
    +
    + Required +
    +
    +
    + + + cardId* + + + +
    +
    +
    + + String + + +
    + specified card id +
    +
    +
    + Required +
    +
    +
    + + + + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setChannelGroup

    +

    +
    +
    +
    +

    +

    Set group for read access to channel. Access granted to app tokens for account holder.

    +

    +
    +
    /content/channels/{channelId}/groups/{groupId}
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +"//content/channels/{channelId}/groups/{groupId}"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String groupId = groupId_example; // String | specified group id
    +        try {
    +            Channel result = apiInstance.setChannelGroup(channelId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String groupId = groupId_example; // String | specified group id
    +        try {
    +            Channel result = apiInstance.setChannelGroup(channelId, groupId);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelGroup");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *groupId = groupId_example; // specified group id
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance setChannelGroupWith:channelId
    +    groupId:groupId
    +              completionHandler: ^(Channel output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var groupId = groupId_example; // {{String}} specified group id
    +
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.setChannelGroup(channelId, groupId, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setChannelGroupExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var groupId = groupId_example;  // String | specified group id
    +
    +            try
    +            {
    +                Channel result = apiInstance.setChannelGroup(channelId, groupId);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.setChannelGroup: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$groupId = groupId_example; // String | specified group id
    +
    +try {
    +    $result = $api_instance->setChannelGroup($channelId, $groupId);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->setChannelGroup: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $groupId = groupId_example; # String | specified group id
    +
    +eval { 
    +    my $result = $api_instance->setChannelGroup(channelId => $channelId, groupId => $groupId);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->setChannelGroup: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +groupId = groupId_example # String | specified group id
    +
    +try: 
    +    api_response = api_instance.set_channel_group(channelId, groupId)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->setChannelGroup: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    groupId* + + +
    +
    +
    + + String + + +
    + specified group id +
    +
    +
    + Required +
    +
    +
    +
    + + + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - card or group not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setChannelSubject

    +

    +
    +
    +
    +

    +

    Set subject for channel. Access granted to app token of account holder.

    +

    +
    +
    /content/channels/{channelId}/subject
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
    +-H "Content-Type: application/json"\
    +"//content/channels/{channelId}/subject"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        Subject body = ; // Subject | 
    +        try {
    +            Channel result = apiInstance.setChannelSubject(channelId, body);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        Subject body = ; // Subject | 
    +        try {
    +            Channel result = apiInstance.setChannelSubject(channelId, body);
    +            System.out.println(result);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +Subject *body = ; //  (optional)
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance setChannelSubjectWith:channelId
    +    body:body
    +              completionHandler: ^(Channel output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var opts = { 
    +  'body':  // {{Subject}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully. Returned data: ' + data);
    +  }
    +};
    +api.setChannelSubject(channelId, opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setChannelSubjectExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var body = new Subject(); // Subject |  (optional) 
    +
    +            try
    +            {
    +                Channel result = apiInstance.setChannelSubject(channelId, body);
    +                Debug.WriteLine(result);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.setChannelSubject: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$body = ; // Subject | 
    +
    +try {
    +    $result = $api_instance->setChannelSubject($channelId, $body);
    +    print_r($result);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->setChannelSubject: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
    +
    +eval { 
    +    my $result = $api_instance->setChannelSubject(channelId => $channelId, body => $body);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->setChannelSubject: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +body =  # Subject |  (optional)
    +
    +try: 
    +    api_response = api_instance.set_channel_subject(channelId, body=body)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->setChannelSubject: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    +
    + +
    + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setChannelTopicConfirmed

    +

    +
    +
    +
    +

    +

    Set confirmed state of the channel. Until the confirmed state has been set to true, the channel will not be visible to contacts with which the channel is shared. Access granted to the app tokens of the acocunt holder.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/confirmed
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Content-Type: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}/confirmed"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        Boolean body = ; // Boolean | 
    +        try {
    +            apiInstance.setChannelTopicConfirmed(channelId, topicId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelTopicConfirmed");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        Boolean body = ; // Boolean | 
    +        try {
    +            apiInstance.setChannelTopicConfirmed(channelId, topicId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelTopicConfirmed");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +Boolean *body = ; //  (optional)
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance setChannelTopicConfirmedWith:channelId
    +    topicId:topicId
    +    body:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +var opts = { 
    +  'body':  // {{Boolean}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setChannelTopicConfirmed(channelIdtopicId, opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setChannelTopicConfirmedExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +            var body = new Boolean(); // Boolean |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setChannelTopicConfirmed(channelId, topicId, body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.setChannelTopicConfirmed: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +$body = ; // Boolean | 
    +
    +try {
    +    $api_instance->setChannelTopicConfirmed($channelId, $topicId, $body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->setChannelTopicConfirmed: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +my $body = WWW::SwaggerClient::Object::Boolean->new(); # Boolean | 
    +
    +eval { 
    +    $api_instance->setChannelTopicConfirmed(channelId => $channelId, topicId => $topicId, body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->setChannelTopicConfirmed: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +body =  # Boolean |  (optional)
    +
    +try: 
    +    api_instance.set_channel_topic_confirmed(channelId, topicId, body=body)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->setChannelTopicConfirmed: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    +
    +
    + + String + + +
    + specified topic id
    @@ -33685,12 +30961,12 @@ except ApiException as e: } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_setDialogueActive_body'); + var result = $('#d2e199_setChannelTopicConfirmed_body'); result.empty(); result.append(view.render()); }); -
    +
    @@ -33714,7 +30990,15 @@ except ApiException as e:
    -

    Status: 404 - dialogue not found

    +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -33733,1381 +31017,104 @@ except ApiException as e:

    -
    -
    +
    +
    -

    setDialogueInsightStatus

    +

    setChannelTopicSubject

    -

    Set active status for contact on the host node. Access is granted to a contact token for an account with the specified contact

    +

    Set subject for channel. Access granted to app token of account holder.


    -
    /conversation/dialogues/{dialogueId}/status
    +
    /content/channels/{channelId}/topics/{topicId}/subject

    Usage and SDK Samples

    -
    +
    curl -X PUT\
      -H "Authorization: Bearer [[accessToken]]"\
     -H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/status"
    +"//content/channels/{channelId}/topics/{topicId}/subject"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    +import io.swagger.client.api.ContentApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String body = ; // String | 
    -        try {
    -            apiInstance.setDialogueInsightStatus(dialogueId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueInsightStatus");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        String body = ; // String | 
    -        try {
    -            apiInstance.setDialogueInsightStatus(dialogueId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueInsightStatus");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -String *body = ; //  (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance setDialogueInsightStatusWith:dialogueId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var opts = { 
    -  'body':  // {{String}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setDialogueInsightStatus(dialogueId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setDialogueInsightStatusExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var body = new String(); // String |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setDialogueInsightStatus(dialogueId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.setDialogueInsightStatus: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$body = ; // String | 
    -
    -try {
    -    $api_instance->setDialogueInsightStatus($dialogueId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setDialogueInsightStatus: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $body = WWW::SwaggerClient::Object::String->new(); # String | 
    -
    -eval { 
    -    $api_instance->setDialogueInsightStatus(dialogueId => $dialogueId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->setDialogueInsightStatus: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -body =  # String |  (optional)
    -
    -try: 
    -    api_instance.set_dialogue_insight_status(dialogueId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->setDialogueInsightStatus: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setDialogueSubject

    -

    -
    -
    -
    -

    -

    Set the subject for a dialogue. Authorization granted the an app token for the account holder.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/subject
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/subject"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        DialogueId_subject_body body = ; // DialogueId_subject_body | 
    -        try {
    -            apiInstance.setDialogueSubject(dialogueId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueSubject");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    -        DialogueId_subject_body body = ; // DialogueId_subject_body | 
    -        try {
    -            apiInstance.setDialogueSubject(dialogueId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setDialogueSubject");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    -DialogueId_subject_body *body = ; //  (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance setDialogueSubjectWith:dialogueId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    -var opts = { 
    -  'body':  // {{DialogueId_subject_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setDialogueSubject(dialogueId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setDialogueSubjectExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    -            var body = new DialogueId_subject_body(); // DialogueId_subject_body |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setDialogueSubject(dialogueId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.setDialogueSubject: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    -$body = ; // DialogueId_subject_body | 
    -
    -try {
    -    $api_instance->setDialogueSubject($dialogueId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setDialogueSubject: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    -my $body = WWW::SwaggerClient::Object::DialogueId_subject_body->new(); # DialogueId_subject_body | 
    -
    -eval { 
    -    $api_instance->setDialogueSubject(dialogueId => $dialogueId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->setDialogueSubject: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    -body =  # DialogueId_subject_body |  (optional)
    -
    -try: 
    -    api_instance.set_dialogue_subject(dialogueId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->setDialogueSubject: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - specified dialogue id -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 201 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setInsightDialogue

    -

    -
    -
    -
    -

    -

    Remove a specified insight. If the referenced dialogue is still active, the insight will get recreated with the next hook receiver update. Access granted to contact token of a connected card.

    -

    -
    -
    /conversation/insights/{dialogueId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//conversation/insights/{dialogueId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | insight id to update
    -        try {
    -            apiInstance.setInsightDialogue(dialogueId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setInsightDialogue");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | insight id to update
    -        try {
    -            apiInstance.setInsightDialogue(dialogueId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setInsightDialogue");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // insight id to update
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance setInsightDialogueWith:dialogueId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} insight id to update
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setInsightDialogue(dialogueId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setInsightDialogueExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | insight id to update
    -
    -            try
    -            {
    -                apiInstance.setInsightDialogue(dialogueId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.setInsightDialogue: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | insight id to update
    -
    -try {
    -    $api_instance->setInsightDialogue($dialogueId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setInsightDialogue: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | insight id to update
    -
    -eval { 
    -    $api_instance->setInsightDialogue(dialogueId => $dialogueId);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->setInsightDialogue: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | insight id to update
    -
    -try: 
    -    api_instance.set_insight_dialogue(dialogueId)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->setInsightDialogue: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    dialogueId* - - -
    -
    -
    - - String - - -
    - insight id to update -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 404 - dialogue not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setInsightStatus

    -

    -
    -
    -
    -

    -

    Set the status of an insight. This will cause the hook receiver to return an inactive status. Access granted to app token of account holder.

    -

    -
    -
    /conversation/insights/{insightId}/status
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//conversation/insights/{insightId}/status"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String insightId = insightId_example; // String | dialogue with insight id to update
    -        String body = ; // String | 
    -        try {
    -            apiInstance.setInsightStatus(insightId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setInsightStatus");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ConversationApi;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String insightId = insightId_example; // String | dialogue with insight id to update
    -        String body = ; // String | 
    -        try {
    -            apiInstance.setInsightStatus(insightId, body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setInsightStatus");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *insightId = insightId_example; // dialogue with insight id to update
    -String *body = ; //  (optional)
    -
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    -
    -[apiInstance setInsightStatusWith:insightId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ConversationApi()
    -var insightId = insightId_example; // {{String}} dialogue with insight id to update
    -var opts = { 
    -  'body':  // {{String}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.setInsightStatus(insightId, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class setInsightStatusExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ConversationApi();
    -            var insightId = insightId_example;  // String | dialogue with insight id to update
    -            var body = new String(); // String |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.setInsightStatus(insightId, body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ConversationApi.setInsightStatus: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$insightId = insightId_example; // String | dialogue with insight id to update
    -$body = ; // String | 
    -
    -try {
    -    $api_instance->setInsightStatus($insightId, $body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setInsightStatus: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $insightId = insightId_example; # String | dialogue with insight id to update
    -my $body = WWW::SwaggerClient::Object::String->new(); # String | 
    -
    -eval { 
    -    $api_instance->setInsightStatus(insightId => $insightId, body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ConversationApi->setInsightStatus: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -insightId = insightId_example # String | dialogue with insight id to update
    -body =  # String |  (optional)
    -
    -try: 
    -    api_instance.set_insight_status(insightId, body=body)
    -except ApiException as e:
    -    print("Exception when calling ConversationApi->setInsightStatus: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    insightId* - - -
    -
    -
    - - String - - -
    - dialogue with insight id to update -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 403 - invalid state

    - - - -
    -
    - -

    Status: 404 - insight not found

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    setTopicSubject

    -

    -
    -
    -
    -

    -

    Set the subject for a topic. Authorization granted to account holder app token or dialogue member contact token who is also the creator of the topic.

    -

    -
    -
    /conversation/dialogues/{dialogueId}/topics/{topicId}/subject
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X PUT\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//conversation/dialogues/{dialogueId}/topics/{topicId}/subject"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ConversationApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ConversationApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        TopicId_subject_body body = ; // TopicId_subject_body | 
    +        Subject body = ; // Subject | 
             try {
    -            apiInstance.setTopicSubject(dialogueId, topicId, body);
    +            apiInstance.setChannelTopicSubject(channelId, topicId, body);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setTopicSubject");
    +            System.err.println("Exception when calling ContentApi#setChannelTopicSubject");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ConversationApi;
    +                          
    +
    import io.swagger.client.api.ContentApi;
     
    -public class ConversationApiExample {
    +public class ContentApiExample {
     
         public static void main(String[] args) {
    -        ConversationApi apiInstance = new ConversationApi();
    -        String dialogueId = dialogueId_example; // String | specified dialogue id
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
             String topicId = topicId_example; // String | specified topic id
    -        TopicId_subject_body body = ; // TopicId_subject_body | 
    +        Subject body = ; // Subject | 
             try {
    -            apiInstance.setTopicSubject(dialogueId, topicId, body);
    +            apiInstance.setChannelTopicSubject(channelId, topicId, body);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ConversationApi#setTopicSubject");
    +            System.err.println("Exception when calling ContentApi#setChannelTopicSubject");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *dialogueId = dialogueId_example; // specified dialogue id
    +String *channelId = channelId_example; // specified channel id
     String *topicId = topicId_example; // specified topic id
    -TopicId_subject_body *body = ; //  (optional)
    +Subject *body = ; //  (optional)
     
    -ConversationApi *apiInstance = [[ConversationApi alloc] init];
    +ContentApi *apiInstance = [[ContentApi alloc] init];
     
    -[apiInstance setTopicSubjectWith:dialogueId
    +[apiInstance setChannelTopicSubjectWith:channelId
         topicId:topicId
         body:body
                   completionHandler: ^(NSError* error) {
    @@ -35118,16 +31125,16 @@ ConversationApi *apiInstance = [[ConversationApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ConversationApi()
    -var dialogueId = dialogueId_example; // {{String}} specified dialogue id
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
     var topicId = topicId_example; // {{String}} specified topic id
     var opts = { 
    -  'body':  // {{TopicId_subject_body}} 
    +  'body':  // {{Subject}} 
     };
     var callback = function(error, data, response) {
       if (error) {
    @@ -35136,14 +31143,14 @@ var callback = function(error, data, response) {
         console.log('API called successfully.');
       }
     };
    -api.setTopicSubject(dialogueIdtopicId, opts, callback);
    +api.setChannelTopicSubject(channelIdtopicId, opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -35152,24 +31159,24 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class setTopicSubjectExample
    +    public class setChannelTopicSubjectExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ConversationApi();
    -            var dialogueId = dialogueId_example;  // String | specified dialogue id
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
                 var topicId = topicId_example;  // String | specified topic id
    -            var body = new TopicId_subject_body(); // TopicId_subject_body |  (optional) 
    +            var body = new Subject(); // Subject |  (optional) 
     
                 try
                 {
    -                apiInstance.setTopicSubject(dialogueId, topicId, body);
    +                apiInstance.setChannelTopicSubject(channelId, topicId, body);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ConversationApi.setTopicSubject: " + e.Message );
    +                Debug.Print("Exception when calling ContentApi.setChannelTopicSubject: " + e.Message );
                 }
             }
         }
    @@ -35177,44 +31184,44 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiConversationApi();
    -$dialogueId = dialogueId_example; // String | specified dialogue id
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
     $topicId = topicId_example; // String | specified topic id
    -$body = ; // TopicId_subject_body | 
    +$body = ; // Subject | 
     
     try {
    -    $api_instance->setTopicSubject($dialogueId, $topicId, $body);
    +    $api_instance->setChannelTopicSubject($channelId, $topicId, $body);
     } catch (Exception $e) {
    -    echo 'Exception when calling ConversationApi->setTopicSubject: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ContentApi->setChannelTopicSubject: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ConversationApi;
    +use WWW::SwaggerClient::ContentApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ConversationApi->new();
    -my $dialogueId = dialogueId_example; # String | specified dialogue id
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
     my $topicId = topicId_example; # String | specified topic id
    -my $body = WWW::SwaggerClient::Object::TopicId_subject_body->new(); # TopicId_subject_body | 
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
     
     eval { 
    -    $api_instance->setTopicSubject(dialogueId => $dialogueId, topicId => $topicId, body => $body);
    +    $api_instance->setChannelTopicSubject(channelId => $channelId, topicId => $topicId, body => $body);
     };
     if ($@) {
    -    warn "Exception when calling ConversationApi->setTopicSubject: $@\n";
    +    warn "Exception when calling ContentApi->setChannelTopicSubject: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -35223,15 +31230,15 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ConversationApi()
    -dialogueId = dialogueId_example # String | specified dialogue id
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
     topicId = topicId_example # String | specified topic id
    -body =  # TopicId_subject_body |  (optional)
    +body =  # Subject |  (optional)
     
     try: 
    -    api_instance.set_topic_subject(dialogueId, topicId, body=body)
    +    api_instance.set_channel_topic_subject(channelId, topicId, body=body)
     except ApiException as e:
    -    print("Exception when calling ConversationApi->setTopicSubject: %s\n" % e)
    + print("Exception when calling ContentApi->setChannelTopicSubject: %s\n" % e)
    @@ -35243,11 +31250,11 @@ except ApiException as e: Name Description - dialogueId* + channelId* -
    +
    @@ -35255,7 +31262,7 @@ except ApiException as e:
    - specified dialogue id + specified channel id
    @@ -35269,7 +31276,7 @@ except ApiException as e: -
    +
    @@ -35306,7 +31313,7 @@ except ApiException as e: "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/topicId_subject_body" + "$ref" : "#/components/schemas/Subject" } } } @@ -35323,12 +31330,12 @@ except ApiException as e: } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_setTopicSubject_body'); + var result = $('#d2e199_setChannelTopicSubject_body'); result.empty(); result.append(view.render()); }); -
    +
    @@ -35336,7 +31343,7 @@ except ApiException as e:

    Responses

    -

    Status: 201 - entry created

    +

    Status: 200 - success

    @@ -35344,7 +31351,7 @@ except ApiException as e:
    -

    Status: 401 - invalid token

    +

    Status: 401 - permission denied

    @@ -35352,7 +31359,7 @@ except ApiException as e:
    -

    Status: 403 - inactive dialogue

    +

    Status: 404 - channel not found

    @@ -35360,7 +31367,407 @@ except ApiException as e:
    -

    Status: 404 - topic or dialogue not found

    +

    Status: 410 - account disabled

    + + + +
    +
    + +

    Status: 500 - internal server error

    + + + +
    +
    + +
    +
    +
    +
    +
    +
    +

    setChannelTopicTagSubject

    +

    +
    +
    +
    +

    +

    Set subject for channel. Access granted to app token of account holder.

    +

    +
    +
    /content/channels/{channelId}/topics/{topicId}/tags/{tagId}/subject
    +

    +

    Usage and SDK Samples

    +

    + + +
    +
    +
    curl -X PUT\
    + -H "Authorization: Bearer [[accessToken]]"\
    +-H "Content-Type: application/json"\
    +"//content/channels/{channelId}/topics/{topicId}/tags/{tagId}/subject"
    +
    +
    +
    import io.swagger.client.*;
    +import io.swagger.client.auth.*;
    +import io.swagger.client.model.*;
    +import io.swagger.client.api.ContentApi;
    +
    +import java.io.File;
    +import java.util.*;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ApiClient defaultClient = Configuration.getDefaultApiClient();
    +
    +
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String tagId = tagId_example; // String | specified tag id
    +        Subject body = ; // Subject | 
    +        try {
    +            apiInstance.setChannelTopicTagSubject(channelId, topicId, tagId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelTopicTagSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    import io.swagger.client.api.ContentApi;
    +
    +public class ContentApiExample {
    +
    +    public static void main(String[] args) {
    +        ContentApi apiInstance = new ContentApi();
    +        String channelId = channelId_example; // String | specified channel id
    +        String topicId = topicId_example; // String | specified topic id
    +        String tagId = tagId_example; // String | specified tag id
    +        Subject body = ; // Subject | 
    +        try {
    +            apiInstance.setChannelTopicTagSubject(channelId, topicId, tagId, body);
    +        } catch (ApiException e) {
    +            System.err.println("Exception when calling ContentApi#setChannelTopicTagSubject");
    +            e.printStackTrace();
    +        }
    +    }
    +}
    +
    + +
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *channelId = channelId_example; // specified channel id
    +String *topicId = topicId_example; // specified topic id
    +String *tagId = tagId_example; // specified tag id
    +Subject *body = ; //  (optional)
    +
    +ContentApi *apiInstance = [[ContentApi alloc] init];
    +
    +[apiInstance setChannelTopicTagSubjectWith:channelId
    +    topicId:topicId
    +    tagId:tagId
    +    body:body
    +              completionHandler: ^(NSError* error) {
    +                            if (error) {
    +                                NSLog(@"Error: %@", error);
    +                            }
    +                        }];
    +
    +
    + +
    +
    var DataBag = require('data_bag');
    +var defaultClient = DataBag.ApiClient.instance;
    +
    +
    +var api = new DataBag.ContentApi()
    +var channelId = channelId_example; // {{String}} specified channel id
    +var topicId = topicId_example; // {{String}} specified topic id
    +var tagId = tagId_example; // {{String}} specified tag id
    +var opts = { 
    +  'body':  // {{Subject}} 
    +};
    +var callback = function(error, data, response) {
    +  if (error) {
    +    console.error(error);
    +  } else {
    +    console.log('API called successfully.');
    +  }
    +};
    +api.setChannelTopicTagSubject(channelIdtopicIdtagId, opts, callback);
    +
    +
    + + +
    +
    using System;
    +using System.Diagnostics;
    +using IO.Swagger.Api;
    +using IO.Swagger.Client;
    +using IO.Swagger.Model;
    +
    +namespace Example
    +{
    +    public class setChannelTopicTagSubjectExample
    +    {
    +        public void main()
    +        {
    +
    +
    +            var apiInstance = new ContentApi();
    +            var channelId = channelId_example;  // String | specified channel id
    +            var topicId = topicId_example;  // String | specified topic id
    +            var tagId = tagId_example;  // String | specified tag id
    +            var body = new Subject(); // Subject |  (optional) 
    +
    +            try
    +            {
    +                apiInstance.setChannelTopicTagSubject(channelId, topicId, tagId, body);
    +            }
    +            catch (Exception e)
    +            {
    +                Debug.Print("Exception when calling ContentApi.setChannelTopicTagSubject: " + e.Message );
    +            }
    +        }
    +    }
    +}
    +
    +
    + +
    +
    <?php
    +require_once(__DIR__ . '/vendor/autoload.php');
    +
    +
    +$api_instance = new Swagger\Client\ApiContentApi();
    +$channelId = channelId_example; // String | specified channel id
    +$topicId = topicId_example; // String | specified topic id
    +$tagId = tagId_example; // String | specified tag id
    +$body = ; // Subject | 
    +
    +try {
    +    $api_instance->setChannelTopicTagSubject($channelId, $topicId, $tagId, $body);
    +} catch (Exception $e) {
    +    echo 'Exception when calling ContentApi->setChannelTopicTagSubject: ', $e->getMessage(), PHP_EOL;
    +}
    +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::ContentApi;
    +
    +
    +my $api_instance = WWW::SwaggerClient::ContentApi->new();
    +my $channelId = channelId_example; # String | specified channel id
    +my $topicId = topicId_example; # String | specified topic id
    +my $tagId = tagId_example; # String | specified tag id
    +my $body = WWW::SwaggerClient::Object::Subject->new(); # Subject | 
    +
    +eval { 
    +    $api_instance->setChannelTopicTagSubject(channelId => $channelId, topicId => $topicId, tagId => $tagId, body => $body);
    +};
    +if ($@) {
    +    warn "Exception when calling ContentApi->setChannelTopicTagSubject: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +
    +# create an instance of the API class
    +api_instance = swagger_client.ContentApi()
    +channelId = channelId_example # String | specified channel id
    +topicId = topicId_example # String | specified topic id
    +tagId = tagId_example # String | specified tag id
    +body =  # Subject |  (optional)
    +
    +try: 
    +    api_instance.set_channel_topic_tag_subject(channelId, topicId, tagId, body=body)
    +except ApiException as e:
    +    print("Exception when calling ContentApi->setChannelTopicTagSubject: %s\n" % e)
    +
    +
    + +

    Parameters

    + +
    Path parameters
    + + + + + + + + + + + + + + +
    NameDescription
    channelId* + + +
    +
    +
    + + String + + +
    + specified channel id +
    +
    +
    + Required +
    +
    +
    +
    topicId* + + +
    +
    +
    + + String + + +
    + specified topic id +
    +
    +
    + Required +
    +
    +
    +
    tagId* + + +
    +
    +
    + + String + + +
    + specified tag id +
    +
    +
    + Required +
    +
    +
    +
    + + +
    Body parameters
    + + + + + + + + +
    NameDescription
    body + + + +
    +
    + + + +

    Responses

    +

    Status: 200 - success

    + + + +
    +
    + +

    Status: 401 - permission denied

    + + + +
    +
    + +

    Status: 404 - channel not found

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -35652,6 +32059,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    -->
    Configuration *apiConfig = [Configuration sharedConfig];
    +String *tokenType = tokenType_example; // 
     
     ProfileApi *apiInstance = [[ProfileApi alloc] init];
     
    -[apiInstance getProfileMessageWithCompletionHandler: 
    -              ^(DataMessage output, NSError* error) {
    +[apiInstance getProfileMessageWith:tokenType
    +              completionHandler: ^(DataMessage output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -36062,6 +32488,8 @@ var defaultClient = DataBag.ApiClient.instance;
     
     
     var api = new DataBag.ProfileApi()
    +var tokenType = tokenType_example; // {{String}} 
    +
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
    @@ -36069,7 +32497,7 @@ var callback = function(error, data, response) {
         console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.getProfileMessage(callback);
    +api.getProfileMessage(tokenType, callback);
     
    @@ -36092,10 +32520,11 @@ namespace Example var apiInstance = new ProfileApi(); + var tokenType = tokenType_example; // String | try { - DataMessage result = apiInstance.getProfileMessage(); + DataMessage result = apiInstance.getProfileMessage(tokenType); Debug.WriteLine(result); } catch (Exception e) @@ -36114,9 +32543,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiProfileApi(); +$tokenType = tokenType_example; // String | try { - $result = $api_instance->getProfileMessage(); + $result = $api_instance->getProfileMessage($tokenType); print_r($result); } catch (Exception $e) { echo 'Exception when calling ProfileApi->getProfileMessage: ', $e->getMessage(), PHP_EOL; @@ -36131,9 +32561,10 @@ use WWW::SwaggerClient::ProfileApi; my $api_instance = WWW::SwaggerClient::ProfileApi->new(); +my $tokenType = tokenType_example; # String | eval { - my $result = $api_instance->getProfileMessage(); + my $result = $api_instance->getProfileMessage(tokenType => $tokenType); print Dumper($result); }; if ($@) { @@ -36151,9 +32582,10 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.ProfileApi() +tokenType = tokenType_example # String | try: - api_response = api_instance.get_profile_message() + api_response = api_instance.get_profile_message(tokenType) pprint(api_response) except ApiException as e: print("Exception when calling ProfileApi->getProfileMessage: %s\n" % e) @@ -36163,6 +32595,32 @@ except ApiException as e:

    Parameters

    +
    Header parameters
    + + + + + + + + +
    NameDescription
    TokenType* + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    +
    @@ -36224,6 +32682,14 @@ except ApiException as e:
    +

    Status: 410 - account disabled

    + + + +
    +
    +

    Status: 500 - internal server error

    -
    -
    -
    -
    -

    Share

    -
    -
    -
    -

    addGroup

    -

    -
    -
    -
    -

    -

    Add a group for sharing. Access granted to app tokens of account holder.

    -

    -
    -
    /share/groups
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Content-Type: application/json"\
    -"//share/groups"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ShareApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ShareApi apiInstance = new ShareApi();
    -        Share_groups_body body = ; // Share_groups_body | 
    -        try {
    -            apiInstance.addGroup(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#addGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ShareApi;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ShareApi apiInstance = new ShareApi();
    -        Share_groups_body body = ; // Share_groups_body | 
    -        try {
    -            apiInstance.addGroup(body);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#addGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -Share_groups_body *body = ; //  (optional)
    -
    -ShareApi *apiInstance = [[ShareApi alloc] init];
    -
    -[apiInstance addGroupWith:body
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ShareApi()
    -var opts = { 
    -  'body':  // {{Share_groups_body}} 
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.addGroup(opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ShareApi();
    -            var body = new Share_groups_body(); // Share_groups_body |  (optional) 
    -
    -            try
    -            {
    -                apiInstance.addGroup(body);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ShareApi.addGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiShareApi();
    -$body = ; // Share_groups_body | 
    -
    -try {
    -    $api_instance->addGroup($body);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ShareApi->addGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ShareApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ShareApi->new();
    -my $body = WWW::SwaggerClient::Object::Share_groups_body->new(); # Share_groups_body | 
    -
    -eval { 
    -    $api_instance->addGroup(body => $body);
    -};
    -if ($@) {
    -    warn "Exception when calling ShareApi->addGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ShareApi()
    -body =  # Share_groups_body |  (optional)
    -
    -try: 
    -    api_instance.add_group(body=body)
    -except ApiException as e:
    -    print("Exception when calling ShareApi->addGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - entry created

    - - - -
    -
    - -

    Status: 401 - permission denied

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getGroups

    -

    -
    -
    -
    -

    -

    Get groups for sharing. Access granted to app tokens of the account holder.

    -

    -
    -
    /share/groups
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    - -H "Authorization: Bearer [[accessToken]]"\
    --H "Accept: application/json"\
    -"//share/groups"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ShareApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ShareApi apiInstance = new ShareApi();
    -        try {
    -            array[Group] result = apiInstance.getGroups();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#getGroups");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ShareApi;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ShareApi apiInstance = new ShareApi();
    -        try {
    -            array[Group] result = apiInstance.getGroups();
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#getGroups");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -ShareApi *apiInstance = [[ShareApi alloc] init];
    -
    -[apiInstance getGroupsWithCompletionHandler: 
    -              ^(array[Group] output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ShareApi()
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getGroups(callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getGroupsExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ShareApi();
    -
    -            try
    -            {
    -                array[Group] result = apiInstance.getGroups();
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ShareApi.getGroups: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiShareApi();
    -
    -try {
    -    $result = $api_instance->getGroups();
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ShareApi->getGroups: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ShareApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ShareApi->new();
    -
    -eval { 
    -    my $result = $api_instance->getGroups();
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling ShareApi->getGroups: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ShareApi()
    -
    -try: 
    -    api_response = api_instance.get_groups()
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling ShareApi->getGroups: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - successful operation

    -
    -
    -
    +
    +
    - +
    -

    Status: 401 - invalid token

    - - - -
    -
    - -

    Status: 500 - internal server error

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    removeGroup

    -

    -
    -
    -
    -

    -

    Remove sharing group

    -

    -
    -
    /share/groups/{groupId}
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X DELETE\
    - -H "Authorization: Bearer [[accessToken]]"\
    -"//share/groups/{groupId}"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.ShareApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -
    -        ShareApi apiInstance = new ShareApi();
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.removeGroup(groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#removeGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.ShareApi;
    -
    -public class ShareApiExample {
    -
    -    public static void main(String[] args) {
    -        ShareApi apiInstance = new ShareApi();
    -        String groupId = groupId_example; // String | specified group id
    -        try {
    -            apiInstance.removeGroup(groupId);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#removeGroup");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *groupId = groupId_example; // specified group id
    -
    -ShareApi *apiInstance = [[ShareApi alloc] init];
    -
    -[apiInstance removeGroupWith:groupId
    -              completionHandler: ^(NSError* error) {
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var DataBag = require('data_bag');
    -var defaultClient = DataBag.ApiClient.instance;
    -
    -
    -var api = new DataBag.ShareApi()
    -var groupId = groupId_example; // {{String}} specified group id
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully.');
    -  }
    -};
    -api.removeGroup(groupId, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class removeGroupExample
    -    {
    -        public void main()
    -        {
    -
    -
    -            var apiInstance = new ShareApi();
    -            var groupId = groupId_example;  // String | specified group id
    -
    -            try
    -            {
    -                apiInstance.removeGroup(groupId);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling ShareApi.removeGroup: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -
    -$api_instance = new Swagger\Client\ApiShareApi();
    -$groupId = groupId_example; // String | specified group id
    -
    -try {
    -    $api_instance->removeGroup($groupId);
    -} catch (Exception $e) {
    -    echo 'Exception when calling ShareApi->removeGroup: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ShareApi;
    -
    -
    -my $api_instance = WWW::SwaggerClient::ShareApi->new();
    -my $groupId = groupId_example; # String | specified group id
    -
    -eval { 
    -    $api_instance->removeGroup(groupId => $groupId);
    -};
    -if ($@) {
    -    warn "Exception when calling ShareApi->removeGroup: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -
    -# create an instance of the API class
    -api_instance = swagger_client.ShareApi()
    -groupId = groupId_example # String | specified group id
    -
    -try: 
    -    api_instance.remove_group(groupId)
    -except ApiException as e:
    -    print("Exception when calling ShareApi->removeGroup: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    groupId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - success

    - - - -
    -
    -

    Status: 401 - permission denied


    -
    -
    +
    +
    -

    updateGroup

    +

    setProfileImage

    -

    Update group description for sharing. Access granted to app tokens of account holder.

    +

    Set base64 encode image data for profile. Access granted to app tokens of account holder.


    -
    /share/groups/{groupId}
    +
    /profile/image

    Usage and SDK Samples

    -
    +
    curl -X PUT\
      -H "Authorization: Bearer [[accessToken]]"\
    +-H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"//share/groups/{groupId}"
    +"//profile/image"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    -import io.swagger.client.api.ShareApi;
    +import io.swagger.client.api.ProfileApi;
     
     import java.io.File;
     import java.util.*;
     
    -public class ShareApiExample {
    +public class ProfileApiExample {
     
         public static void main(String[] args) {
             ApiClient defaultClient = Configuration.getDefaultApiClient();
     
     
    -        ShareApi apiInstance = new ShareApi();
    -        String groupId = groupId_example; // String | specified group id
    -        Groups_groupId_body body = ; // Groups_groupId_body | 
    +        ProfileApi apiInstance = new ProfileApi();
    +        String body = ; // String | 
             try {
    -            apiInstance.updateGroup(groupId, body);
    +            Profile result = apiInstance.setProfileImage(body);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#updateGroup");
    +            System.err.println("Exception when calling ProfileApi#setProfileImage");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    import io.swagger.client.api.ShareApi;
    +                          
    +
    import io.swagger.client.api.ProfileApi;
     
    -public class ShareApiExample {
    +public class ProfileApiExample {
     
         public static void main(String[] args) {
    -        ShareApi apiInstance = new ShareApi();
    -        String groupId = groupId_example; // String | specified group id
    -        Groups_groupId_body body = ; // Groups_groupId_body | 
    +        ProfileApi apiInstance = new ProfileApi();
    +        String body = ; // String | 
             try {
    -            apiInstance.updateGroup(groupId, body);
    +            Profile result = apiInstance.setProfileImage(body);
    +            System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling ShareApi#updateGroup");
    +            System.err.println("Exception when calling ProfileApi#setProfileImage");
                 e.printStackTrace();
             }
         }
     }
    -
    +
    Configuration *apiConfig = [Configuration sharedConfig];
    -String *groupId = groupId_example; // specified group id
    -Groups_groupId_body *body = ; //  (optional)
    +String *body = ; //  (optional)
     
    -ShareApi *apiInstance = [[ShareApi alloc] init];
    +ProfileApi *apiInstance = [[ProfileApi alloc] init];
     
    -[apiInstance updateGroupWith:groupId
    -    body:body
    -              completionHandler: ^(NSError* error) {
    +[apiInstance setProfileImageWith:body
    +              completionHandler: ^(Profile output, NSError* error) {
    +                            if (output) {
    +                                NSLog(@"%@", output);
    +                            }
                                 if (error) {
                                     NSLog(@"Error: %@", error);
                                 }
    @@ -37472,31 +33149,30 @@ ShareApi *apiInstance = [[ShareApi alloc] init];
     
    -
    +
    var DataBag = require('data_bag');
     var defaultClient = DataBag.ApiClient.instance;
     
     
    -var api = new DataBag.ShareApi()
    -var groupId = groupId_example; // {{String}} specified group id
    +var api = new DataBag.ProfileApi()
     var opts = { 
    -  'body':  // {{Groups_groupId_body}} 
    +  'body':  // {{String}} 
     };
     var callback = function(error, data, response) {
       if (error) {
         console.error(error);
       } else {
    -    console.log('API called successfully.');
    +    console.log('API called successfully. Returned data: ' + data);
       }
     };
    -api.updateGroup(groupId, opts, callback);
    +api.setProfileImage(opts, callback);
     
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -37505,23 +33181,23 @@ using IO.Swagger.Model;
     
     namespace Example
     {
    -    public class updateGroupExample
    +    public class setProfileImageExample
         {
             public void main()
             {
     
     
    -            var apiInstance = new ShareApi();
    -            var groupId = groupId_example;  // String | specified group id
    -            var body = new Groups_groupId_body(); // Groups_groupId_body |  (optional) 
    +            var apiInstance = new ProfileApi();
    +            var body = new String(); // String |  (optional) 
     
                 try
                 {
    -                apiInstance.updateGroup(groupId, body);
    +                Profile result = apiInstance.setProfileImage(body);
    +                Debug.WriteLine(result);
                 }
                 catch (Exception e)
                 {
    -                Debug.Print("Exception when calling ShareApi.updateGroup: " + e.Message );
    +                Debug.Print("Exception when calling ProfileApi.setProfileImage: " + e.Message );
                 }
             }
         }
    @@ -37529,42 +33205,42 @@ namespace Example
     
    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     
    -$api_instance = new Swagger\Client\ApiShareApi();
    -$groupId = groupId_example; // String | specified group id
    -$body = ; // Groups_groupId_body | 
    +$api_instance = new Swagger\Client\ApiProfileApi();
    +$body = ; // String | 
     
     try {
    -    $api_instance->updateGroup($groupId, $body);
    +    $result = $api_instance->setProfileImage($body);
    +    print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling ShareApi->updateGroup: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling ProfileApi->setProfileImage: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::ShareApi;
    +use WWW::SwaggerClient::ProfileApi;
     
     
    -my $api_instance = WWW::SwaggerClient::ShareApi->new();
    -my $groupId = groupId_example; # String | specified group id
    -my $body = WWW::SwaggerClient::Object::Groups_groupId_body->new(); # Groups_groupId_body | 
    +my $api_instance = WWW::SwaggerClient::ProfileApi->new();
    +my $body = WWW::SwaggerClient::Object::String->new(); # String | 
     
     eval { 
    -    $api_instance->updateGroup(groupId => $groupId, body => $body);
    +    my $result = $api_instance->setProfileImage(body => $body);
    +    print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling ShareApi->updateGroup: $@\n";
    +    warn "Exception when calling ProfileApi->setProfileImage: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -37573,48 +33249,19 @@ from pprint import pprint
     
     
     # create an instance of the API class
    -api_instance = swagger_client.ShareApi()
    -groupId = groupId_example # String | specified group id
    -body =  # Groups_groupId_body |  (optional)
    +api_instance = swagger_client.ProfileApi()
    +body =  # String |  (optional)
     
     try: 
    -    api_instance.update_group(groupId, body=body)
    +    api_response = api_instance.set_profile_image(body=body)
    +    pprint(api_response)
     except ApiException as e:
    -    print("Exception when calling ShareApi->updateGroup: %s\n" % e)
    + print("Exception when calling ProfileApi->setProfileImage: %s\n" % e)

    Parameters

    -
    Path parameters
    - - - - - - - - -
    NameDescription
    groupId* - - -
    -
    -
    - - String - - -
    - specified group id -
    -
    -
    - Required -
    -
    -
    -
    Body parameters
    @@ -37633,7 +33280,7 @@ except ApiException as e: "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/groups_groupId_body" + "type" : "string" } } } @@ -37650,12 +33297,12 @@ except ApiException as e: } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_updateGroup_body'); + var result = $('#d2e199_setProfileImage_body'); result.empty(); result.append(view.render()); }); -
    +
    @@ -37666,9 +33313,49 @@ except ApiException as e:

    Status: 200 - success

    +
    +
    + +
    + +

    Status: 401 - permission denied

    @@ -37679,7 +33366,15 @@ except ApiException as e:
    -

    Status: 404 - group not found

    +

    Status: 405 - invalid image

    + + + +
    +
    + +

    Status: 410 - account disabled

    @@ -39395,7 +35090,7 @@ except ApiException as e: "use strict";function YAMLException(t,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=t,this.mark=r,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}YAMLException.prototype=Object.create(Error.prototype),YAMLException.prototype.constructor=YAMLException,YAMLException.prototype.toString=function(t){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!t&&this.mark&&(r+=" "+this.mark.toString()),r},module.exports=YAMLException; },{}],43:[function(require,module,exports){ - "use strict";function is_EOL(e){return 10===e||13===e}function is_WHITE_SPACE(e){return 9===e||32===e}function is_WS_OR_EOL(e){return 9===e||32===e||10===e||13===e}function is_FLOW_INDICATOR(e){return 44===e||91===e||93===e||123===e||125===e}function fromHexCode(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function escapedHexLen(e){return 120===e?2:117===e?4:85===e?8:0}function fromDecimalCode(e){return e>=48&&57>=e?e-48:-1}function simpleEscapeSequence(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function charFromCodepoint(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function State(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DEFAULT_FULL_SCHEMA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError(e,t){return new YAMLException(t,new Mark(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}function captureSegment(e,t,n,i){var o,r,a,s;if(n>t){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;r>o;o+=1)a=s.charCodeAt(o),9===a||a>=32&&1114111>=a||throwError(e,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(s)&&throwError(e,"the stream contains non-printable characters");e.result+=s}}function mergeMappings(e,t,n,i){var o,r,a,s;for(common.isObject(n)||throwError(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;s>a;a+=1)r=o[a],_hasOwnProperty.call(t,r)||(t[r]=n[r],i[r]=!0)}function storeMappingPair(e,t,n,i,o,r){var a,s;if(o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(r))for(a=0,s=r.length;s>a;a+=1)mergeMappings(e,t,r[a],n);else mergeMappings(e,t,r,n);else e.json||_hasOwnProperty.call(n,o)||!_hasOwnProperty.call(t,o)||throwError(e,"duplicated mapping key"),t[o]=r,delete n[o];return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):throwError(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function skipSeparationSpace(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!is_EOL(o))break;for(readLineBreak(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent1&&(e.result+=common.repeat("\n",t-1))}function readPlainScalar(e,t,n){var i,o,r,a,s,p,c,l,u,d=e.kind,h=e.result;if(u=e.input.charCodeAt(e.position),is_WS_OR_EOL(u)||is_FLOW_INDICATOR(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;0!==u;){if(58===u){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o))break}else if(35===u){if(i=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(i))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(u))break;if(is_EOL(u)){if(p=e.line,c=e.lineStart,l=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=p,e.lineStart=c,e.lineIndent=l;break}}s&&(captureSegment(e,r,a,!1),writeFoldedLines(e,e.line-p),r=a=e.position,s=!1),is_WHITE_SPACE(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return captureSegment(e,r,a,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function readSingleQuotedScalar(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(captureSegment(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else is_EOL(n)?(captureSegment(e,i,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),i=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return captureSegment(e,n,e.position,!0),e.position++,!0;if(92===s){if(captureSegment(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),is_EOL(s))skipSeparationSpace(e,!1,t);else if(256>s&&simpleEscapeCheck[s])e.result+=simpleEscapeMap[s],e.position++;else if((a=escapedHexLen(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=fromHexCode(s))>=0?r=(r<<4)+a:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(r),e.position++}else throwError(e,"unknown escape sequence");n=i=e.position}else is_EOL(s)?(captureSegment(e,n,i,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),n=i=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var n,i,o,r,a,s,p,c,l,u,d,h=!0,f=e.tag,_=e.anchor,A={};if(d=e.input.charCodeAt(e.position),91===d)r=93,p=!1,i=[];else{if(123!==d)return!1;r=125,p=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),d=e.input.charCodeAt(++e.position);0!==d;){if(skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),d===r)return e.position++,e.tag=f,e.anchor=_,e.kind=p?"mapping":"sequence",e.result=i,!0;h||throwError(e,"missed comma between flow collection entries"),l=c=u=null,a=s=!1,63===d&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)&&(a=s=!0,e.position++,skipSeparationSpace(e,!0,t))),n=e.line,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),l=e.tag,c=e.result,skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),!s&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),u=e.result),p?storeMappingPair(e,i,A,l,c,u):a?i.push(storeMappingPair(e,null,A,l,c,u)):i.push(c),skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(h=!0,d=e.input.charCodeAt(++e.position)):h=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var n,i,o,r,a=CHOMPING_CLIP,s=!1,p=!1,c=t,l=0,u=!1;if(r=e.input.charCodeAt(e.position),124===r)i=!1;else{if(62!==r)return!1;i=!0}for(e.kind="scalar",e.result="";0!==r;)if(r=e.input.charCodeAt(++e.position),43===r||45===r)CHOMPING_CLIP===a?a=43===r?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else{if(!((o=fromDecimalCode(r))>=0))break;0===o?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):p?throwError(e,"repeat of an indentation width identifier"):(c=t+o-1,p=!0)}if(is_WHITE_SPACE(r)){do r=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(r));if(35===r)do r=e.input.charCodeAt(++e.position);while(!is_EOL(r)&&0!==r)}for(;0!==r;){for(readLineBreak(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!p||e.lineIndentc&&(c=e.lineIndent),is_EOL(r))l++;else{if(e.lineIndentt)&&0!==o)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(f?d=e.result:h=e.result),f||(storeMappingPair(e,c,l,u,d,h),u=d=h=null),skipSeparationSpace(e,!0,-1),a=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==a)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentp;p+=1)if(l=e.implicitTypes[p],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else _hasOwnProperty.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):throwError(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function readDocument(e){var t,n,i,o,r=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),i=[],n.length<1&&throwError(e,"directive name must not be less than one character in length");0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!is_EOL(o));break}if(is_EOL(o))break;for(t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==o&&readLineBreak(e),_hasOwnProperty.call(directiveHandlers,n)?directiveHandlers[n](e,n,i):throwWarning(e,'unknown document directive "'+n+'"')}return skipSeparationSpace(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,skipSeparationSpace(e,!0,-1)):a&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(r,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,skipSeparationSpace(e,!0,-1))):void(e.positioni;i+=1)t(r[i])}function load(e,t){var n=loadDocuments(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(e,t,n){loadAll(e,t,common.extend({schema:DEFAULT_SAFE_SCHEMA},n))}function safeLoad(e,t){return load(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}for(var common=require("./common"),YAMLException=require("./exception"),Mark=require("./mark"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(e,t,n){var i,o,r;null!==e.version&&throwError(e,"duplication of %YAML directive"),1!==n.length&&throwError(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&throwError(e,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),r=parseInt(i[2],10),1!==o&&throwError(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>r,1!==r&&2!==r&&throwWarning(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,o;2!==n.length&&throwError(e,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],PATTERN_TAG_HANDLE.test(i)||throwError(e,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(e.tagMap,i)&&throwError(e,'there is a previously declared suffix for "'+i+'" tag handle'),PATTERN_TAG_URI.test(o)||throwError(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=o}};module.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad; + "use strict";function is_EOL(e){return 10===e||13===e}function is_WHITE_SPACE(e){return 9===e||32===e}function is_WS_OR_EOL(e){return 9===e||32===e||10===e||13===e}function is_FLOW_INDICATOR(e){return 44===e||91===e||93===e||123===e||125===e}function fromHexCode(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function escapedHexLen(e){return 120===e?2:117===e?4:85===e?8:0}function fromDecimalCode(e){return e>=48&&57>=e?e-48:-1}function simpleEscapeSequence(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function charFromCodepoint(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function State(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DEFAULT_FULL_SCHEMA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError(e,t){return new YAMLException(t,new Mark(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}function captureSegment(e,t,n,i){var o,r,a,s;if(n>t){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;r>o;o+=1)a=s.charCodeAt(o),9===a||a>=32&&1114111>=a||throwError(e,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(s)&&throwError(e,"the stream contains non-printable characters");e.result+=s}}function mergeMappings(e,t,n,i){var o,r,a,s;for(common.isObject(n)||throwError(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;s>a;a+=1)r=o[a],_hasOwnProperty.call(t,r)||(t[r]=n[r],i[r]=!0)}function storeMappingPair(e,t,n,i,o,r){var a,s;if(o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(r))for(a=0,s=r.length;s>a;a+=1)mergeMappings(e,t,r[a],n);else mergeMappings(e,t,r,n);else e.json||_hasOwnProperty.call(n,o)||!_hasOwnProperty.call(t,o)||throwError(e,"duplicated mapping key"),t[o]=r,delete n[o];return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):throwError(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function skipSeparationSpace(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!is_EOL(o))break;for(readLineBreak(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent1&&(e.result+=common.repeat("\n",t-1))}function readPlainScalar(e,t,n){var i,o,r,a,s,p,c,l,u,d=e.kind,h=e.result;if(u=e.input.charCodeAt(e.position),is_WS_OR_EOL(u)||is_FLOW_INDICATOR(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;0!==u;){if(58===u){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o))break}else if(35===u){if(i=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(i))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(u))break;if(is_EOL(u)){if(p=e.line,c=e.lineStart,l=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=p,e.lineStart=c,e.lineIndent=l;break}}s&&(captureSegment(e,r,a,!1),writeFoldedLines(e,e.line-p),r=a=e.position,s=!1),is_WHITE_SPACE(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return captureSegment(e,r,a,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function readSingleQuotedScalar(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(captureSegment(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else is_EOL(n)?(captureSegment(e,i,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),i=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return captureSegment(e,n,e.position,!0),e.position++,!0;if(92===s){if(captureSegment(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),is_EOL(s))skipSeparationSpace(e,!1,t);else if(256>s&&simpleEscapeCheck[s])e.result+=simpleEscapeMap[s],e.position++;else if((a=escapedHexLen(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=fromHexCode(s))>=0?r=(r<<4)+a:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(r),e.position++}else throwError(e,"unknown escape sequence");n=i=e.position}else is_EOL(s)?(captureSegment(e,n,i,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),n=i=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var n,i,o,r,a,s,p,c,l,u,d,h=!0,f=e.tag,_=e.anchor,A={};if(d=e.input.charCodeAt(e.position),91===d)r=93,p=!1,i=[];else{if(123!==d)return!1;r=125,p=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),d=e.input.charCodeAt(++e.position);0!==d;){if(skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),d===r)return e.position++,e.tag=f,e.anchor=_,e.kind=p?"mapping":"sequence",e.result=i,!0;h||throwError(e,"missed comma between flow collection entries"),l=c=u=null,a=s=!1,63===d&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)&&(a=s=!0,e.position++,skipSeparationSpace(e,!0,t))),n=e.line,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),l=e.tag,c=e.result,skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),!s&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),u=e.result),p?storeMappingPair(e,i,A,l,c,u):a?i.push(storeMappingPair(e,null,A,l,c,u)):i.push(c),skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(h=!0,d=e.input.charCodeAt(++e.position)):h=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var n,i,o,r,a=CHOMPING_CLIP,s=!1,p=!1,c=t,l=0,u=!1;if(r=e.input.charCodeAt(e.position),124===r)i=!1;else{if(62!==r)return!1;i=!0}for(e.kind="scalar",e.result="";0!==r;)if(r=e.input.charCodeAt(++e.position),43===r||45===r)CHOMPING_CLIP===a?a=43===r?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else{if(!((o=fromDecimalCode(r))>=0))break;0===o?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):p?throwError(e,"repeat of an indentation width identifier"):(c=t+o-1,p=!0)}if(is_WHITE_SPACE(r)){do r=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(r));if(35===r)do r=e.input.charCodeAt(++e.position);while(!is_EOL(r)&&0!==r)}for(;0!==r;){for(readLineBreak(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!p||e.lineIndentc&&(c=e.lineIndent),is_EOL(r))l++;else{if(e.lineIndentt)&&0!==o)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(f?d=e.result:h=e.result),f||(storeMappingPair(e,c,l,u,d,h),u=d=h=null),skipSeparationSpace(e,!0,-1),a=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==a)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentp;p+=1)if(l=e.implicitTypes[p],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else _hasOwnProperty.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):throwError(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function readDocument(e){var t,n,i,o,r=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),i=[],n.length<1&&throwError(e,"directive name must not be less than one character in length");0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!is_EOL(o));break}if(is_EOL(o))break;for(t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==o&&readLineBreak(e),_hasOwnProperty.call(directiveHandlers,n)?directiveHandlers[n](e,n,i):throwWarning(e,'unknown document directive "'+n+'"')}return skipSeparationSpace(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,skipSeparationSpace(e,!0,-1)):a&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(r,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,skipSeparationSpace(e,!0,-1))):void(e.positioni;i+=1)t(r[i])}function load(e,t){var n=loadDocuments(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(e,t,n){loadAll(e,t,common.extend({schema:DEFAULT_SAFE_SCHEMA},n))}function safeLoad(e,t){return load(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}for(var common=require("./common"),YAMLException=require("./exception"),Mark=require("./mark"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(e,t,n){var i,o,r;null!==e.version&&throwError(e,"duplication of %YAML directive"),1!==n.length&&throwError(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&throwError(e,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),r=parseInt(i[2],10),1!==o&&throwError(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>r,1!==r&&2!==r&&throwWarning(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,o;2!==n.length&&throwError(e,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],PATTERN_TAG_HANDLE.test(i)||throwError(e,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(e.tagMap,i)&&throwError(e,'there is a previously declared suffix for "'+i+'" tag handle'),PATTERN_TAG_URI.test(o)||throwError(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=o}};module.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad; },{"./common":40,"./exception":42,"./mark":44,"./schema/default_full":47,"./schema/default_safe":48}],44:[function(require,module,exports){ "use strict";function Mark(t,i,n,e,r){this.name=t,this.buffer=i,this.position=n,this.line=e,this.column=r}var common=require("./common");Mark.prototype.getSnippet=function(t,i){var n,e,r,o,s;if(!this.buffer)return null;for(t=t||4,i=i||75,n="",e=this.position;e>0&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(e-1));)if(e-=1,this.position-e>i/2-1){n=" ... ",e+=5;break}for(r="",o=this.position;oi/2-1){r=" ... ",o-=5;break}return s=this.buffer.slice(e,o),common.repeat(" ",t)+n+s+r+"\n"+common.repeat(" ",t+this.position-e+n.length)+"^"},Mark.prototype.toString=function(t){var i,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(i=this.getSnippet(),i&&(n+=":\n"+i)),n},module.exports=Mark; @@ -39592,7 +35287,7 @@ except ApiException as e: },{}],97:[function(require,module,exports){ (function (process,global){ - function inspect(e,r){var t={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),isBoolean(r)?t.showHidden=r:r&&exports._extend(t,r),isUndefined(t.showHidden)&&(t.showHidden=!1),isUndefined(t.depth)&&(t.depth=2),isUndefined(t.colors)&&(t.colors=!1),isUndefined(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=stylizeWithColor),formatValue(t,e,t.depth)}function stylizeWithColor(e,r){var t=inspect.styles[r];return t?"["+inspect.colors[t][0]+"m"+e+"["+inspect.colors[t][1]+"m":e}function stylizeNoColor(e,r){return e}function arrayToHash(e){var r={};return e.forEach(function(e,t){r[e]=!0}),r}function formatValue(e,r,t){if(e.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==exports.inspect&&(!r.constructor||r.constructor.prototype!==r)){var n=r.inspect(t,e);return isString(n)||(n=formatValue(e,n,t)),n}var i=formatPrimitive(e,r);if(i)return i;var o=Object.keys(r),s=arrayToHash(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),isError(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return formatError(r);if(0===o.length){if(isFunction(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(isRegExp(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return e.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var c="",a=!1,l=["{","}"];if(isArray(r)&&(a=!0,l=["[","]"]),isFunction(r)){var p=r.name?": "+r.name:"";c=" [Function"+p+"]"}if(isRegExp(r)&&(c=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(c=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(c=" "+formatError(r)),0===o.length&&(!a||0==r.length))return l[0]+c+l[1];if(0>t)return isRegExp(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var f;return f=a?formatArray(e,r,t,s,o):o.map(function(n){return formatProperty(e,r,t,s,n,a)}),e.seen.pop(),reduceToSingleString(f,c,l)}function formatPrimitive(e,r){if(isUndefined(r))return e.stylize("undefined","undefined");if(isString(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}return isNumber(r)?e.stylize(""+r,"number"):isBoolean(r)?e.stylize(""+r,"boolean"):isNull(r)?e.stylize("null","null"):void 0}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatArray(e,r,t,n,i){for(var o=[],s=0,u=r.length;u>s;++s)hasOwnProperty(r,String(s))?o.push(formatProperty(e,r,t,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(formatProperty(e,r,t,n,i,!0))}),o}function formatProperty(e,r,t,n,i,o){var s,u,c;if(c=Object.getOwnPropertyDescriptor(r,i)||{value:r[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(t)?formatValue(e,c.value,null):formatValue(e,c.value,t-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),isUndefined(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function reduceToSingleString(e,r,t){var n=0,i=e.reduce(function(e,r){return n++,r.indexOf("\n")>=0&&n++,e+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(""===r?"":r+"\n ")+" "+e.join(",\n ")+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNullOrUndefined(e){return null==e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isSymbol(e){return"symbol"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return 10>e?"0"+e.toString(10):e.toString(10)}function timestamp(){var e=new Date,r=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),months[e.getMonth()],r].join(" ")}function hasOwnProperty(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var formatRegExp=/%[sdj%]/g;exports.format=function(e){if(!isString(e)){for(var r=[],t=0;t=i)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}}),s=n[t];i>t;s=n[++t])o+=isNull(s)||!isObject(s)?" "+s:" "+inspect(s);return o},exports.deprecate=function(e,r){function t(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(e,r).apply(this,arguments)};if(process.noDeprecation===!0)return e;var n=!1;return t};var debugs={},debugEnviron;exports.debuglog=function(e){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!debugs[e])if(new RegExp("\\b"+e+"\\b","i").test(debugEnviron)){var r=process.pid;debugs[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else debugs[e]=function(){};return debugs[e]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=require("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,r){if(!r||!isObject(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e}; + function inspect(e,r){var t={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),isBoolean(r)?t.showHidden=r:r&&exports._extend(t,r),isUndefined(t.showHidden)&&(t.showHidden=!1),isUndefined(t.depth)&&(t.depth=2),isUndefined(t.colors)&&(t.colors=!1),isUndefined(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=stylizeWithColor),formatValue(t,e,t.depth)}function stylizeWithColor(e,r){var t=inspect.styles[r];return t?"nspect.colors[t][0]+"m"+e+"nspect.colors[t][1]+"m":e}function stylizeNoColor(e,r){return e}function arrayToHash(e){var r={};return e.forEach(function(e,t){r[e]=!0}),r}function formatValue(e,r,t){if(e.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==exports.inspect&&(!r.constructor||r.constructor.prototype!==r)){var n=r.inspect(t,e);return isString(n)||(n=formatValue(e,n,t)),n}var i=formatPrimitive(e,r);if(i)return i;var o=Object.keys(r),s=arrayToHash(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),isError(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return formatError(r);if(0===o.length){if(isFunction(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(isRegExp(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return e.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var c="",a=!1,l=["{","}"];if(isArray(r)&&(a=!0,l=["[","]"]),isFunction(r)){var p=r.name?": "+r.name:"";c=" [Function"+p+"]"}if(isRegExp(r)&&(c=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(c=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(c=" "+formatError(r)),0===o.length&&(!a||0==r.length))return l[0]+c+l[1];if(0>t)return isRegExp(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var f;return f=a?formatArray(e,r,t,s,o):o.map(function(n){return formatProperty(e,r,t,s,n,a)}),e.seen.pop(),reduceToSingleString(f,c,l)}function formatPrimitive(e,r){if(isUndefined(r))return e.stylize("undefined","undefined");if(isString(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}return isNumber(r)?e.stylize(""+r,"number"):isBoolean(r)?e.stylize(""+r,"boolean"):isNull(r)?e.stylize("null","null"):void 0}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatArray(e,r,t,n,i){for(var o=[],s=0,u=r.length;u>s;++s)hasOwnProperty(r,String(s))?o.push(formatProperty(e,r,t,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(formatProperty(e,r,t,n,i,!0))}),o}function formatProperty(e,r,t,n,i,o){var s,u,c;if(c=Object.getOwnPropertyDescriptor(r,i)||{value:r[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(t)?formatValue(e,c.value,null):formatValue(e,c.value,t-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),isUndefined(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function reduceToSingleString(e,r,t){var n=0,i=e.reduce(function(e,r){return n++,r.indexOf("\n")>=0&&n++,e+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(""===r?"":r+"\n ")+" "+e.join(",\n ")+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNullOrUndefined(e){return null==e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isSymbol(e){return"symbol"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return 10>e?"0"+e.toString(10):e.toString(10)}function timestamp(){var e=new Date,r=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),months[e.getMonth()],r].join(" ")}function hasOwnProperty(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var formatRegExp=/%[sdj%]/g;exports.format=function(e){if(!isString(e)){for(var r=[],t=0;t=i)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}}),s=n[t];i>t;s=n[++t])o+=isNull(s)||!isObject(s)?" "+s:" "+inspect(s);return o},exports.deprecate=function(e,r){function t(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(e,r).apply(this,arguments)};if(process.noDeprecation===!0)return e;var n=!1;return t};var debugs={},debugEnviron;exports.debuglog=function(e){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!debugs[e])if(new RegExp("\\b"+e+"\\b","i").test(debugEnviron)){var r=process.pid;debugs[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else debugs[e]=function(){};return debugs[e]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=require("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,r){if(!r||!isObject(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e}; }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})