branch: elpa/hyperdrive
commit 565ba68065b6280b1b0325bfc853914fc3335bc3
Author: Joseph Turner <jos...@ushin.org>
Commit: Joseph Turner <jos...@ushin.org>

    Change: (h/api) Explain purpose in docstring
---
 hyperdrive-lib.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index b07d41b769..daf4e495b5 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -163,7 +163,11 @@ with `hyperdrive--hyper-prefix' to a URL starting with
 REST is passed to `plz', which see.
 
 REST may include the argument `:queue', a `plz-queue' in which to
-make the request."
+make the request.
+
+This low-level function should only be used when sending requests
+to the gateway which do not involve an entry.  Otherwise, use
+`hyperdrive-entry-api', which automatically fills metadata."
   ;; TODO: Document that the request/queue is returned.
   ;; TODO: Should we create a wrapper for `h/api' which calls
   ;; `h//fill-latest-version' for requests to directories/requests which modify

Reply via email to