mirror of
https://github.com/dariusk/express-activitypub.git
synced 2024-11-11 10:11:01 +00:00
updating readme to clarify API
This commit is contained in:
parent
d696a1f465
commit
e799166ecf
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ Send a message to followers. This is NOT a direct message or an @-mention. This
|
||||||
Send a POST to `api/sendMessage` with the form fields `acct`, `apikey`, and `message`.
|
Send a POST to `api/sendMessage` with the form fields `acct`, `apikey`, and `message`.
|
||||||
|
|
||||||
* `acct`: the account name in the form "myAccountName" (no domain or @'s needed)
|
* `acct`: the account name in the form "myAccountName" (no domain or @'s needed)
|
||||||
* `apikey`: your hex API
|
* `apikey`: your hex API key
|
||||||
|
* `message`: the message you want to send -- for Mastodon-compatible posts this might be plain text or simple HTML, but ActivityPub is a lot more flexible than just Mastodon! In theory, according to the [ActivityPub spec](https://www.w3.org/TR/activitypub/#create-activity-outbox) it can be any [ActivityStreams object](https://www.w3.org/TR/activitystreams-core/#object)
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue