you gave me the textual citation yourself.
The oldest clear endorsement of Mark, Matthew, Luke, and John being the only legitimate gospels was written c. 180 AD It was a claim made by Bishop Irenaeus in his polemic Against the Heresies, for example III.XI.8: "It is not possible that the Gospels can be either more or fewer in number than they are. For, since there are four zones of the world in which we live, and four principal winds, while the Church is scattered throughout all the world, and the “pillar and ground” of the Church is the Gospel and the spirit of life; it is fitting that she should have four pillars, breathing out immortality on every side, and vivifying men afresh."
Eusebius, c. 300, gave a detailed list of New Testament writings in his Ecclesiastical History Book 3, Chapter XXV:
"1... First then must be put the holy quaternion of the Gospels; following them the Acts of the Apostles... the epistles of Paul... the epistle of John... the epistle of Peter... After them is to be placed, if it really seem proper, the Apocalypse of John, concerning which we shall give the different opinions at the proper time. These then belong among the accepted writings."
"3 Among the disputed writings [Antilegomena], which are nevertheless recognized by many, are extant the so-called epistle of James and that of Jude, also the second epistle of Peter, and those that are called the second and third of John, whether they belong to the evangelist or to another person of the same name. Among the rejected [Kirsopp Lake translation: "not genuine"] writings must be reckoned also the Acts of Paul, and the so-called Shepherd, and the Apocalypse of Peter, and in addition to these the extant epistle of Barnabas, and the so-called Teachings of the Apostles; and besides, as I said, the Apocalypse of John, if it seem proper, which some, as I said, reject, but which others class with the accepted books. And among these some have placed also the Gospel according to the Hebrews... And all these may be reckoned among the disputed books."
"6... such books as the Gospels of Peter, of Thomas, of Matthias, or of any others besides them, and the Acts of Andrew and John and the other apostles... they clearly show themselves to be the fictions of heretics. Wherefore they are not to be placed even among the rejected writings, but are all of them to be cast aside as absurd and impious."
Both clearly state that an opinion not conform with the mainstream opinion was concidered herecy, by the people that made the Biblical canon