create draft api resource