RPC API documentation v17.2.0

Back to Documentation Version:  General How to use RPC Managers AttributesManagerAuditMessagesManagerAuthzResolverCabinetManagerConfigManagerConsentsManagerDatabaseManagerExtSourcesManagerFacilitiesManagerGroupsManagerIntegrationManagerMembersManagerNotificationManagerOwnersManagerRTMessagesManagerRegistrarManagerResourcesManagerSearcherSecurityTeamsManagerServicesManagerTasksManagerUsersManagerVosManager

AttributesManager

Checks if this user-facility attribute has valid semantics.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
FacilityNotExistsExceptionWhen the facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen the User with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't user-facility attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "facility" : 67 , "user" : 3 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this facility attribute has valid semantics.

Parameter nameData typeDescription
facilityintFacility id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
FacilityNotExistsExceptionWhen the facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't facility attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "facility" : 1 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this vo attribute has valid semantics.

Parameter nameData typeDescription
vointVo id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
VoNotExistsExceptionWhen the vo with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute isn't attribute of Vo with id.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "vo" : 56 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member-resource attribute has valid semantics.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen the member with id doesn't exist.
MemberResourceMismatchExceptionWhen the member with id and resource with id aren't from the same Vo.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-resource attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "resource" : 89 , "member" : 10 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this group-resource attribute has valid semantics.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
GroupResourceMismatchExceptionWhen the group with id and Resource with id aren't from the same Vo.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't group-resource attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "resource" : 56 , "group" : 59 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this resource attribute has valid semantics.

Parameter nameData typeDescription
resourceintResource id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Resource with id.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "resource" : 75 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member-group attribute has valid semantics.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "member" : 64 , "group" : 17 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member attribute has valid semantics.

Parameter nameData typeDescription
memberintMember id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-resource attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "member" : 77 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this group attribute has valid semantics.

Parameter nameData typeDescription
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Group with id.
WrongAttributeValueException When the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of referenced attribute (if any) is not valid.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "group" : 94 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this host attribute has valid semantics.

Parameter nameData typeDescription
hostintHost id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
HostNotExistsExceptionWhen the host with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Host with id.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of referenced attribute (if any) is not valid.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "host" : 55 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this user attribute has valid semantics.

Parameter nameData typeDescription
userintUser id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen the user with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't user-facility attribute.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of referenced attribute (if any) is not valid.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "user" : 40 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this userExtSource attribute has valid semantics.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserExtSourceNotExistsExceptionWhen the specified user external source with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of UserExtSource with id.
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of referenced attribute (if any) is not valid.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSemantics

Example params

