document donk api

This commit is contained in:
Ted Unangst 2020-04-24 13:52:12 -04:00
parent e6890aa533
commit 524954a1e8
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,8 @@ May also be html.
A file to attach. A file to attach.
.It Fa donkdesc .It Fa donkdesc
A description for the attached file. A description for the attached file.
.It Fa donkxid
The XID of a previously uploaded attachment.
.It Fa placename .It Fa placename
The name of an associated location. The name of an associated location.
.It Fa placeurl .It Fa placeurl
@ -94,6 +96,12 @@ The ActivityPub ID that this honk is in reply to.
.El .El
.Pp .Pp
Upon success, the honk action will return the URL for the created honk. 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 .Ss gethonks
The The
.Dq gethonks .Dq gethonks