Created
May 3, 2018 11:21
-
-
Save mjlassila/1d0513cb79962948a4c9d58c13301635 to your computer and use it in GitHub Desktop.
Example JSON payload for attaching external HTML files to existing OmekaS items
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": "url", | |
"o:item": { | |
"@id": "http://omekas:8888/api/items/5500", | |
"o:id": 5500 | |
}, | |
"ingest_url": "http://hmpg.net", | |
"store_original": 1, | |
"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