{ "userExtSource" : 28 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this user-facility attribute has valid syntax.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
FacilityNotExistsExceptionWhen the facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen the User with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't user-facility attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "facility" : 61 , "user" : 62 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this facility attribute has valid syntax.

Parameter nameData typeDescription
facilityintFacility id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
FacilityNotExistsExceptionWhen the facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't facility attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "facility" : 35 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this vo attribute has valid syntax.

Parameter nameData typeDescription
vointVo id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
VoNotExistsExceptionWhen the vo with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute isn't attribute of Vo with id.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "vo" : 28 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member-resource attribute has valid syntax.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen the member with id doesn't exist.
MemberResourceMismatchExceptionWhen the member with id and resource with id aren't from the same Vo.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-resource attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "resource" : 22 , "member" : 5 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this group-resource attribute has valid syntax.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
GroupResourceMismatchExceptionWhen the group with id and Resource with id aren't from the same Vo.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't group-resource attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "resource" : 58 , "group" : 73 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this resource attribute has valid syntax.

Parameter nameData typeDescription
resourceintResource id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen the resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Resource with id.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "resource" : 72 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member-group attribute has valid syntax.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "member" : 94 , "group" : 44 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this member attribute has valid syntax.

Parameter nameData typeDescription
memberintMember id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-resource attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "member" : 23 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this group attribute has valid syntax.

Parameter nameData typeDescription
groupintGroup id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Group with id.
WrongAttributeValueException When the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "group" : 69 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this host attribute has valid syntax.

Parameter nameData typeDescription
hostintHost id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
HostNotExistsExceptionWhen the host with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of Host with id.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "host" : 20 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this user attribute has valid syntax.

Parameter nameData typeDescription
userintUser id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen the user with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't user-facility attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "user" : 53 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if this userExtSource attribute has valid syntax.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeAttributeAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserExtSourceNotExistsExceptionWhen the specified user external source with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't attribute of UserExtSource with id.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributeSyntax

Example params

{ "userExtSource" : 54 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Checks if attributes have valid semantics. These attributes can be from namespace: member, user, member-resource and user-facility.

Parameter nameData typeDescription
facilityintFacility id
resourceintResource id
userintUser id
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "facility" : 97 , "resource" : 22 , "user" : 35 , "member" : 91 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these user-facility attributes have valid semantics.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "facility" : 86 , "user" : 8 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these facility attributes have valid semantics.

Parameter nameData typeDescription
facilityintFacility id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "facility" : 37 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these vo attributes have valid semantics.

Parameter nameData typeDescription
vointVo id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "vo" : 63 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member-resource attributes have valid semantics.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes. false is default.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "resource" : 88 , "member" : 5 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

null

Checks if these member-resource attributes have valid semantics.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "resource" : 46 , "member" : 55 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these group-resource attributes have valid semantics.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "resource" : 58 , "group" : 83 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these resource attributes have valid semantics.

Parameter nameData typeDescription
resourceintResource id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "resource" : 20 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member-group attributes have valid semantics.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes. false is default.
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "member" : 98 , "group" : 85 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

null

Checks if these member-group attributes have valid semantics.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "member" : 46 , "group" : 79 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member attributes have valid semantics.

Parameter nameData typeDescription
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "member" : 11 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these host attributes have valid semantics.

Parameter nameData typeDescription
hostintHost id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "host" : 10 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these user attributes have valid semantics.

Parameter nameData typeDescription
userintUser id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "user" : 1 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these userExtSource attributes have valid semantics.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSemantics

Example params

{ "userExtSource" : 50 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if attributes have valid syntax. These attributes can be from namespace: member, user, member-resource and user-facility.

Parameter nameData typeDescription
facilityintFacility id
resourceintResource id
userintUser id
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "facility" : 0 , "resource" : 58 , "user" : 53 , "member" : 57 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these user-facility attributes have valid syntax.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "facility" : 35 , "user" : 45 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these facility attributes have valid syntax.

Parameter nameData typeDescription
facilityintFacility id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "facility" : 57 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these vo attributes have valid syntax.

Parameter nameData typeDescription
vointVo id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "vo" : 10 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member-resource attributes have valid syntax.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes. false is default.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "resource" : 75 , "member" : 86 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

null

Checks if these member-resource attributes have valid syntax.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "resource" : 68 , "member" : 90 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these group-resource attributes have valid syntax.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "resource" : 55 , "group" : 63 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these resource attributes have valid syntax.

Parameter nameData typeDescription
resourceintResource id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "resource" : 20 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member-group attributes have valid syntax.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes. false is default.
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "member" : 3 , "group" : 71 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

null

Checks if these member-group attributes have valid syntax.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "member" : 9 , "group" : 51 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these member attributes have valid syntax.

Parameter nameData typeDescription
memberintMember id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "member" : 90 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these host attributes have valid syntax.

Parameter nameData typeDescription
hostintHost id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "host" : 94 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these user attributes have valid syntax.

Parameter nameData typeDescription
userintUser id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "user" : 73 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Checks if these userExtSource attributes have valid syntax.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributesList<Attribute>Attributes List
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/checkAttributesSyntax

Example params

{ "userExtSource" : 37 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Converts attribute to nonunique - unmarks unique flag from attribute definition, and deletes all values from a special table with unique constraint that ensures that all values remain unique.

Parameter nameData typeDescription
attrDefIdintAttributeDefinition id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen Attribute with id doesn't exist.
AttributeNotMarkedUniqueExceptionWhen Attribute with id is not unique.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/convertAttributeToNonunique

Example params

{ "attrDefId" : 61 }

Example response

null

Converts attribute to unique - marks its definition as unique and ensures that all its values are unique. Entityless attributes cannot be converted to unique, only attributes attached to PerunBeans or pairs of PerunBeans.

Parameter nameData typeDescription
attrDefIdintAttributeDefinition id
Thrown exceptionDescription
AttributeAlreadymarkedUniqueExceptionWhen Attribute is already marked as unique.
AttributeNotExistsExceptionWhen Attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
InternalErrorExceptionwhen some attribute values are not unique
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/convertAttributeToUnique

Example params

{ "attrDefId" : 19 }

Example response

null

Creates AttributeDefinition AttributeDefinition object must contain: namespace, friendlyName, type. Description, displayName and unique are optional. Other Parameters are ignored.

Parameter nameData typeDescription
attributeAttributeDefinitionobject
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeDefinitionCreated AttributeDefinition

Example URL

https://[hostname]/krb/rpc/json/attributesManager/createAttribute

Example params

{ "attribute" : { "friendlyName": "kerberosLogins", "namespace": "urn:perun:user:attribute-def:def", "type": "java.util.ArrayList" } }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" }

Creates AttributeDefinition "java.util.LinkedHashMap"

Parameter nameData typeDescription
friendlyNameStringfriendlyName
namespaceStringnamespace in URN format
descriptionStringdescription
typeStringtype which is one of the: "java.lang.String", "java.lang.Integer", "java.lang.Boolean", "java.util.ArrayList",
displayNameStringdisplayName
uniqueBooleanunique
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeDefinitionCreated AttributeDefinition

Example URL

https://[hostname]/krb/rpc/json/attributesManager/createAttribute

Example params

{ "friendlyName" : "kerberosLogins" , "namespace" : "urn:perun:user:attribute-def:def" , "description" : "text" , "type" : "java.util.ArrayList" , "displayName" : "text" , "unique" : {...} }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" }

Deletes attribute definition from Perun including all values set for any entity

Parameter nameData typeDescription
attributeintAttributeDefinition id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/deleteAttribute

Example params

{ "attribute" : 6 }

Example response

null

Deletes multiple attribute definitions from Perun including all values set for any entity.

Parameter nameData typeDescription
attributesList<int>AttributeDefinition id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/deleteAttributes

Example params

{ "attributes" : {...} }

Example response

null

Takes all Member related attributes (Member, User, Member-Resource, User-Facility) and tries to fill them and set them.

Parameter nameData typeDescription
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen we try to fill/set Attribute from unrelated namespace.
WrongAttributeValueExceptionWhen value of some Attribute is not correct.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/doTheMagic

Example params

{ "member" : 11 }

Example response

null

Tries to fill host attribute.

Parameter nameData typeDescription
hostintHost id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "host" : 35 , "attribute" : 50 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill group-resource attribute.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "resource" : 50 , "group" : 56 , "attribute" : 29 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill member-resource attribute.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "resource" : 75 , "member" : 54 , "attribute" : 55 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill resource attribute.

Parameter nameData typeDescription
resourceintResource id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "resource" : 96 , "attribute" : 0 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill user-facility attribute.

Parameter nameData typeDescription
userintUser id
facilityintFacility id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "user" : 21 , "facility" : 48 , "attribute" : 94 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill user attribute.

Parameter nameData typeDescription
userintUser id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "user" : 50 , "attribute" : 84 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill member-group attribute.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeintAttribute id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "member" : 81 , "group" : 4 , "attribute" : 27 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill member attribute.

Parameter nameData typeDescription
memberintMember id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "member" : 69 , "attribute" : 70 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill group attribute.

Parameter nameData typeDescription
groupintGroup id
attributeintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
Attributeattribute which may have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttribute

Example params

{ "group" : 14 , "attribute" : 78 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Tries to fill host attributes.

Parameter nameData typeDescription
hostintHost id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "host" : 84 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill group-resource attributes.

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "resource" : 1 , "group" : 89 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill user, member, member-resource and user-facility attributes.

Parameter nameData typeDescription
facilityintFacility id
resourceintResource id
userintUser id
memberintMember id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "facility" : 73 , "resource" : 91 , "user" : 97 , "member" : 15 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill member-resource attributes and also user and user-facility attributes, if workWithUserAttributes == true.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>List of attributes
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "resource" : 93 , "member" : 99 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill member-resource attributes.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "resource" : 70 , "member" : 33 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill resource attributes.

Parameter nameData typeDescription
resourceintResource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "resource" : 35 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill member-group attributes and also member and user attributes, if workWithUserAttributes == true.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
workWithUserAttributesbooleanIf true, process also User and Member attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "member" : 23 , "group" : 95 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill member-group attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "member" : 48 , "group" : 77 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill member attributes.

Parameter nameData typeDescription
memberintMember id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "member" : 21 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill user-facility attributes.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "facility" : 13 , "user" : 50 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill user attributes.

Parameter nameData typeDescription
userintUser id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "user" : 52 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Tries to fill group attributes.

Parameter nameData typeDescription
groupintGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>attributes which MAY have filled value

Example URL

https://[hostname]/krb/rpc/json/attributesManager/fillAttributes

Example params

{ "group" : 38 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns an Attribute by its id.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "facility" : 0 , "user" : 62 , "attributeId" : 52 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
facilityintFacility id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "facility" : 27 , "attributeId" : 8 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
vointVO id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "vo" : 33 , "attributeId" : 33 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 30 , "resource" : 25 , "attributeId" : 91 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "group" : 11 , "resource" : 50 , "attributeId" : 35 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
resourceintResource id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "resource" : 51 , "attributeId" : 20 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeIdintAttribute id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 53 , "group" : 15 , "attributeId" : 35 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
memberintMember id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 65 , "attributeId" : 26 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
userintUser id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "user" : 26 , "attributeId" : 9 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
hostintHost id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "host" : 90 , "attributeId" : 55 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its id.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeIdintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "userExtSource" : 16 , "attributeId" : 4 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "facility" : 47 , "user" : 50 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
facilityintFacility id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "facility" : 72 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
vointVO id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "vo" : 40 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 41 , "resource" : 4 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "group" : 87 , "resource" : 22 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
groupintGroup id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "group" : 84 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
resourceintResource id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "resource" : 32 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeNameStringAttribute name
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 18 , "group" : 14 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
memberintMember id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "member" : 46 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
userintUser id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "user" : 59 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
hostintHost id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "host" : 31 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns an Attribute by its name.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeFound Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttribute

Example params

{ "userExtSource" : 68 , "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" }

Returns AttributeDefinition.

Parameter nameData typeDescription
attributeNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeDefinitionDefinition of an Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributeDefinition

Example params

{ "attributeName" : "text" }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" }

Returns AttributeDefinition.

Parameter nameData typeDescription
idintAttribute id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeDefinitionDefinition of an Attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributeDefinitionById

Example params

{ "id" : 4 }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" }

Generates text file describing dependencies between attribute modules. The format of text file can be specified by parameter. Modules that has no dependency relations are omitted.

Parameter nameData typeDescription
formatStringCurrently supported formats are DOT and TGF.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
InternalErrorExceptionwhen some internal error happens.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributeModulesDependenciesGraphText

Example params

{ "format" : [ "DOT" ] }

Example response

null

Generates image file describing dependencies of given attribute. The format of text file can be specified by parameter. Modules that has no dependency relations are omitted.

Parameter nameData typeDescription
attrNameattributename which dependencies will be found.
formatStringCurrently supported formats are DOT and TGF.
Thrown exceptionDescription
AttributeNotExistsExceptionwhen specified attribute doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
InternalErrorExceptionwhen some internal error happens.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributeModulesDependenciesGraphText

Example params

{ "attrName" : [ "urn:perun:resource:attribute-def:virt:unixGID" ] , "format" : [ "DOT" ] }

Example response

null

Gets attribute policy collections for an attribute definition with given id.

Parameter nameData typeDescription
attributeIdintAttributeDefinition id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen AttributeDefinition with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributePolicyCollection>all policy collections of attribute definition

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributePolicyCollections

Example params

{ "attributeId" : 89 }

Example response

[ { "id" : 10 , "attributeId" : 2220 , "action" : "READ" , "policies" :  } , {...} , {...} ]

Gets AttributeRights for specified Attribute. Rights specify which Role can do particular actions (read / write) with Attribute. Method always return rights for following roles: VOADMIN, GROUPADMIN, FACILITYADMIN, SELF.

Parameter nameData typeDescription
attributeIdintAttribute id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen Attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributeRights>all rights of the attribute

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributeRights

Example params

{ "attributeId" : 35 }

Example response

[ { "attributeId" : 5 , "role" : "VOADMIN", "rights" : [ "READ" , "WRITE"] } , {...} , {...} ]

Returns all non-empty User-Facility attributes for selected User and Facility.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
Thrown exceptionDescription
FacilityNotExistsExceptionWhen Facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen User with id doesn't exist.
Return typeDescription
List<Attribute>All non-empty User-Facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "facility" : 86 , "user" : 71 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Facility attributes for selected Facility.

Parameter nameData typeDescription
facilityintFacility id
Thrown exceptionDescription
FacilityNotExistsExceptionWhen Facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "facility" : 61 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Facility attributes for selected Facility If attrNames is empty, it returns empty list of attributes

Parameter nameData typeDescription
facilityintFacility id
attrNamesList<String>Attribute names
Thrown exceptionDescription
FacilityNotExistsExceptionWhen Facility with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "facility" : 1 , "attrNames" : [ "text" , "text" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Vo attributes for selected Vo.

Parameter nameData typeDescription
vointVo id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
VoNotExistsExceptionWhen Vo with id doesn't exist.
Return typeDescription
List<Attribute>All non-empty Vo attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "vo" : 22 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Vo attributes for selected Vo.

Parameter nameData typeDescription
vointVO id
attrNamesList<String>Attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
VoNotExistsExceptionWhen Vo with id doesn't exist.
Return typeDescription
List<Attribute>Specified Vo attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "vo" : 66 , "attrNames" : [ "urn:perun:vo:attribute-def:def:contactEmail" , "urn:perun:vo:attribute-def:core:shortName" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty UserExtSource attributes for selected UserExtSource.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserExtSourceNotExistsExceptionWhen Ues with id doesn't exist.
Return typeDescription
List<Attribute>All non-empty UserExtSource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "userExtSource" : 91 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified UserExtSource attributes for selected UserExtSource.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attrNamesList<String>Attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserExtSourceNotExistsExceptionWhen userExtSource with id doesn't exist.
Return typeDescription
List<Attribute>Specified UserExtSource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "userExtSource" : 29 , "attrNames" : [ "urn:perun:ues:attribute-def:opt:optionalAttribute" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Member-Resource attributes for selected Member and Resource.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanIf true, return also User and Member attributes. False is default.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Member-Resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 66 , "resource" : 28 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns selected non-empty Member, User, Member-Resource and User-Facility attributes (by list of attribute names) for selected Member and Resource.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanIf true, return also user and user-facility attributes. False is default.
attrNamesList<String>List of attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Selected non-empty User, Member, Member-Resource, User-Facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 53 , "resource" : 23 , "workWithUserAttributes" : true , "attrNames" : [ "text" , "text" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Member-Resource attributes for selected Member and Resource.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Member-Resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 93 , "resource" : 5 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Get all attributes by the list of attrNames if they are in one of these namespaces: - member - group - member-group - resource - member-resource - group-resource - user (get from member object) - facility (get from resource object) - user-facility

Parameter nameData typeDescription
memberintMember id
groupintGroup id
resourceintResource id
attrNamesList<String>Attribute names
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
GroupResourceMismatchExceptionWhen Group is not from the same Vo as Resource.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member with id doesn't exist.
MemberResourceMismatchExceptionWhen Member is not from the same Vo as Resource.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All attributes from supported namespaces.

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 52 , "group" : 24 , "resource" : 87 , "attrNames" : [ "text" , "text" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Group-Resource attributes for selected Group and Resource.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Group-Resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "group" : 48 , "resource" : 80 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Group-Resource attributes for selected Group and Resource. If workWithGroupAttributes == true then also all non-empty Group attributes are returned.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
workWithGroupAttributesbooleanIf true, return also Group attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Group-Resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "group" : 87 , "resource" : 8 , "workWithGroupAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Group-Resource attributes for selected Group and Resource. If attrNames is empty, it returns all non-empty attributes. If workWithGroupAttributes == true then also Group attributes are returned. False is default.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attrNamesList<String>Attribute names
workWithGroupAttributesbooleanIf true, return also Group attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Group-Resource attributes and (if workWithGroupAttributes == true) also Group attributes.

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "group" : 65 , "resource" : 66 , "attrNames" : [ "text" , "text" ] , "workWithGroupAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Resource attributes for selected Resource.

Parameter nameData typeDescription
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "resource" : 0 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Resource attributes for selected Resource.

Parameter nameData typeDescription
resourceintResource id
attrNamesList<String>Attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource with id doesn't exist.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Resource attributes.

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "resource" : 99 , "attrNames" : [ "text" , "text" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Member-Group attributes for selected Member and Group. If workWithUserAttribute == true then also all non-empty User attributes are returned.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attrNamesList<String>Attribute names
workWithUserAttributesbooleanIf true, return also User and Member attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Member-Group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 13 , "group" : 77 , "attrNames" : [ "text" , "text" ] , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Member attributes for selected Member.

Parameter nameData typeDescription
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Member attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 36 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Member attributes for selected Member. If workWithUserAttributes == true then also all non-empty User attributes are returned.

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanIf true, return also User attributes. False is default.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Member attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 6 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Member-Group attributes for selected Member and Group

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attrNamesList<String>Attribute names
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Member-Group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 66 , "group" : 18 , "attrNames" : [ "text" , "text" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Member attributes for selected Member.

Parameter nameData typeDescription
memberintMember id
attrNamesList<String>Attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Member attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 4 , "attrNames" : [ "urn:perun:member:attribute-def:def:mail" , "urn:perun:member:attribute-def:def:membershipExpiration" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Member-Group attributes for selected Member and Group.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All Member-Group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "member" : 71 , "group" : 61 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty User attributes for selected User.

Parameter nameData typeDescription
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen User with id doesn't exist.
Return typeDescription
List<Attribute>All non-empty User attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "user" : 26 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified User attributes for selected User.

Parameter nameData typeDescription
userintUser id
attrNamesList<String>Attribute names
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen User with id doesn't exist.
Return typeDescription
List<Attribute>Specified User attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "user" : 23 , "attrNames" : [ "urn:perun:user:attribute-def:def:phone" , "urn:perun:user:attribute-def:def:preferredMail" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Group attributes for selected Group.

Parameter nameData typeDescription
groupintGroup id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "group" : 96 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all specified Group attributes for selected Group.

Parameter nameData typeDescription
groupintGroup id
attrNamesList<String>Attribute names
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Specified Group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "group" : 55 , "attrNames" : [ "urn:perun:user:attribute-def:core:description" , "urn:perun:user:attribute-def:def:synchronizationEnabled" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Host attributes for selected Host.

Parameter nameData typeDescription
hostintHost id
Thrown exceptionDescription
HostNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Host attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "host" : 89 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all Host attributes for selected Host which have name in list attrNames (empty too). Empty list attrNames will return no attributes.

Parameter nameData typeDescription
hostintHost id
attrNamesList<String>Attribute names
Thrown exceptionDescription
HostNotExistsExceptionWhen Group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Host attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "host" : 39 , "attrNames" : [ "urn:perun:host:attribute-def:core:hostname" , "urn:perun:host:attribute-def:def:frontend" ] }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all non-empty Entityless attributes with subject equaled key.

Parameter nameData typeDescription
keyStringString key
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All non-empty Entityless attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributes

Example params

{ "key" : "text" }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns all AttributeDefinitions.

Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributeDefinition>Definitions of Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributesDefinition

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" } , {...} , {...} ]

Returns all AttributeDefinitions in a namespace.

Parameter nameData typeDescription
namespaceStringNamespace
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributeDefinition>Definitions of Attributes in a namespace

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributesDefinitionByNamespace

Example params

{ "namespace" : "text" }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" } , {...} , {...} ]

Returns all AttributeDefinitions for every entity and possible combination of entities with rights. Only attribute definition of attributes user can read (or write) you will get. Combination of entities is based on provided parameters, which are optional (at least one must be present).

Parameter nameData typeDescription
memberintid of Member
userintid of User
vointid of Virtual organization
groupintid of Group
resourceintid of Resource
facilityintid of Facility
hostintid of Host
userExtSourceintid of UserExtSource
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributeDefinition>Definitions of Attributes for entities

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getAttributesDefinitionWithRights

Example params

{ "member" : 55 , "user" : 73 , "vo" : 71 , "group" : 57 , "resource" : 46 , "facility" : 70 , "host" : 9 , "userExtSource" : 45 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" } , {...} , {...} ]

Returns all entityless attributes with attrName (for all namespaces of same attribute).

Parameter nameData typeDescription
attrNameStringAttribute name
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>All entityless attributes with same name

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getEntitylessAttributes

Example params

{ "attrName" : "urn:perun:entityless:attribute-def:def:namespace-minUID" }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Get entityless attributes mapped by their keys.

Parameter nameData typeDescription
attrNameStringAttribute name
Thrown exceptionDescription
AttributeNotExistsExceptionwhen the attribute definition for attrName doesn't exist
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
PrivilegeExceptioninsufficient permissions
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionwhen passed non-entityless attribute
Return typeDescription
Map<String,Attribute>of entityless attributes mapped by their keys

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getEntitylessAttributesWithKeys

Example params

{ "attrName" : "text" }

Example response

{ "key" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , "key2" : {...} }

Get entityless attributes mapped by their keys. Returns only attributes for specified keys. when there is no such attribute for one of the specified keys

Parameter nameData typeDescription
attrNameStringAttribute name
keysList<String>keys
Thrown exceptionDescription
AttributeNotExistsExceptionwhen the attribute definition for attrName doesn't exist, or
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
PrivilegeExceptioninsufficient permissions
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionwhen passed non-entityless attribute
Return typeDescription
Map<String,Attribute>of entityless attributes mapped by their keys

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getEntitylessAttributesWithKeys

Example params

{ "attrName" : "text" , "keys" : [ "text" , "text" ] }

Example response

{ "key" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , "key2" : {...} }

Returns list of Keys which fits the attributeDefinition.

Parameter nameData typeDescription
attributeDefinitionidof the attributeDefinition
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<String>All keys for attributeDefinition

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getEntitylessKeys

Example params

{ "attributeDefinition" : {...} }

Example response

{ ... TODO ... }

Get all users logins as Attributes. Meaning it returns all non-empty User attributes with URN starting with: "urn:perun:user:attribute-def:def:login-namespace:".

Parameter nameData typeDescription
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen User with id doesn't exist.
Return typeDescription
List<Attribute>List of users logins as Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getLogins

Example params

{ "user" : 52 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member and member-resource attributes required by the specified service.

Parameter nameData typeDescription
memberintMember id
serviceintService id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 71 , "service" : 49 , "resource" : 49 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member and member-resource attributes required by the specified service. If workWithUserAttributes == TRUE, then returns also user attributes.

Parameter nameData typeDescription
memberintMember id
serviceintService id
resourceintResource id
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 8 , "service" : 40 , "resource" : 45 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns group-resource attributes required by specified service.

Parameter nameData typeDescription
groupintGroup id
serviceintService id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "group" : 11 , "service" : 25 , "resource" : 70 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns resource attributes required by specified service.

Parameter nameData typeDescription
serviceintService id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "service" : 87 , "resource" : 62 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member, member-group and member-resource attributes required by specified service. If workWithUserAttributes == TRUE, then returns also user and user-facility attributes.

Parameter nameData typeDescription
serviceintService id
resourceintResource id
groupintGroup id
memberintMember id
workWithUserAttributesbooleanIf true, return also User and User-facility attributes. False is default.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "service" : 23 , "resource" : 72 , "group" : 67 , "member" : 38 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member, member-group and member-resource attributes required by specified service.

Parameter nameData typeDescription
serviceintService id
resourceintResource id
groupintGroup id
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "service" : 21 , "resource" : 15 , "group" : 41 , "member" : 56 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member-group attributes required by specified service. If workWithUserAttributes == TRUE, then returns also member and user attributes.

Parameter nameData typeDescription
serviceintService id
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, return also User and Member attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
ServiceNotExistsExceptionWhen Service not exists by its id.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "service" : 40 , "member" : 11 , "group" : 14 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member-group attributes required by specified service.

Parameter nameData typeDescription
serviceintService id
memberintMember id
groupintGroup id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
ServiceNotExistsExceptionWhen Service not exists by its id.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "service" : 57 , "member" : 95 , "group" : 68 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns facility attributes required by specified service.

Parameter nameData typeDescription
facilityintFacility id
serviceintService id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "facility" : 62 , "service" : 19 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns facility attributes required by specified list of services.

Parameter nameData typeDescription
facilityintFacility id
servicesList<int>list of Service IDs
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "facility" : 10 , "services" : {...} }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns resource attributes required by specified list of services.

Parameter nameData typeDescription
resourceintResource id
servicesList<int>list of Service IDs
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "resource" : 44 , "services" : {...} }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required host attributes.

Parameter nameData typeDescription
hostintHost id
serviceintService id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "host" : 45 , "service" : 11 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required vo attributes.

Parameter nameData typeDescription
vointVo id
serviceintService id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "vo" : 88 , "service" : 27 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required member and member-resource attributes.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 49 , "resource" : 43 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required member and member-resource attributes. If workWithUserAttributes == TRUE, then returns also user attributes.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 85 , "resource" : 65 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required resource attributes.

Parameter nameData typeDescription
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "resource" : 7 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required user-facility attributes.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "facility" : 96 , "user" : 61 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required facility attributes.

Parameter nameData typeDescription
facilityintFacility id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "facility" : 74 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required member attributes.

Parameter nameData typeDescription
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 62 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required member attributes. If workWithUserAttributes == TRUE, then returns also user attributes.

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 71 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member and member-group required attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 81 , "group" : 49 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns member and member-group required attributes. If workWithUserAttributes == TRUE, then returns also user attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "member" : 3 , "group" : 96 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required user attributes.

Parameter nameData typeDescription
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Required Attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributes

Example params

{ "user" : 92 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Returns required attributes definition for a Service.

Parameter nameData typeDescription
serviceintService id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<AttributeDefinition>Attributes definitions

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getRequiredAttributesDefinition

Example params

{ "service" : 68 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" } , {...} , {...} ]

Gets member, user, member-resource and user-facility attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
facilityintFacility id
resourceintResource id
userintUser id
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member, user, member-resource and user-facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 16 , "facility" : 41 , "resource" : 64 , "user" : 10 , "member" : 64 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-resource attributes and also user, user-facility and member attributes, if workWithUserAttributes == true. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
resourceintResource id
memberintMember id
workWithUserAttributesbooleanWork with user attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-resource attributes (if workWithUserAttributes == true also user, user-facility and member attributes)

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 61 , "resource" : 8 , "member" : 48 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-resource attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
resourceintResource id
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 57 , "resource" : 91 , "member" : 8 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-group attributes and also user and member attributes, if workWithUserAttributes == true. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, return also User and Member attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource not exists by its id.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 7 , "member" : 60 , "group" : 35 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-group attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
memberintMember id
groupintGroup id
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource not exists by its id.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-group attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 62 , "member" : 16 , "group" : 80 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
memberintMember id
resourceToGetServicesFromintResource to get services from id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "member" : 42 , "resourceToGetServicesFrom" : 56 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets user-facility attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
facilityintFacility id
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>User-facility attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 0 , "facility" : 12 , "user" : 63 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets user attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
userintUser id
resourceToGetServicesFromintResource to get services from id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>User's attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "user" : 85 , "resourceToGetServicesFrom" : 21 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets group-resource and also group attributes, if workWithGroupAttributes == true. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
groupintGroup id
resourceintResource id
workWithGroupAttributesbooleanWork with group attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Group-resource and (if workWithGroupAttributes == true) group required attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 88 , "group" : 74 , "resource" : 84 , "workWithGroupAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets group-resource attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
resourceintResource id
groupintGroup id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Group-resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 91 , "resource" : 35 , "group" : 19 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-group and member-resource attributes. If workWithUserAttributes == TRUE then return also member, user, user-facility attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
resourceintResource id
groupintGroup id
memberintMember id
workWithUserAttributesbooleanWork with member, user, user-facility attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-group and member-resource attributes, if workWithUserAttributes == TRUE, member, user and user-facility attributes are returned too.

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 83 , "resource" : 92 , "group" : 39 , "member" : 2 , "workWithUserAttributes" : true }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets member-group and member-resource attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
resourceintResource id
groupintGroup id
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Member-group and member-resource attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 52 , "resource" : 70 , "group" : 95 , "member" : 15 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets group attributes. It returns attributes required by all services assigned to specified resource. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
groupintGroup id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Group's attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 4 , "group" : 18 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Gets host attributes. It returns attributes required by all services assigned to specified host. Both empty and non-empty attributes are returned.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
hostintHost id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
List<Attribute>Group's attributes

Example URL

https://[hostname]/krb/rpc/json/attributesManager/getResourceRequiredAttributes

Example params

{ "resourceToGetServicesFrom" : 38 , "host" : 41 }

Example response

[ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ]

Unset all attributes for the user on the facility.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "facility" : 36 , "user" : 66 }

Example response

null

Unset all attributes for the facility and also user-facility attributes if workWithUserAttributes == true.

Parameter nameData typeDescription
facilityintFacility id
workWithUserAttributesbooleanRemove also user facility attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "facility" : 77 , "workWithUserAttributes" : true }

Example response

null

Unset all attributes for the facility.

Parameter nameData typeDescription
facilityintFacility id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "facility" : 87 }

Example response

null

Unset all attributes for the vo.

Parameter nameData typeDescription
vointVo id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "vo" : 98 }

Example response

null

Unset all attributes for the member on the resource.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "member" : 5 , "resource" : 77 }

Example response

null

Unset all group-resource attributes and also group attributes if WorkWithGroupAttributes == true.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
workWithGroupAttributesbooleanWork with group attributes. False is default value.
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "group" : 82 , "resource" : 58 , "workWithGroupAttributes" : true }

Example response

null

Unset all group-resource attributes.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "group" : 94 , "resource" : 20 }

Example response

null

Unset all resource attributes.

Parameter nameData typeDescription
resourceintResource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "resource" : 30 }

Example response

null

Unset all member-group attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "member" : 46 , "group" : 89 }

Example response

null

Unset all member attributes.

Parameter nameData typeDescription
memberintMember id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "member" : 17 }

Example response

null

Unset all user attributes.

Parameter nameData typeDescription
userintUser id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "user" : 32 }

Example response

null

Unset all group attributes.

Parameter nameData typeDescription
groupintGroup id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "group" : 40 }

Example response

null

Unset all host attributes.

Parameter nameData typeDescription
hostintHost id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "host" : 59 }

Example response

null

Unset all attributes for the userExtSource.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAllAttributes

Example params

{ "userExtSource" : 67 }

Example response

null

Remove attribute of namespace: user-facility

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "facility" : 55 , "user" : 75 , "attribute" : 47 }

Example response

null

Remove attribute of namespace: facility

Parameter nameData typeDescription
facilityintFacility id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "facility" : 7 , "attribute" : 66 }

Example response

null

Remove attribute of namespace: vo

Parameter nameData typeDescription
vointVO id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "vo" : 22 , "attribute" : 69 }

