RPC API documentation v34.4.0

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

AttributesManager

Checks if this user-facility attribute has valid semantics. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "facility" : 10 , "user" : 4 , "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. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "facility" : 39 , "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. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "vo" : 70 , "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. Attribute value. aren't from the same Vo.

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
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
Return typeDescription
void

Example URL

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

Example params

{ "resource" : 19 , "member" : 14 , "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. aren't from the same Vo. Attribute value.

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
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
Return typeDescription
void

Example URL

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

Example params

{ "resource" : 50 , "group" : 81 , "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. with id. Attribute value.

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
WrongAttributeValueExceptionWhen the attribute value is wrong/illegal.
WrongReferenceAttributeValueExceptionWhen value of some Attribute is not correct regarding to other
Return typeDescription
void

Example URL

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

Example params

{ "resource" : 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-group attribute has valid semantics. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 12 , "group" : 82 , "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. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 99 , "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. id.

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
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" : 79 , "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. id.

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
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" : 70 , "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" : 66 , "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. UserExtSource with id.

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
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" : 27 , "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" : 54 , "user" : 83 , "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" : 70 , "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" : 12 , "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. aren't from the same Vo.

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
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" : 30 , "member" : 99 , "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. aren't from the same Vo.

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
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" : 73 , "group" : 57 , "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. with id.

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
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

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

Example params

{ "resource" : 51 , "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" : 76 , "group" : 39 , "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" : 46 , "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. id.

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
WrongAttributeValueException When the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

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

Example params

{ "group" : 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 host attribute has valid syntax. id.

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
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

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

Example params

{ "host" : 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 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" : 12 , "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. UserExtSource with id.

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
WrongAttributeValueExceptionWhen the attribute value has wrong/illegal syntax.
Return typeDescription
void

Example URL

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

Example params

{ "userExtSource" : 41 , "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" : 90 , "resource" : 94 , "user" : 72 , "member" : 59 , "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" : 57 , "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" : 65 , "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" : 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 member-resource attributes have valid semantics. false is default.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member 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/checkAttributesSemantics

Example params

{ "resource" : 25 , "member" : 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" } , {...} , {...} ] , "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" : 96 , "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 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" : 38 , "group" : 44 , "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" : 44 , "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. false is default. Attribute value.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes.
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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 41 , "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. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 62 , "group" : 68 , "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" : 64 , "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" : 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

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" : 88 , "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" : 97 , "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" : 5 , "resource" : 80 , "user" : 47 , "member" : 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

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" : 95 , "user" : 96 , "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" : 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 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" : 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

Checks if these member-resource attributes have valid syntax. false is default.

Parameter nameData typeDescription
resourceintResource id
memberintMember id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member 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/checkAttributesSyntax

Example params

{ "resource" : 98 , "member" : 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" } , {...} , {...} ] , "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" : 43 , "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 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" : 87 , "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

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" : 98 , "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. false is default.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>Attributes List
workWithUserAttributesbooleanIf true, process also User and Member attributes.
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" : 20 , "group" : 42 , "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" : 20 , "group" : 64 , "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" : 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 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" : 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

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" : 60 , "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" : 43 , "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" : 65 }

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" : 5 }

Example response

null

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

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", }

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 .util.ArrayList", "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
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 some service as a required attribute

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.
RelationExistsExceptionWhen attribute definition has any relation to some application form item or to
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" : 68 }

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. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 36 }

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" : 10 , "attribute" : 54 }

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" : 38 , "group" : 6 , "attribute" : 45 }

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" : 66 , "member" : 17 , "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 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" : 4 , "attribute" : 75 }

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" : 80 , "facility" : 36 , "attribute" : 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" }

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" : 17 }

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" : 79 , "group" : 55 , "attribute" : 2 }

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" : 91 , "attribute" : 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" }

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" : 64 , "attribute" : 12 }

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" : 0 , "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" : 3 , "group" : 53 , "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" : 69 , "resource" : 2 , "user" : 71 , "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

[ { "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" : 29 , "member" : 43 , "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" : 55 , "member" : 98 , "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" : 92 , "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. False is default.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
workWithUserAttributesbooleanIf true, process also User and Member 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" : 41 , "group" : 27 , "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" : 6 , "group" : 53 , "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" : 14 , "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" : 62 , "user" : 53 , "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" : 64 , "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" : 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

[ { "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 list of all possible namespaces

Parameter nameData typeDescription
sesssession
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
listof namespaces

Example URL

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

Example params

{ "sess" : {...} }

Example response

{ ... TODO ... }

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" : 33 , "user" : 35 , "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
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" : 83 , "attributeId" : 39 }

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" : 46 , "attributeId" : 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 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" : 22 , "resource" : 7 , "attributeId" : 2 }

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" : 10 , "resource" : 45 , "attributeId" : 46 }

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" : 40 , "attributeId" : 12 }

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" : 6 , "group" : 5 , "attributeId" : 83 }

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" : 63 , "attributeId" : 38 }

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" : 62 , "attributeId" : 38 }

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" : 20 , "attributeId" : 1 }

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" : 3 , "attributeId" : 12 }

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" : 39 , "user" : 56 , "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" : 90 , "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" : 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
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" : 55 , "resource" : 49 , "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" : 14 , "resource" : 41 , "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" : 85 , "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" : 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 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" : 77 , "group" : 89 , "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" : 23 , "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" : 21 , "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" : 39 , "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" : 51 , "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" : 53 }

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" : 77 }

Example response

[ { "id" : 10 , "attributeId" : 2220 , "action" : "READ" , "policies" : [ { "id" : 290 , "role" : "RESOURCEADMIN" , "object" : "Resource" , "policyCollectionId" : 10 } , {...} , {...} ] } , {...} , {...} ]

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" : 91 }

Example response

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

Gets attribute rules containing policy collections and critical actions for an attribute definition with given id

Parameter nameData typeDescription
sessperunsession
attributeDefinitionidof the attribute definition
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.
sAttributeNotExistsException when there is no attribute definition with such id
Return typeDescription
attributerules of the attribute definition

Example URL

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

Example params

{ "sess" : {...} , "attributeDefinition" : {...} }

Example response

{ ... TODO ... }

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" : 7 , "user" : 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 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" : 79 }

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" : 82 , "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" : 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 all specified Vo attributes for selected Vo. "urn:perun:vo:attribute-def:core:shortName" ]

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" : 46 , "attrNames" : [ "urn:perun:vo:attribute-def:def:contactEmail" , }

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" : 23 }

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" : 44 , "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. False is default.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanIf true, return also User and Member attributes.
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" : 9 , "resource" : 73 , "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. False is default.

Parameter nameData typeDescription
memberintMember id
resourceintResource id
workWithUserAttributesbooleanIf true, return also user and user-facility attributes.
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" : 55 , "resource" : 84 , "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" : 75 }

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" : 42 , "group" : 90 , "resource" : 42 , "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" : 76 , "resource" : 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 all non-empty Group-Resource attributes for selected Group and Resource. If workWithGroupAttributes == true then also all non-empty Group attributes are returned. default.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
workWithGroupAttributesbooleanIf true, return also Group attributes. False is
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" : 33 , "resource" : 79 , "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. default. attributes.

Parameter nameData typeDescription
groupintGroup id
resourceintResource id
attrNamesList<String>Attribute names
workWithGroupAttributesbooleanIf true, return also Group attributes. False is
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

Example URL

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

Example params

{ "group" : 4 , "resource" : 55 , "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" : 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 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" : 58 , "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. False is default.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attrNamesList<String>Attribute names
workWithUserAttributesbooleanIf true, return also User and Member attributes.
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" : 88 , "group" : 88 , "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" : 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 all non-empty Member attributes for selected Member. If workWithUserAttributes == true then also all non-empty User attributes are returned. default.

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanIf true, return also User attributes. False is
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" : 60 , "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" : 30 , "group" : 55 , "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. "urn:perun:member:attribute-def:def:membershipExpiration" ]

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" : 52 , "attrNames" : [ "urn:perun:member:attribute-def:def:mail" , }

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" : 82 , "group" : 67 }

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" : 38 }

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. "urn:perun:user:attribute-def:def:preferredMail" ]

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" : 95 , "attrNames" : [ "urn:perun:user:attribute-def:def:phone" , }

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" : 37 }

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. "urn:perun:user:attribute-def:def:synchronizationEnabled" ]

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" : 45 , "attrNames" : [ "urn:perun:user:attribute-def:core:description" , }

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. "urn:perun:host:attribute-def:def:frontend" ]

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" : 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 all Host attributes for selected Host which have name in list attrNames (empty too). Empty list attrNames will return no attributes. "urn:perun:host:attribute-def:def:frontend" ]

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" : 1 , "attrNames" : [ "urn:perun:host:attribute-def:core:hostname" , }

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" : 33 , "user" : 92 , "vo" : 86 , "group" : 67 , "resource" : 16 , "facility" : 13 , "host" : 46 , "userExtSource" : 1 }

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 ... }

Returns list of definitions of IdP attributes that are filled to fedInfo

Parameter nameData typeDescription
sesssession
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
listof attribute definitions

Example URL

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

Example params

{ "sess" : {...} }

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" : 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 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" : 69 , "service" : 31 , "resource" : 14 }

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" : 95 , "service" : 87 , "resource" : 78 , "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" : 72 , "service" : 13 , "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 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" : 6 , "resource" : 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" } , {...} , {...} ]

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

