apiary document