Lab: upload
Upload of a content newsitem to Open Content
This section will show how an upload to Open Content is performed
To be able to do the exercises you may to prepare your system. You need an Open Content Server to perform upload request towards.
You need a bash terminal for execution of the scripts
The prepare Windows section explains how to enable a bash terminal for Windows
Need to have following installed;
aws cli
imagemagick
unzip
jq
The examples will use show how to upload all objects types referenced from an Article.
Concepts
Images
Article
The article has relations to 6 different concepts and 3 images. Certain conventions must be known before uploading these to an Open Content.
UI and REST-API documentation for Open Content
Search client (XLibris) http://localhost/client
Admin client, http://localhost/admin
Rest-Api Swagger documentation, http://localhost:8080/opencontent/apidocs/
Use the links above to verify and study what happens in Open Content during the exercises below!
Study the scripts and try to understand what they do, modify files, script and execute them. If not expected behaviour, start a discussion.
Last updated