Parameter nameData typeDescription
serviceintService id
resourceintResource id
groupintGroup id
memberintMember id
workWithUserAttributesbooleanIf true, return also User and User-facility 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>Required Attributes

Example URL

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

Example params

{ "service" : 30 , "resource" : 0 , "group" : 50 , "member" : 40 , "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" : 25 , "resource" : 28 , "group" : 77 , "member" : 45 }

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. False is default.

Parameter nameData typeDescription
serviceintService id
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, return also User and Member 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.
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" : 21 , "member" : 44 , "group" : 13 , "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" : 69 , "member" : 2 , "group" : 40 }

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" : 74 , "service" : 99 }

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" : 64 , "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" : 87 , "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" : 86 , "service" : 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 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" : 66 , "service" : 95 }

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" : 3 , "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" } , {...} , {...} ]

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" : 14 , "resource" : 43 , "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" : 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 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" : 7 , "user" : 45 }

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" : 86 }

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" : 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 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" : 70 , "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" : 10 , "group" : 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 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" : 70 , "group" : 25 , "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" : 40 }

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" : 49 }

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" : 12 , "facility" : 0 , "resource" : 28 , "user" : 28 , "member" : 40 }

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. and member attributes)

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

Example URL

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

Example params

{ "resourceToGetServicesFrom" : 68 , "resource" : 10 , "member" : 73 , "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" : 81 , "resource" : 16 , "member" : 93 }

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. False is default.

