Created
May 3, 2018 07:09
Star
You must be signed in to star a gist
Example JSON payload for attaching HTML media to existing items in Omeka-S
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"o:renderer": "html", | |
"o:is_public": true, | |
"@type": "cnt:ContentAsText", | |
"cnt:characterEncoding": "UTF-8", | |
"o:ingester": "html", | |
"o:item": { | |
"@id": "http://omekas:8888/api/items/5500", | |
"o:id": 5500 | |
}, | |
"data": { | |
"html": "<p>Tämä on hyödyllinen testi!</p>\r\n\r\n" | |
}, | |
"dcterms:title": [{ | |
"property_id": 1, | |
"@value": "transcription", | |
"type": "literal", | |
"property_label": "Title" | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment