From 524954a1e8df23b73801a491e68d3f7311e0a83f Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 24 Apr 2020 13:52:12 -0400 Subject: [PATCH] document donk api --- docs/honk.3 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/honk.3 b/docs/honk.3 index 4d7d7b5..9f4ccab 100644 --- a/docs/honk.3 +++ b/docs/honk.3 @@ -79,6 +79,8 @@ May also be html. A file to attach. .It Fa donkdesc A description for the attached file. +.It Fa donkxid +The XID of a previously uploaded attachment. .It Fa placename The name of an associated location. .It Fa placeurl @@ -94,6 +96,12 @@ The ActivityPub ID that this honk is in reply to. .El .Pp Upon success, the honk action will return the URL for the created honk. +.Ss donk +Upload just an attachment using +.Fa donk +and +.Fa donkdesc . +Will return the XID. .Ss gethonks The .Dq gethonks