Example response

null

Remove attribute of namespace: resource

Parameter nameData typeDescription
resourceintResource id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "resource" : 88 , "attribute" : 84 }

Example response

null

Remove attribute of namespace: group-resource

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "resource" : 74 , "group" : 74 , "attribute" : 31 }

Example response

null

Remove attribute of namespace: member-resource

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "resource" : 41 , "member" : 55 , "attribute" : 20 }

Example response

null

Remove attribute of namespace: member-group

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeintid of attribute to remove
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "member" : 52 , "group" : 30 , "attribute" : 81 }

Example response

null

Remove attribute of namespace: member

Parameter nameData typeDescription
memberintMember id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "member" : 74 , "attribute" : 65 }

Example response

null

Remove attribute of namespace: group

Parameter nameData typeDescription
groupintGroup id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "group" : 57 , "attribute" : 71 }

Example response

null

Remove attribute of namespace: host

Parameter nameData typeDescription
hostintHost id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "host" : 80 , "attribute" : 99 }

Example response

null

Remove attribute of namespace: user

Parameter nameData typeDescription
userintUser id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "user" : 21 , "attribute" : 50 }

Example response

null

Remove attribute of namespace: userExtSource

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "userExtSource" : 63 , "attribute" : 76 }

Example response

null

Remove entityless attribute key

