Description: Update Contents
URL: http://{your-server-url}/api/v1/core/libraries/contents
Method: PUT
Token Required: True
token: {token}
content-type: application/json or content-type: application/xml
currentuserid: {switch to user id}
Portal Administrator, Account Administrator, Account Owner, Content Administrator, Content Manager, Widget Manager
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
| Right | Require |
|---|---|
| Content_Management | Yes |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryRequest
| Parameter | Type | Nullable |
|---|---|---|
| Request.Contents | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.Content[] or Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.ExternalContent[] or Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.RichTextContent[] or Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.WebContent[] or Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.DynamicMedia[] | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse
| Parameter | Type |
|---|---|
| Response.Contents | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.Content[] |
| Field | Name | Values |
|---|---|---|
| Type | Nexus.AppSpace.Service.Contract.Model.Enums.Content.Type | Undefined = 0, Image = 1, Video = 2, Audio = 3, Script = 4, Slide_Show = 5, ASTexture = 6, Flash = 7, Mtg = 8, PDF = 9, Television = 10, Dynamic_Media = 11, Digital_Television = 12, Web_Page = 13, External_Content = 14, PowerPoint = 15, Nexus_Remote_Desktop = 16, HTML_Text = 17, Folder = 100 |
| Filter | Nexus.AppSpace.Service.Contract.Model.Enums.Content.Filter | Undefined = 0, None = 1, Local = 2, Allocated = 3 |
<LibraryRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Contents xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">
<a:Content i:type="a:ExternalContent">
<a:BaseFile>String</a:BaseFile>
<a:Description>String</a:Description>
<a:ExpiryDate>2015-08-25T17:17:39.6570668Z</a:ExpiryDate>
<a:Filter>Allocated</a:Filter>
<a:GroupId>123</a:GroupId>
<a:Id>123</a:Id>
<a:MetaData xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
<b:KeyValuePair>
<b:Key>String</b:Key>
<b:Value>String</b:Value>
</b:KeyValuePair>
</a:MetaData>
<a:Tags>String</a:Tags>
<a:Title>String</a:Title>
<a:Type>HTML_Text</a:Type>
<a:Usage>123</a:Usage>
<a:UserGroupId>123</a:UserGroupId>
<a:ExternalContentType>String</a:ExternalContentType>
<a:ExternalContentUrl>String</a:ExternalContentUrl>
</a:Content>
</Contents>
</LibraryRequest>
{
"Contents":[
{
"__type":"ExternalContent:#Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents",
"BaseFile":"String",
"Description":"String",
"ExpiryDate":"\/Date(1440523059657)\/",
"Filter":3,
"GroupId":123,
"Id":123,
"MetaData":[
{
"Key":"String",
"Value":"String"
}
],
"Tags":"String",
"Title":"String",
"Type":17,
"Usage":123,
"UserGroupId":123,
"ExternalContentType":"String",
"ExternalContentUrl":"String"
}
]
}
<LibraryResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage>
<Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">
<Error>
<Code>String</Code>
<Message>String</Message>
<StackTrace>String</StackTrace>
</Error>
</Errors>
<Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status>
<Contents xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">
<a:Content i:type="a:ExternalContent">
<a:BaseFile>String</a:BaseFile>
<a:CreatedDate>2015-08-25T17:17:39.6610689Z</a:CreatedDate>
<a:Description>String</a:Description>
<a:ExpiryDate>2015-08-25T17:17:39.6610689Z</a:ExpiryDate>
<a:ExternalId>String</a:ExternalId>
<a:Filter>Allocated</a:Filter>
<a:GroupId>123</a:GroupId>
<a:Height>123</a:Height>
<a:Id>123</a:Id>
<a:IsDeleted>true</a:IsDeleted>
<a:LastUsed>2015-08-25T17:17:39.6610689Z</a:LastUsed>
<a:MetaData xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
<b:KeyValuePair>
<b:Key>String</b:Key>
<b:Value>String</b:Value>
</b:KeyValuePair>
</a:MetaData>
<a:Size>1000</a:Size>
<a:Source>String</a:Source>
<a:Tags>String</a:Tags>
<a:Title>String</a:Title>
<a:Type>HTML_Text</a:Type>
<a:Usage>123</a:Usage>
<a:UserGroupId>123</a:UserGroupId>
<a:Width>123</a:Width>
<a:ExternalContentType>String</a:ExternalContentType>
<a:ExternalContentUrl>String</a:ExternalContentUrl>
</a:Content>
</Contents>
</LibraryResponse>
{
"DebugMessage":"String",
"Errors":[
{
"Code":"String",
"Message":"String",
"StackTrace":"String"
}
],
"Status":1,
"Contents":[
{
"__type":"ExternalContent:#Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents",
"BaseFile":"String",
"CreatedDate":"\/Date(1440523059661)\/",
"Description":"String",
"ExpiryDate":"\/Date(1440523059661)\/",
"ExternalId":"String",
"Filter":3,
"GroupId":123,
"Height":123,
"Id":123,
"IsDeleted":true,
"LastUsed":"\/Date(1440523059661)\/",
"MetaData":[
{
"Key":"String",
"Value":"String"
}
],
"Size":1000,
"Source":"String",
"Tags":"String",
"Title":"String",
"Type":17,
"Usage":123,
"UserGroupId":123,
"Width":123,
"ExternalContentType":"String",
"ExternalContentUrl":"String"
}
]
}