It’s rather simple because it’s always just:
node/nset, first DOF, last DOF, magnitude
Of course, magnitude applies only to BCs within steps since you can prescribe their non-zero values.
DOF numbers are 1,2,3 for x,y,z displacement and 4,5,6 for x,y,z rotation. Then there are non-mechanical DOFs like 11 for temperature.