Add 'restart' to the build and job endpoints