Fix API spec to use uids