<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Attachments on Fediverse Developer Network</title><link>https://fedidevs.org/tags/attachments/</link><description>Recent content in Attachments on Fediverse Developer Network</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><atom:link href="https://fedidevs.org/tags/attachments/index.xml" rel="self" type="application/rss+xml"/><item><title>Create</title><link>https://fedidevs.org/projects/server-apps/mastodon/activities/create/</link><guid>https://fedidevs.org/projects/server-apps/mastodon/activities/create/</guid><description>&lt;p>The &lt;code>Create&lt;/code> activity is used to create new objects on the server, most commonly a &lt;a href="../note">Note&lt;/a> in order to create a new post.&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Reference&lt;/th>
&lt;th>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Activity&lt;/td>
&lt;td>&lt;a href="https://www.w3.org/TR/activitypub/#create-activity-inbox">Create&lt;/a>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Object&lt;/td>
&lt;td>Note&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Official documentation&lt;/td>
&lt;td>&lt;a href="https://docs.joinmastodon.org/spec/activitypub/#payloads">docs.joinmastodon.org&lt;/a>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="visibility-of-a-post">Visibility of a post&lt;/h2>
&lt;p>TODO: Go into detail with examples of how to set the visibility of a post. Public, unlisted, private, direct.&lt;/p></description></item><item><title>Create Note</title><link>https://fedidevs.org/projects/server-apps/owncast/create/note/</link><guid>https://fedidevs.org/projects/server-apps/owncast/create/note/</guid><description>&lt;p>Owncast sends out a note with an attachment to the inbox of each follower each time the stream goes live. Streamers can also compose and send out posts to their followers manually. It also utilizes private messages to an ActivityPub actor for use in authenticating to chat.&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Reference&lt;/th>
&lt;th>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Activity&lt;/td>
&lt;td>&lt;a href="https://www.w3.org/TR/activitypub/#create-activity-inbox">Create&lt;/a>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Object&lt;/td>
&lt;td>Note&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="outbound">Outbound&lt;/h2>
&lt;p>Outbound note objects from Owncast aim to be compatible with all microblogging style platforms.&lt;/p>
&lt;h2 id="inbound">Inbound&lt;/h2>
&lt;p>Inbound note objects received by Owncast are not handled and silently discarded.&lt;/p>
&lt;h2 id="example-automated-go-live-message">Example automated &amp;ldquo;Go live&amp;rdquo; message&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="err">Example&lt;/span> &lt;span class="err">TODO&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="example-fediauth-message">Example &amp;ldquo;FediAuth&amp;rdquo; message&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="err">Example&lt;/span> &lt;span class="err">TODO&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Hashtag</title><link>https://fedidevs.org/projects/server-apps/mastodon/hashtag/</link><guid>https://fedidevs.org/projects/server-apps/mastodon/hashtag/</guid><description/></item><item><title>Note (Status)</title><link>https://fedidevs.org/projects/server-apps/mastodon/note/</link><guid>https://fedidevs.org/projects/server-apps/mastodon/note/</guid><description>&lt;p>An ActivityPub Note object represents a single status post on Mastodon.&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Reference&lt;/th>
&lt;th>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Object&lt;/td>
&lt;td>Note&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Official documentation&lt;/td>
&lt;td>&lt;a href="https://docs.joinmastodon.org/spec/activitypub/#payloads">docs.joinmastodon.org&lt;/a>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="common-attachments">Common attachments&lt;/h2>
&lt;ul>
&lt;li>Hashtags (&lt;a href="hashtag">Hashtag&lt;/a>)&lt;/li>
&lt;li>Media attachments&lt;/li>
&lt;/ul>
&lt;h2 id="things-to-be-aware-of">Things to be aware of&lt;/h2>
&lt;ul>
&lt;li>Mastodon (as of last tested) requires tags (&lt;a href="hashtag">Hashtags&lt;/a> objects) to be an array. While ActivityPub supports specifying a single object for a property, Mastodon will silently discard your post if you do not specify this property as an array.&lt;/li>
&lt;/ul>
&lt;p>A Note object can be included in the following ActivityPub activities:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="activities/create">Create&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/delete">Delete&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/like">Like&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/announce">Announce&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/flag">Flag&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/update">Update&lt;/a>&lt;/li>
&lt;li>&lt;a href="activities/undo">Undo&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>