In the context of fiction, apocrypha includes those fictional stories that do not belong within a fictional universe's canon, yet still have some authority relating to that fictional universe. The boundaries between canon and apocrypha can often be blurred.
The word "Apocrypha" is sometimes used to describe works set in a fictional universe that may not belong in the canon.
These may include tie-in merchandise such as video games, novels and comics, which are sometimes termed 'Expanded Universes'.
Often these materials might contradict the continuity that has already been established by 'canon'. Even when no such contradictions occur, such materials may still be deemed apocrypha possibly because they might have been produced largely independently of the creator of the fictional universe. For example, Joss Whedon, creator of the Buffyverse, has little involvement with the Buffyverse novels and has never read an entire novel, let alone closely overseen or edited one.
The Star Trek canon consists of the various Star Trek television series and movies. All the other Star Trek stories which have been licensed by Paramount (novels, comics..) are not part of canon, they are instead apocrypha. Fan fiction is classified as fanon.
Lady 1: You thinks, It's canon?
Lady 2: Nah, apocrypha (fiction)