setting schema and api
fix for hashid saving failure
pick up docid from the request if possible
changeable valued semaphore on thread
naming change
remove global