document donk api
This commit is contained in:
parent
e6890aa533
commit
524954a1e8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue