From e0b2f1a5eb1dab3b99f974b030bdbb866bd48dae Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 13 Oct 2023 16:00:16 +0200 Subject: mastodon-http--api-search fun (search uses api v2) --- lisp/mastodon-http.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp/mastodon-http.el') 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) -- cgit v1.2.3