Fix apiary doc and add revision header to sessions