Description: Retrieve extension repository's contents
URL: http://{your-server-url}/api/v1/core/libraries/extensions/repositories/contents
Method: GET
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
currentuserid: {switch to user id}
Parameter | Type | Nullable | Description |
---|---|---|---|
repositoryguids | int[] | True | respository guids, comma separated values, eg. repositoryguids=1,2,3 |
contentids | int[] | True | content ids, comma separated values, eg. contentids=1,2,3 |
assetkeyids | int[] | True | asset key ids, comma separated values, eg. assetkeyids=1,2,3 |
assetkeyname | string | True | asset key name |
page | int | True | page number |
rpp | int | True | records per page, default = 50, max = 500 |
Example: http://{your-server-url}/api/v1/core/libraries/extensions/repositories/contents?repositoryguids=1,2,3&contentids=1,2,3&assetkeyids=1,2,3
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse
Parameter | Type |
---|---|
Response.CurrentPage | int |
Response.TotalPages | int |
Response.Rpp | int |
Response.RepositoryContents | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Extensions.RepositoryContent |
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> <CurrentPage>123</CurrentPage> <RepositoryContents xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Extensions"> <a:RepositoryContent> <BaseFile xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</BaseFile> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">2015-08-25T17:17:39.7050997Z</CreatedDate> <Description xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</Description> <ExpiryDate xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">2015-08-25T17:17:39.7050997Z</ExpiryDate> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</ExternalId> <Filter xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">Allocated</Filter> <GroupId xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</GroupId> <Height xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</Height> <Id xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</Id> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">true</IsDeleted> <LastUsed xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">2015-08-25T17:17:39.7050997Z</LastUsed> <MetaData xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents" 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> </MetaData> <Size xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">1000</Size> <Source xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</Source> <Tags xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</Tags> <Title xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">String</Title> <Type xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">HTML_Text</Type> <Usage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</Usage> <UserGroupId xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</UserGroupId> <Width xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents">123</Width> <a:AssetKeyId>123</a:AssetKeyId> <a:AssetKeyName>String</a:AssetKeyName> <a:RepositoryGuid>11111111-1111-1111-1111-111111111111</a:RepositoryGuid> </a:RepositoryContent> </RepositoryContents> <Rpp>123</Rpp> <TotalPages>123</TotalPages> </LibraryResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "CurrentPage":123, "RepositoryContents":[ { "BaseFile":"String", "CreatedDate":"\/Date(1440523059705)\/", "Description":"String", "ExpiryDate":"\/Date(1440523059705)\/", "ExternalId":"String", "Filter":3, "GroupId":123, "Height":123, "Id":123, "IsDeleted":true, "LastUsed":"\/Date(1440523059705)\/", "MetaData":[ { "Key":"String", "Value":"String" } ], "Size":1000, "Source":"String", "Tags":"String", "Title":"String", "Type":17, "Usage":123, "UserGroupId":123, "Width":123, "AssetKeyId":123, "AssetKeyName":"String", "RepositoryGuid":"11111111-1111-1111-1111-111111111111" } ], "Rpp":123, "TotalPages":123 }