Add and update some API functions

4 jobs for master in 1 minute and 20 seconds (queued for 1 second)