"Apocryphon of John" and " Revelation of John" are two different texts.
Here you can read the summary and its quite interesting
Apocryphon of John - Wikipedia
en.m.wikipedia.org