api reference first draft