add sesison reject for api/docs.  getting syntax error