Add a document API specification