diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-13 16:00:16 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-13 16:00:16 +0200 |
commit | e0b2f1a5eb1dab3b99f974b030bdbb866bd48dae (patch) | |
tree | 36aed30830ffdfafe0d0b1c1127a26bc136478e0 /lisp/mastodon-http.el | |
parent | 3e0badc4af1b128e139d833f29cdc5ee643973cf (diff) |
mastodon-http--api-search fun (search uses api v2)
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 8741972..33f6012 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -53,6 +53,10 @@ (concat mastodon-instance-url "/api/" mastodon-http--api-version "/" endpoint)) +(defun mastodon-http--api-search () + "Return Mastodon API url for the /search endpoind (v2)." + (format "%s/api/v2/search" mastodon-instance-url)) + (defun mastodon-http--response () "Capture response buffer content as string." (with-current-buffer (current-buffer) |