Description: Update Shared Group
URL: http://{your-server-url}/api/v1/core/libraries/sharedgroups/{sharedgroupid}
Method: PUT
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
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 | Comment |
---|---|---|
Network_Management | Optional | Required if shared group created to share within network |
Account_Management | Optional | Required if shared group created to share within account |
Content_Management | Yes | |
Portal_Management | Optional | Required if shared group created to share within portal |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryRequest
Parameter | Type | Nullable |
---|---|---|
Request.SharedGroup | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.SharedGroup | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse
Parameter | Type |
---|---|
Response.SharedGroup | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.SharedGroup |
Field | Name | Values |
---|---|---|
Permission | Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Operation | Undefined = 0, Read_Only = 2, Read_Only = 2, Write = 4, Modify = 8, Special = 14, Delete = 16, Full_Control = 30 |
ResourceScope | Nexus.AppSpace.Service.Contract.Model.Enums.Resource.Scope | Undefined = 0, Portal = 1, Account_Groups = 2, Accounts = 3, Networks = 4, Applications = 5, Players = 6, User_Groups = 7, Users = 8, Zones = 9, DataSources = 10, ContentSize = 11, Server = 12, Content = 13, Campaign = 14, Client = 15, Site = 16, Widget = 17, LayoutSchedule = 18, CampaignEntity = 19, ContentFolders = 20, Layouts = 21, MediaZone = 22, Player_Groups = 23, Space = 24 |
<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"> <SharedGroup xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents"> <a:GroupId>123</a:GroupId> <a:IsRecursive>true</a:IsRecursive> <a:Permission>Special</a:Permission> <a:ResourceId>123</a:ResourceId> <a:ResourceScope>Space</a:ResourceScope> </SharedGroup> </LibraryRequest>
{ "SharedGroup":{ "GroupId":123, "IsRecursive":true, "Permission":14, "ResourceId":123, "ResourceScope":24 } }
<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> <SharedGroup xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents"> <a:GroupId>123</a:GroupId> <a:Id>123</a:Id> <a:IsRecursive>true</a:IsRecursive> <a:Permission>Special</a:Permission> <a:ResourceId>123</a:ResourceId> <a:ResourceScope>Space</a:ResourceScope> </SharedGroup> </LibraryResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "SharedGroup":{ "GroupId":123, "Id":123, "IsRecursive":true, "Permission":14, "ResourceId":123, "ResourceScope":24 } }