Parameter nameData typeDescription
keyStringkey for entityless attribute
attributeintid of attribute to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttribute

Example params

{ "key" : "text" , "attribute" : 5 }

Example response

null

Remove attributes of namespace: user, user-facility, member, member-resource

Parameter nameData typeDescription
facilityintFacility id
userintUser id
memberintMember id
resourceintResource id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
FacilityNotExistsExceptionWhen the Facility with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen the User with id doesn't exist.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "facility" : 36 , "user" : 20 , "member" : 32 , "resource" : 30 , "attributes" : [ 72 , 38 ] }

Example response

null

Remove attributes of namespace: user, user-facility, member, member-resource, member-group

Parameter nameData typeDescription
facilityintFacility id
userintUser id
memberintMember id
resourceintResource id
groupintGroup id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "facility" : 77 , "user" : 43 , "member" : 69 , "resource" : 33 , "group" : 56 , "attributes" : [ 15 , 37 ] }

Example response

null

Remove attributes of namespace: user-facility

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "facility" : 37 , "user" : 95 , "attributes" : [ 55 , 4 ] }

Example response

null

Remove attributes of namespace: facility

Parameter nameData typeDescription
facilityintFacility id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "facility" : 83 , "attributes" : [ 6 , 37 ] }

Example response

null

