Description: Retrieve content types by queries
URL: http://{your-server-url}/api/v1/core/libraries/contents/types
Method: GET
Token Required: True
currentuserid: {switch to user id}
content-type: application/json or content-type: application/xml
token: {token}
Portal Administrator, Account Administrator, Account Owner, Content Administrator, Content Manager
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
Right | Require |
---|---|
Content_Management | Yes |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse
Parameter | Type |
---|---|
Response.ContentTypes | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.ContentType[] |
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 |
<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> <ContentTypes xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents"> <a:ContentType> <a:Extensions xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:string>String</b:string> </a:Extensions> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:TargetedDeviceTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:string>String</b:string> </a:TargetedDeviceTags> <a:Type>HTML_Text</a:Type> </a:ContentType> </ContentTypes> </LibraryResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "ContentTypes":[ { "Extensions":[ "String" ], "Id":123, "Name":"String", "TargetedDeviceTags":[ "String" ], "Type":17 } ] }