You can customize the quotas used by your services through the Appmixer Backoffice. For more information about quotas, see the Quotas and Limits section. You can find the Quotas section in the left menu.
Quota configuration
You will see a list of the existing quota definitions and a button for adding a new quota definition. What you can see here depends on what modules are installed in Appmixer. Brand new Appmixer installation without any modules will contain an empty list here. Once you add a module into Appmixer that uses quotas (appmixer.slack for example), a new row appmixer.slack will appear here.
The main purpose of this page is to give you the possibility to override the default quota rules that come with each module. Some third-party services offer the possibility to increase their quota limits by paying more money to them. When you do so, you need to tell Appmixer that it can start sending more API requests to such services. This is the way to do so.
Quota definitions that come by default are marked as non-user defined, and cannot be deleted, but they can be modified.
Default quota definitions
To create a new quota definition, click on the Add new quota definition button on the top left. This will popup a dialog like this:
Create new quota dialog
You will have to provide a service name (this is the same service name defined in the component manifest):
Service name in the manifest
Next are the quota rules. When the dialog is opened, you will find a rule definition as an example. More detailed info about the quota rules can be found here. You can use the Test button to check if your definition is valid. Once you are done, just click the Save button. You will see the new quota in the list.
When quotas are created or edited by you, they are marked as user-defined. These quotas can be deleted, however, if you delete a quota definition not created by you (this is, that came by default), it will revert to the default definition. If you delete a quota that was created from scratch by you, deleting it will remove it entirely.
This is how the new quota looks in the quota list. You can see the options for editing and removing quotas in the Definition column.
For editing quotas, the dialog is the same as the one for creating new quotas.
Copy link