Remove attributes of namespace: vo

Parameter nameData typeDescription
vointVO id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "vo" : 83 , "attributes" : [ 84 , 67 ] }

Example response

null

Remove attributes of namespace: resource

Parameter nameData typeDescription
resourceintResource id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "resource" : 94 , "attributes" : [ 40 , 42 ] }

Example response

null

Remove attributes of namespace: group-resource, group (optional)

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
workWithGroupAttributesbooleanWork with group attributes. False is default value.
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "resource" : 1 , "group" : 45 , "workWithGroupAttributes" : true , "attributes" : [ 25 , 84 ] }

Example response

null

Remove attributes of namespace: group-resource

Parameter nameData typeDescription
resourceintResource id
groupintGroup id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "resource" : 86 , "group" : 93 , "attributes" : [ 64 , 66 ] }

Example response

null

Remove attributes of namespace: member-resource

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "resource" : 72 , "member" : 20 , "attributes" : [ 72 , 1 ] }

Example response

null

Remove attributes of namespace: member, user (optional)

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanSet to true if you want to remove also user attributes. False is default value.
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "member" : 89 , "workWithUserAttributes" : true , "attributes" : [ 12 , 24 ] }

Example response

null

Remove attributes of namespace: member-group

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "member" : 4 , "group" : 60 , "attributes" : [ 28 , 93 ] }

