API
Availability Constraints can now be used to limit the number of events from your application per day, regardless of whether they have specific tags or not. The tags parameter is now optional to facilitate this.
For example, it is now possible to make a query to find times constrained by "a maximum of 2 events created through Cronofy per day, and up to 10 events overall that week":
{
"participants": [{
"members": [
{
"sub": "acc_567236000909002",
"availability_constraints": [
{
"limit": 2,
"period": "day",
"tzid": "Europe/London"
},
{
"limit": 10,
"period": "week"
}
]
}
],
"required": "all"
}],
...
}
It is possible to either use this alone to limit the total number of events from your application in a given period, or combine both limits on the total number of events and events with a given set of tags within a single Availability query or Sequenced Availability query. More details about combining constraints can be found in the constraints documentation.