drafting API spec