File upload started
POST's metadata for a file when an upload has started
post/files
Request body
Example request
{
"path": "images/meme.jpg",
"is_publishable": true,
"collection_id": "1234-asdfg-54321-qwerty",
"bundle_id": "bundle-789-xyz",
"title": "The latest Meme",
"size_in_bytes": 14794,
"type": "image/jpeg",
"licence": "OGL v3",
"licence_url": "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
"content_item": {
"dataset_id": "cpih01",
"edition": "time-series",
"version": "1"
}
}Response
OK