Cleanup documentation
This commit is contained in:
parent
1e73aff323
commit
bcaa0dd611
|
@ -34,13 +34,9 @@
|
|||
<p>Posts to Micropub endpoints</p>
|
||||
<p>Connect to your Micropub powered blog and post messages.</p>
|
||||
<p>Input Parameters:</p>
|
||||
<p><code>msg.payload</code> - Should be an Micropub object using MF2, it will be sent without modification to the endpoint. If the payload is a string, it will be sent as a content value.</p>
|
||||
<p><code>msg.payload.type</code> - Should be an array with the type.</p>
|
||||
<p><code>msg.payload.properties</code> - Should be on object with MF2 properties.</p>
|
||||
<p><code>msg.payload.properties.name</code> - Should be an array with a string.</p>
|
||||
<p><code>msg.payload.properties.content.html</code> - Should be a string.</p>
|
||||
<p><code>msg.payload.properties.content.value</code> - Should be a string.</p>
|
||||
<p><code>msg.payload</code> - Should be an [Micropub object using MF2](https://www.w3.org/TR/micropub/#json-syntax),
|
||||
it will be sent without modification to the endpoint. If the payload is a string, it will be sent as a content value.</p>
|
||||
<p>Output Values:</p>
|
||||
<p>This message will be passed on unchanged, but the <code>location</code> of the post will be added.</p>
|
||||
<p><code>msg.location</code> - When succesful this will contain the location of this post.</p>
|
||||
<p><code>msg.location</code> - When successful this will contain the location of this post.</p>
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user