Skip to content

Transfer resource priorities

To transfer resource priorities to PERSEUS, you can use the usage reporting API. This way, you can see the current priorities within the project details view. Additionally, in case you use Andromeda, you allow your users to see their resource priorities as well.

You can report resource priorities using the endpoint /service/PriorityManager/resource-priority. PERSEUS will automatically detect which resource priority to change based on the current phase a compute project is in.

Resource priorities contains the following information:

AttributeTypeDescription

project_oid*

strThe ObjectId of the corresponding PERSEUS project

compute_project_id*

strThe identifier of the corresponding compute project

resource_id*

str

The identifier of the corresponding resource (has to be identical with the Resource.id property within PERSEUS)

priority*

str | int

The new priority (either a numeric value or a priority identifier defined in the priority manager)

Please see Services - PriorityManager in the API documentation for details on the related data models.