updated API entry for getAttributes