Example response

null

Remove attributes of namespace: member-group, optionally also member and user

Parameter nameData typeDescription
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, process also User and Member attributes. false is default.
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
AttributeNotExistsExceptionWhen the attribute with id doesn't exist.
GroupNotExistsExceptionWhen the group with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen the member with id doesn't exist.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
WrongAttributeAssignmentExceptionWhen the attribute with id isn't member-group attribute.
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other Attribute value.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "member" : 37 , "group" : 36 , "workWithUserAttributes" : true , "attributes" : [ 46 , 13 ] }

Example response

null

Remove attributes of namespace: member

Parameter nameData typeDescription
memberintMember id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "member" : 14 , "attributes" : [ 10 , 34 ] }

Example response

null

Remove attributes of namespace: group

Parameter nameData typeDescription
groupintGroup id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "group" : 56 , "attributes" : [ 5 , 1 ] }

Example response

null

Remove attributes of namespace: host

Parameter nameData typeDescription
hostintHost id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "host" : 63 , "attributes" : [ 41 , 10 ] }

Example response

null

Remove attributes of namespace: user

Parameter nameData typeDescription
userintUser id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "user" : 78 , "attributes" : [ 16 , 27 ] }

Example response

null

Remove attributes of namespace: userExtSource

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributesList<Integer>List of attributes IDs to remove
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/removeAttributes

