Outdated version

You are browsing the docs for Nexus v1.7.x, the latest release is available here

Quotas

Quotas are rooted in /v1/quotas collection.

Each quota defines the maximum number of resources and events that can exist in a certain scope.

Quotas are powered through static configuration (app.projects.quotas) and they cannot be modified at runtime.

Authorization notes

When accessing the quotas endpoint, the caller must have quotas/read permissions on the current path of the project or the ancestor paths.

Please visit Authentication & authorization section to learn more about it.

Fetch

GET /v1/quotas/{org_label}/{project_label}

This endpoint returns information about the quotas configuration for the target project.

Example

Request
sourcecurl "http://localhost:8080/v1/quotas/myorg/myproject"
Response
source{
  "@context": "https://bluebrain.github.io/nexus/contexts/quotas.json",
  "@type": "Quota",
  "events": 4000,
  "resources": 2000
}
Note

This resource endpoint is experimental and the response structure might change in the future.