Parameter nameData typeDescription
resourceToGetServicesFromintResource to get services from id
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, return also User and Member 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.
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" : 52 , "group" : 51 , "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" : 22 , "member" : 98 , "group" : 81 }

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" : 53 , "resourceToGetServicesFrom" : 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" } , {...} , {...} ]

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" : 93 , "facility" : 66 , "user" : 73 }

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" : 57 , "resourceToGetServicesFrom" : 12 }

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" : 13 , "group" : 43 , "resource" : 88 , "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" : 17 , "resource" : 66 , "group" : 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-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. user and user-facility attributes are returned too.

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,

Example URL

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

Example params

{ "resourceToGetServicesFrom" : 74 , "resource" : 95 , "group" : 33 , "member" : 7 , "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" : 51 , "resource" : 21 , "group" : 67 , "member" : 98 }

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" : 40 , "group" : 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 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" : 16 , "host" : 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" } , {...} , {...} ]

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" : 37 , "user" : 15 }

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" : 57 , "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" : 98 }

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" : 50 }

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" : 90 , "resource" : 54 }

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" : 70 , "resource" : 84 , "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" : 41 , "resource" : 86 }

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" : 78 }

Example response

null

Unset all member-group attributes. Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 18 , "group" : 25 }

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" : 98 }

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" : 58 }

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" : 59 }

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" : 85 }

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" : 84 }

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" : 17 , "user" : 57 , "attribute" : 22 }

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" : 43 , "attribute" : 22 }

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" : 20 , "attribute" : 8 }

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" : 41 , "attribute" : 64 }

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" : 57 , "group" : 80 , "attribute" : 37 }

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" : 81 , "member" : 89 , "attribute" : 40 }

Example response

null

Remove attribute of namespace: member-group Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 50 , "group" : 32 , "attribute" : 34 }

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" : 96 , "attribute" : 1 }

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" : 25 , "attribute" : 75 }

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" : 76 , "attribute" : 32 }

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" : 33 , "attribute" : 57 }

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" : 79 , "attribute" : 87 }

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" : 77 }

Example response

null

