Skip to content

Daily Quotas

Operations Summary

Method Endpoint Description
GET /api/daily-quotas/ List Daily Quotas

List Daily Quotas

1
2
3
4
http \
  GET \
  https://api.example.com/api/daily-quotas/ \
  Authorization:"Token YOUR_API_TOKEN"
1
2
3
4
5
6
7
8
9
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.daily_quotas import daily_quotas_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = daily_quotas_retrieve.sync(client=client)

print(response)
  1. API Source: daily_quotas_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { dailyQuotasRetrieve } from 'waldur-js-client';

try {
  const response = await dailyQuotasRetrieve({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
end string (date) End date in format YYYY-MM-DD
quota_names array List of quota names
scope string (uuid) UUID of the scope object
start string (date) Start date in format YYYY-MM-DD

200 -