Example params

{ "userExtSource" : 79 , "attributes" : [ 38 , 22 ] }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "facility" : 74 , "user" : 69 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
facilityintFacility id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "facility" : 6 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
vointVO id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "vo" : 72 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "member" : 41 , "resource" : 88 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "group" : 6 , "resource" : 60 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
resourceintResource id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "resource" : 95 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributeAttributeJSON object
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "member" : 65 , "group" : 77 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
memberintMember id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "member" : 72 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
userintUser id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "user" : 30 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
groupintGroup id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "group" : 1 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
hostintHost id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "host" : 3 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Sets an Attribute.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributeAttributeJSON object
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttribute

Example params

{ "userExtSource" : 54 , "attribute" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } }

Example response

null

Deletes old attribute policy collections and sets all new attribute policy collections.

Parameter nameData typeDescription
policyCollectionsList<AttributePolicyCollection>list of AttributePolicyCollection to set
attributeIdintattribute for which policies are set
Thrown exceptionDescription
AttributeNotExistsExceptionWhen Attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RoleNotSupportedExceptionWhen some of the AttributePolicyCollection does have a role which does not exist
RoleObjectCombinationInvalidExceptionwhen the combination role + RoleObject of any included policy isn't valid
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributePolicyCollections

Example params

