Documentation say :
{
"name": "string",
"datePublished": "2019-08-25T20:21:55.899Z",
"dateCreated": "2019-08-25T20:21:55.899Z",
"author": "string",
"tags": "string",
"content": "string"
}
I get :
{
"about": [
"https://ipfs.poetnetwork.net/ipfs/..."
],
"hash": "string",
"name": "string",
"datePublished": "date",
"dateCreated": "date,
"author": "string"
}
Thank you. I'm using Php with Frost API for PHP. It seem to be old but now I understand.
You could also upload the contents to IPFS manually from your side and create the about section. This is what Explorer does in the case of file uploads
It is interessant. Like this ?
$work = $this->poet->createWork([
'name' => $name,
'datePublished' => $datePublished,
'dateCreated' => $dateCreated,
'author' => $author,
'tags' => $tags,
'content' => $content //Text, old way or ...
'about' => [$url] //$url contain a link to my file on ipfs, new way
])
"about" is an array (in PHP). What's happen if I give two or more url ? like 'about' => [$url1, $url2]
Thank you and sorry for my little english.