As Oxinabox says, if you are writing for a journal, they will almost always, if not literally always, have standards for footnotes and endnotes. Usually they'll say to follow MLA or APA or whatever style guide. Some may have their own rules.
If you are writing a scholarly book, the publisher may have a specific style guide. If not, or if you are self-publishing, you should still at least follow the spirit of the popular style guides if you want your work to be taken seriously. A scholarly book with no footnotes, or with footnotes that don't enable a reader to find the original source, is likely to be dismissed as "not a scholarly book".
If you're writing a non-fiction book for general readers, i.e. not for professionals in the field but for ordinary people, you have a lot more leeway. If the authority of the sources you are quoting is important, than you should have decent footnotes or endnotes.
Many non-fiction books rely primarily on "common knowledge", well-documented facts that don't particularly require foot notes. Books that are intended to be summarizes of generally accepted information, like introductory books, often don't have footnotes. If a book is primarily analysis, commentary, or opinion, it may not need footnotes.
Works of fiction rarely have footnotes at all. Normally you don't want to interrupt the flow of a story with a footnote. Fiction translated from another language may have footnotes to explain difficulties in the translation. Books written in another culture may have footnotes to explain cultural things that the author assumed but that may not be clear to readers in another culture. Etc. But these are relatively rare.