Open Content
Docs homeNaviga web
  • Introduction
  • Overview
  • Key features
  • Meta data standards
  • Architecture
  • Open Content API
  • Headless and end-to-end CMS workflows
  • Use and explore
    • How does it work
    • Open Content Docker
    • OC REST API
    • Event logs
    • Replication
    • Open Content Notifier
    • New JSON API:s - CCA and Duppy
    • Terminology: Other backend services
    • Lab: upload
      • Curl for object upload
      • Environment
      • Lab 0: Configuration
      • Lab 1: Concept upload
      • Lab 2: Image upload
      • Lab 3: Article Upload
      • Lab 4: Search
      • Lab 5: Delete objects
      • Lab 6: Event sourcing using event log
  • Releases
    • Release documentation and admin guides
      • Open Content 2.3
    • New in OC 3.0 (draft)
      • Removed features in OC 3.0
  • XLibris Archive
    • Archive everything you ever created or published
    • Import content to XLibris
Powered by GitBook
On this page
  • UI and REST-API documentation for Open Content
Export as PDF
  1. Use and explore

Lab: upload

Upload of a content newsitem to Open Content

PreviousTerminology: Other backend servicesNextCurl for object upload

Last updated 5 years ago

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)

  • Admin client,

  • Rest-Api Swagger documentation,

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.

http://localhost/client
http://localhost/admin
http://localhost:8080/opencontent/apidocs/