adding a basic allocations endpoint