API issue getting invalid in link.type

hello friends,

getting following error when i browse site/api/documents. what settings i need to do please tell me