{ "policyCollections" : [ { "id" : 10 , "attributeId" : 2220 , "action" : "READ" , "policies" :  } , {...} , {...} ] , "attributeId" : 48 }

Example response

null

Sets all AttributeRights in the list given as a parameter. Allowed Roles to set rights for are: VOADMIN, GROUPADMIN, FACILITYADMIN, SELF.

Parameter nameData typeDescription
rightsList<AttributeRights>List of AttributeRights to set.
Thrown exceptionDescription
AttributeNotExistsExceptionWhen Attribute with id doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributeRights

Example params

{ "rights" : [ { "attributeId" : 5 , "role" : "VOADMIN", "rights" : [ "READ" , "WRITE"] } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
memberintMember id
resourceintResource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "facility" : 8 , "user" : 95 , "member" : 15 , "resource" : 41 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
memberintMember id
resourceintResource id
groupinGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
FacilityNotExistsExceptionWhen Facility not exists by its id.
GroupNotExistsExceptionWhen Group not exists by its id.
GroupResourceMismatchExceptionWhen Group is not from the same Vo as Resource.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
MemberResourceMismatchExceptionWhen Member is not from the same Vo as Resource.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
ResourceNotExistsExceptionWhen Resource not exists by its id.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
UserNotExistsExceptionWhen User not exists by its id.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "facility" : 63 , "user" : 32 , "member" : 63 , "resource" : 48 , "group" : {...} , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
facilityintFacility id
userintUser id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "facility" : 24 , "user" : 62 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
facilityintFacility id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "facility" : 55 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
vointVO id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "vo" : 11 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
userExtSourceintUserExtSource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "userExtSource" : 21 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 78 , "resource" : 23 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanWork with user attributes. False is default value.
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 75 , "resource" : 24 , "workWithUserAttributes" : true , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "group" : 33 , "resource" : 29 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
workWithGroupAttributesbooleanWork with group attributes. False is default value.
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "group" : 24 , "resource" : 90 , "workWithGroupAttributes" : true , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
resourceintResource id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "resource" : 32 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
workWithUserAttributesbooleanIf true, store also User and Member attributes. False is default.
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 32 , "group" : 24 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] , "workWithUserAttributes" : true }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanWork with user attributes. False is default value.
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 59 , "workWithUserAttributes" : true , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
GroupNotExistsExceptionWhen Group not exists by its id.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
MemberGroupMismatchExceptionWhen Member is not from the same Vo as Group.
MemberNotExistsExceptionWhen Member not exists by its id.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 62 , "group" : 95 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
memberintMember id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "member" : 33 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
userintUser id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "user" : 94 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
groupintGroup id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "group" : 28 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Sets the attributes.

Parameter nameData typeDescription
hostintHost id
attributesList<Attribute>List of attributes
Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
void

Example URL

https://[hostname]/krb/rpc/json/attributesManager/setAttributes

Example params

{ "host" : 87 , "attributes" : [ { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "value" : "2011-05-17 00:50:06.3" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "Attribute" } , {...} , {...} ] }

Example response

null

Updates AttributeDefinition in Perun based on provided object. Update is done on AttributeDefinition selected by its id.

Parameter nameData typeDescription
attributeDefinitionAttributeDefinitionAttributeDefinition with updated properties to store in DB
Thrown exceptionDescription
AttributeNotExistsExceptionWhen AttributeDefinition with id in object doesn't exist.
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
AttributeDefinitionupdated AttributeDefinition

Example URL

https://[hostname]/krb/rpc/json/attributesManager/updateAttributeDefinition

Example params

{ "attributeDefinition" : { "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" } }

Example response

{ "id" : 2820 , "friendlyName" : "createdAt" , "namespace" : "urn:perun:vo:attribute-def:core" , "type" : "java.lang.String" , "entity" : "vo" , "writable" : true , "baseFriendlyName" : "createdAt" , "friendlyNameParameter" : "" , "unique" : false , "displayName" : "VO created date" , "description" : "Date when VO was created." , "beanName" : "AttributeDefinition" }