RetrieveSharedGroup

 

LibraryService / RetrieveSharedGroup

 

Description: Update Shared Group

URL: http://{your-server-url}/api/v1/core/libraries/sharedgroups/{sharedgroupid}

Method: GET

Token Required: True


Request Headers:
currentuserid: {switch to user id}
token: {token}
content-type: application/json or content-type: application/xml
Required Roles:

Portal Administrator, Account Administrator, Account Owner, Content Administrator, Content Manager, Widget Manager

Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse

Parameter Type
Response.SharedGroup Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Contents.SharedGroup

Enums:
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

The following is an example response Xml body:
<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>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"SharedGroup":{
		"GroupId":123,
		"Id":123,
		"IsRecursive":true,
		"Permission":14,
		"ResourceId":123,
		"ResourceScope":24
	}
}