Remove attributes of namespace: user, user-facility, member, member-resource Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "facility" : 91 , "user" : 22 , "member" : 97 , "resource" : 23 , "attributes" : [ 39 , 27 ] }

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" : 1 , "user" : 79 , "member" : 38 , "resource" : 23 , "group" : 41 , "attributes" : [ 50 , 51 ] }

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" : 11 , "user" : 29 , "attributes" : [ 66 , 25 ] }

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" : 29 , "attributes" : [ 43 , 88 ] }

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" : 42 , "attributes" : [ 22 , 97 ] }

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" : 23 , "attributes" : [ 88 , 41 ] }

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" : 74 , "group" : 37 , "workWithGroupAttributes" : true , "attributes" : [ 27 , 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" : 80 , "group" : 0 , "attributes" : [ 66 , 2 ] }

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" : 90 , "member" : 71 , "attributes" : [ 66 , 43 ] }

Example response

null

Remove attributes of namespace: member, user (optional) value.

Parameter nameData typeDescription
memberintMember id
workWithUserAttributesbooleanSet to true if you want to remove also user attributes. False is default
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" : 52 , "workWithUserAttributes" : true , "attributes" : [ 83 , 48 ] }

Example response

null

Remove attributes of namespace: member-group Attribute value.

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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 14 , "group" : 96 , "attributes" : [ 14 , 95 ] }

Example response

null

Remove attributes of namespace: member-group, optionally also member and user false is default. Attribute value.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
workWithUserAttributesbooleanIf true, process also User and Member attributes.
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
Return typeDescription
void

Example URL

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

Example params

{ "member" : 56 , "group" : 28 , "workWithUserAttributes" : true , "attributes" : [ 7 , 11 ] }

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" : 73 , "attributes" : [ 99 , 56 ] }

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" : 25 , "attributes" : [ 81 , 16 ] }

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" : 8 , "attributes" : [ 57 , 23 ] }

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" : [ 90 , 4 ] }

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" : 39 , "attributes" : [ 47 , 54 ] }

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" : 16 , "user" : 79 , "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" : 22 , "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" : 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

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" : 52 , "resource" : 15 , "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" : 63 , "resource" : 46 , "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" : 67 , "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" : 71 , "group" : 47 , "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" : 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

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" : 50 , "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" : 61 , "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" : 12 , "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" : 91 , "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

Marks the action on attribute as critical, which may require additional authentication of user performing that action on attribute.

Parameter nameData typeDescription
sesssession
attributeDefinitionattributedefinition id
actioncriticalaction
criticaltrueif action should be set critical, false to non-critical
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.
sRelationExistsException if trying to mark already critical action
sRelationNotExistsException if trying to unmark not critical action
Return typeDescription
void

Example URL

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

Example params

{ "sess" : {...} , "attributeDefinition" : {...} , "action" : {...} , "critical" : {...} }

Example response

null

Marks the action on attribute as critical, which may require additional authentication of user performing that action on attribute. objects

Parameter nameData typeDescription
sesssession
attributeDefinitionattributedefinition id
actioncriticalaction
criticaltrueif action should be set critical, false to non-critical
globaltrueif action should be globally critical, false if action should be critical only for critical
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.
sRelationExistsException if trying to mark already critical action
sRelationNotExistsException if trying to unmark not critical action
Return typeDescription
void

Example URL

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

Example params

{ "sess" : {...} , "attributeDefinition" : {...} , "action" : {...} , "critical" : {...} , "global" : {...} }

Example response

null

Deletes old attribute policy collections and sets all new attribute policy collections. valid

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
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" : [ { "id" : 290 , "role" : "RESOURCEADMIN" , "object" : "Resource" , "policyCollectionId" : 10 } , {...} , {...} ] } , {...} , {...} ] , "attributeId" : 46 }

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" : 98 , "user" : 39 , "member" : 94 , "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

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" : 45 , "user" : 76 , "member" : 54 , "resource" : 19 , "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" : 18 , "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
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" : 3 , "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" : 67 , "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" : 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

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" : 13 , "resource" : 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" } , {...} , {...} ] }

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" : 36 , "resource" : 31 , "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" : 34 , "resource" : 34 , "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" : 89 , "resource" : 28 , "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" : 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. False is default.

Parameter nameData typeDescription
memberintMember id
groupintGroup id
attributesList<Attribute>List of attributes
workWithUserAttributesbooleanIf true, store also User and Member 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" : 41 , "group" : 48 , "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" : 45 , "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" : 16 , "group" : 26 , "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" : 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

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

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" }