# CESNET Resources Manager API

**Canonical:** https://apis.io/apis/cesnet/cesnet-resourcesmanager-api/  
**Provider:** CESNET — https://apis.io/providers/cesnet/  
**Base URL:** https://api-dev.perun-aai.org/ba/rpc  
**Documentation:** https://perun-aai.org/documentation/

CESNET Resources Manager API is one of 27 APIs that [CESNET](https://apis.io/providers/cesnet/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include ResourcesManager. The published artifact set on APIs.io includes an OpenAPI specification, a GitHub repository, and 6 JSON Schemas.

ResourcesManager RPC API in Perun

## Operations (60 of 91)

| Method | Path | Summary |
|---|---|---|
| GET | `/json/resourcesManager/getAllResources` | Returns all resources |
| GET | `/json/resourcesManager/getResourceById` | Returns a resource by id |
| GET | `/json/resourcesManager/getResourcesByIds` | Returns list of Resources by their ids |
| GET | `/json/resourcesManager/getEnrichedResourceById` | Find resource for given id and returns it with given attributes. |
| GET | `/json/resourcesManager/getResourceByName` | Returns resource by its name, Vo id and Facility id |
| GET | `/json/resourcesManager/getRichResourceById` | Returns RichResource by id (also containing facility and VO inside) |
| GET | `/json/resourcesManager/getRichResourcesByIds` | Returns list of RichResources by their ids |
| POST | `/urlinjsonout/resourcesManager/createResource` | Creates a new resource |
| POST | `/json/resourcesManager/copyResource` | Copy "template" settings from user's another existing resource and create new… |
| POST | `/json/resourcesManager/updateResource` | Updates a resource |
| POST | `/urlinjsonout/resourcesManager/deleteResource` | Deletes a resource |
| GET | `/json/resourcesManager/getFacility` | Get facility which belongs to a specific resource |
| GET | `/json/resourcesManager/getVo` | Returns Vo which is tied to a specific resource |
| GET | `/json/resourcesManager/getAllowedMembers` | Returns all allowed members on the resource. |
| GET | `/json/resourcesManager/getAllowedUsers` | Returns all allowed users on the resource. |
| GET | `/json/resourcesManager/isResourceLastAssignedServices` | Returns the services where the resource is the last one on the facility to have… |
| POST | `/urlinjsonout/resourcesManager/assignGroupToResource` | Assigns a group to a resource. |
| POST | `/urlinjsonout/resourcesManager/assignGroupsToResource` | Assigns groups to a resource. |
| POST | `/urlinjsonout/resourcesManager/assignGroupToResources` | Assigns a group to resources. |
| POST | `/urlinjsonout/resourcesManager/removeGroupFromResource` | Remove a group from a resource. |
| POST | `/urlinjsonout/resourcesManager/removeGroupsFromResource` | Remove groups from a resource. |
| POST | `/urlinjsonout/resourcesManager/removeGroupFromResources` | Remove a group from resource. |
| GET | `/json/resourcesManager/getAssignedGroups` | List all groups associated with the resource and optionally a member |
| GET | `/json/resourcesManager/getAssignedResources/g` | List all resources to which the group is assigned |
| GET | `/json/resourcesManager/getAssignedResourcesWithStatus` | Returns all resources reachable through groups the member belongs to, annotated… |
| GET | `/json/resourcesManager/getResourceAssignments` | Lists all of the resource assignments for the given group. |
| GET | `/json/resourcesManager/getGroupAssignments` | Lists all of the assigned groups for the given resource. |
| POST | `/urlinjsonout/resourcesManager/allowGroupsToResources` | Assigns given groups to all of the given resources. |
| POST | `/urlinjsonout/resourcesManager/unallowGroupsFromResources` | Unassigns given groups from the given resources |
| POST | `/urlinjsonout/resourcesManager/activateGroupResourceAssignment` | Try to activate the group-resource status. |
| POST | `/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment` | Deactivates the group-resource assignment. |
| GET | `/json/resourcesManager/getAssignedResources/m` | Get all resources where the member is assigned. |
| GET | `/json/resourcesManager/getAssignedRichResources/s-m` | Get all rich resources where the member is assigned, with facility property… |
| GET | `/json/resourcesManager/getAssignedRichResources/m` | Get all rich resources where the member is assigned, with facility property… |
| GET | `/json/resourcesManager/getAssignedRichResources/g` | List all rich resources associated with a group |
| GET | `/json/resourcesManager/getAssignedMembers` | Returns all assigned members on the resource. |
| GET | `/json/resourcesManager/getAssignedMembersWithStatus` | Returns all members of groups with a group-resource assignment to the resource… |
| GET | `/json/resourcesManager/getAssignedRichMembers` | Returns all assigned members on the resource as RichMembers. |
| POST | `/urlinjsonout/resourcesManager/addAdmin/r-u` | Adds a Resource admin |
| POST | `/urlinjsonout/resourcesManager/addAdmin/r-g` | Adds a group administrator to the Resource |
| POST | `/urlinjsonout/resourcesManager/removeAdmin/r-u` | Removes a Resource admin |
| POST | `/urlinjsonout/resourcesManager/removeAdmin/r-g` | Removes a group administrator of the Resource |
| GET | `/json/resourcesManager/getAdmins` | Get list of all resource administrators for supported role and given resource |
| GET | `/json/resourcesManager/getAdminGroups` | Get all Resource group admins |
| GET | `/json/resourcesManager/getRichAdmins` | Get list of all richUser administrators for the resource and supported role… |
| GET | `/json/resourcesManager/getResourcesWhereUserIsAdmin` | Returns list of Resources for specified VO and Facility, where the user is a… |
| GET | `/json/resourcesManager/getResourcesWhereUserIsAdmin/group` | Returns list of Resources for specified VO and Facility, where the group is an… |
| GET | `/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo` | Returns list of Resources for specified VO, where the user is an Administrator |
| GET | `/json/resourcesManager/getResourcesWhereUserIsAdmin/all` | Returns list of Resources, where the user is an Administrator |
| POST | `/urlinjsonout/resourcesManager/assignService` | Assigns service to resource |
| POST | `/urlinjsonout/resourcesManager/assignServices` | Assigns services to resource |
| POST | `/urlinjsonout/resourcesManager/removeService` | Removes a service from a resource |
| POST | `/urlinjsonout/resourcesManager/removeService/forResources` | Remove service from multiple resources in the same facility |
| POST | `/urlinjsonout/resourcesManager/removeServices` | Removes services from a resource. |
| GET | `/json/resourcesManager/getResources` | Get all VO resources |
| GET | `/json/resourcesManager/getRichResources` | Get all VO rich resources |
| GET | `/json/resourcesManager/getMailingServiceRichResourcesWithMember` | Return all rich resources with mailing service(s) where given member is assigned |
| GET | `/json/resourcesManager/getEnrichedResourcesForVo` | Find resources for given vo and attributes for given names. |
| GET | `/json/resourcesManager/getEnrichedResourcesForFacility` | Find resources for given facility and attributes for given names. |
| GET | `/json/resourcesManager/getResourcesCount/vo` | Returns number of VO resources |

…and 31 more operations. They are listed in full on the page.

## Machine-readable artifacts (9)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/openapi/cesnet-resourcesmanager-api-openapi.yml
- **GitHubRepository** — https://github.com/CESNET/perun
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-application-form-item-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-perun-notif-template-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-application-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-registrar-application-input-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-applications-page-query-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/cesnet/refs/heads/main/json-schema/cesnet-publication-schema.json
- **GitHubRepository** — https://github.com/CESNET/exafs

## Other CESNET APIs (12)

- [CESNET Attributes Manager API](https://apis.io/apis/cesnet/cesnet-attributesmanager-api/)
- [CESNET Audit Messages Manager API](https://apis.io/apis/cesnet/cesnet-auditmessagesmanager-api/)
- [CESNET Authorization API](https://apis.io/apis/cesnet/cesnet-authorization-api/)
- [CESNET Authz Resolver API](https://apis.io/apis/cesnet/cesnet-authzresolver-api/)
- [CESNET Cabinet Manager API](https://apis.io/apis/cesnet/cesnet-cabinetmanager-api/)
- [CESNET Choices API](https://apis.io/apis/cesnet/cesnet-choices-api/)
- [CESNET Config Manager API](https://apis.io/apis/cesnet/cesnet-configmanager-api/)
- [CESNET Consents Manager API](https://apis.io/apis/cesnet/cesnet-consentsmanager-api/)
- [CESNET Database Manager API](https://apis.io/apis/cesnet/cesnet-databasemanager-api/)
- [CESNET Ext Sources Manager API](https://apis.io/apis/cesnet/cesnet-extsourcesmanager-api/)
- [CESNET Facilities Manager API](https://apis.io/apis/cesnet/cesnet-facilitiesmanager-api/)
- [CESNET Groups Manager API](https://apis.io/apis/cesnet/cesnet-groupsmanager-api/)

## Tags

ResourcesManager

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cesnet/cesnet-resourcesmanager-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cesnet/.
