帖子
https://developer.interactgo.com/api/页面/作曲家
此端点允许用户创建和发布构建页。
为了发布页面,经过身份验证的用户必须至少对Top Section id和指定的每个类别具有发布作者权限。
使用以下有效载荷作为主体:
{"Transition": {"State": "published", "Message": "version Message", "sendnotifications": true, //如果NotificationMessage: "NotificationMessage goes here" //可选-发送给接收者的消息}," page ": {"ContentType": "html", //内容类型可以是以下三种之一:"html" / "link" / "upload" "TopSectionIds": [3061], "AuthorId": 342, "PublishAsId": null, "AssetId": 250237, "Title": "test page ", "Summary":"jk page summary ", "Content": {"Html":"Content < things > here. "James Harris
"}, "CategoryIds": [3090], "雷竞技网站上Features": {"DefaultToFullWidth": false, "AllowComments": false, "IsKeyPage": false, " recommended ": {"Show": true, "MaxContentAge": 7}}, "Audience": {"RelatedContent": [{"Id": 1392, "Title": "UK Office", "ReverseLink": true}, {"Title": "UK News", "ReverseLink": 1393, "Title": "UK News", "ReverseLink":[{"Id": 265, "Name": null, "Type": "Person", "IsPerson": true}, {"Id": 266, "Name": null, "Type": "Person", "IsPerson": true}] "ComposerAttachments": {"Files": [{"Title": " johnson -asleeb-unsplash.jpg", "Path": "/Utilities/Uploads/Handler/Uploader.ashx?area=composer&filename= johnson -asleeb-unsplash.jpg" & FileGuid =3f6528e2-8d7f- 48eca -26f1d6f5055e", "Target": "_blank", " go直totarget ": false, "FileGuid":"3f6528e2-8d7f- 48eca -26f1d6f5055e", "FileSize": 2086413, "Extension": ".jpg"}]}}, "PubStartDate":"2021-08-05T11:10:46.3486271Z", "PubEndDate":"2022-08-12T11:10:46.3486271Z", "ReviewDate":"2031-08-12T11:10:46.3486271Z", "TagIds": [], "Keywords": ["Postman"], "Blocks":{}}}
{"Transition": {"State": "published", "Message": "version Message", "sendnotifications": true, //如果NotificationMessage: "NotificationMessage goes here" //可选-发送给接收者的消息}," page ": {"ContentType": "link", //内容类型可以是以下三种之一:"html" / "link" / "upload" "TopSectionIds": [3061], "AuthorId": 342, "PublishAsId": null, "AssetId": 250237, "Title": "test page ", "Summary":“jk页面摘要”,“内容”:{“链接”:{“标题”:“api链接的标题”,“地址”:“https://www.bbc.co.uk”,“目标”:“_self”,“go直线totarget”:true}},“CategoryIds”:[3090],“功能”:{“DefaultToFullWidth”:false,“AllowComments”:false,“IsKeyPage”:雷竞技网站上false,“推荐”:{“Show”:true,“MaxContentAge”:7}},“受众”:{“RelatedContent”:[{“Id”:1392,“标题”:“英国办公室”,“ReverseLink”:true},{“Id”:1393,“标题”:“英国新闻”,“ReverseLink”:true}:[{"Id": 265, "Name": null, "Type": "Person", "IsPerson": true}, {"Id": 266, "Name": null, "Type": "Person", "IsPerson": true}] "ComposerAttachments": {"Links": [{"Title": "ManualLink", "Path": http://www.google.co.uk, "Target": "_blank", " go直totarget ": false, "FileGuid": "" ", "FileSize": 0, "Extension":null}]}}, "PubStartDate":"2021-08-05T11:10:46.3486271Z", "PubEndDate":"2022-08-12T11:10:46.3486271Z", "ReviewDate":"2031-08-12T11:10:46.3486271Z", "TagIds": [], "Keywords": ["Postman"}}
{"Transition": {"State": "published", "Message": "version Message", "sendnotifications": true, //如果NotificationMessage: "NotificationMessage goes here" //可选-发送给接收者的消息}," page ": {"ContentType": "upload", //内容类型可以是以下三种之一:"html" / "link" / "upload" "TopSectionIds": [3061], "AuthorId": 342, "PublishAsId": null, "AssetId": 250237, "Title":"Regression - upload page 11/08 ", "Summary": "jk page Summary", "Content": {" upload ": {"FileGuid": "6bd1d124-1037-42bf-9c0f-748ad73e3377", "Title": "BMP IMAGES.jpg", "FileSize":61957, "Extension": ".jpg", "Address": "/Utilities/Uploads/Handler/Uploader.ashx? "面积= composer&filename = BMP IMAGES.jpg&fileguid = 6 bd1d124 - 1037 - 42 - bf - 9 - c0f - 748 ad73e3377”、“DisableDownload”:假的,”GoStraightToTarget”:假}},“被”:[3090],“功能”:{“D雷竞技网站上efaultToFullWidth”:假的,“AllowComments”:假的,“IsKeyPage”:假的,“建议”:{“展示”:真的,“MaxContentAge”:7}},“观众”:{“RelatedContent”:[{" Id ": 1392年,“标题”:“英国的办公室”,“ReverseLink”:真正的},{" Id ": 1393年,“标题”:“英国新闻”,“ReverseLink”:假}],“NotificationRecipients”:[{" Id ":{"Id": 266, "Name": null, "Type": "Person", "IsPerson": true}] "ComposerAttachments": {"Files": [{"Title": " johnson -asleeb-unsplash.jpg", "Path": "/Utilities/Uploads/Handler/Uploader.ashx?area=composer&filename= johnson -asleeb-unsplash.jpg& FileGuid =3f6528e2-8d7f-48ec-8cea-26f1d6f5055e", "Target": "_blank", " go直totarget ": false, "FileGuid": "3f6528e2-8d7f-48ec- 26f1d6f5055e", "FileSize": 2086413, "Extension":".jpg"}]}}, "PubStartDate":"2021-08-05T11:10:46.3486271Z", "PubEndDate":"2022-08-12T11:10:46.3486271Z", "ReviewDate":"2031-08-12T11:10:46.3486271Z", "TagIds": [], "Keywords": ["Postman"}}
{"Transition": {"Message": "string", "State": "string", " userid ": [0], "ResendMentions": true, "SendNotifications": true, "NotificationMessage": "string"}, "Page": {"AuthorId": 0, "PublishAsId": 0, "CategoryIds": [0], "TagIds": [0], "Keywords": ["string"], "ComposerAttachment": {"AttachmentId": 0, "Title": "string", "UploadTitle": "string", "Url": "string", "Path": "string", "PathUpload": "string", "PathLink": "string", "Target": "string", " gostringtotarget ": true, "FileGuid":"string", "FileSize": 0, "Extension": "string", "IconClass": "string", "TitleWithSize": "string", "BinaryData": "string", "TypeId": 0, "ObjectTypeId": "Content", "ObjectId": 0, "Version": 0, "Main": true, "Index": "string", " targetopoptions ": [{"Disabled": true, "Group": {"Disabled": true, "Name": "string"}, "Selected": true, "Text": "string", "Value": "string"}]}, "ComposerAttachments": {"Links": [{"AttachmentId": 0, "Title": "string", "UploadTitle": "string", "Url": "string", "Path":"string", "PathUpload": "string", "PathLink": "string", "Target": "string", " gostringtotarget ": true, "FileGuid": "string", "FileSize": 0, "Extension": "string", "IconClass": "string", "TitleWithSize": "string", "BinaryData": "string", "TypeId": 0, "ObjectTypeId": "Content", "ObjectId": 0, "Version": 0, "Main": true, "Index": "string", " targetopoptions ": [{"Disabled": true, "Name": "string"}, "Selected": true, "Text": "string", "Value": "string"}]}], "Files":[{"AttachmentId": 0, "Title": "string", "UploadTitle": "string", "Url": "string", "Path": "string", "PathUpload": "string", "PathLink": "string", "Target": "string", " gostringtotarget ": true, "FileGuid": "string", "FileSize": 0, "Extension": "string", "IconClass": "string", "TitleWithSize": "string", "BinaryData": "string", "TypeId": 0, "ObjectTypeId": "Content", "ObjectId": 0, "Version": 0, "Main": true, "Index": "string", " targetopoptions ": {"Disabled": true, "Group": {"Disabled": {true, "Name": "string"}, "Selected": true, "Text": "string", "Value": "string"}]}]}, "TopSectionIds": [0], "AssetId": 0, "ContentType": "string", "Title": "string", "Summary": "string", "Content": {"Html": "string", "Link": {"Title": "string", "Address": "string", "Target": "string", " gostringtotarget ": true, "FileGuid": "string", "FileSize": 0, "Extension": "string", "DisableDownload": true}, "Upload": {"Title": "string", "Target": "string", " gostringtotarget ": true, "FileGuid": "string", "DisableDownload": true}, "Title": "string", "Target": "string":“弦”、“GoStraightToTarget”:真的,“FileGuid”:“弦”、“文件大小”:0,“扩展”:“弦”、“DisableDownload”:真正的}},“功能”:{“DefaultToFullWidth”:真的,“AllowComment雷竞技网站上s”:真的,“IsKeyPage”:真的,“建议”:{“展示”:真的,“MaxContentAge”:0},“IsMandatoryRead”:真正的},“观众”:{“RelatedContent”:[/ /页面/文档的相关内容- ID,标题的链接/页面出现,是否反向链接{" ID ": 0,“标题”:“弦”、“ReverseLink”:真正}],“NotificationRecipients”:[/ /目标观众- Id是否根据IsPerson personId或organisationId {" Id ": 0,“名字”:“字符串”,“类型”:“弦”、“IsPerson”:真正}]},“PubStartDate”:“2021 - 08 - 12 t10:15:29.688z”、“PubEndDate”:“2021 - 08 - 12 t10:15:29.688z”、“ReviewDate”:“2021 - 08 - 12 t10:15:29.688z”、“JsonData”:“弦”、“ConfidentialityId”:0,“ClassificationId”:0,“BestBets”:“字符串”,“翻译”:{“originalLanguageId”:0,“翻译”:[{“languageId”:0,“标题”:“弦”、“总结”:“弦”、“身体”:“字符串 " } ] } } }