Edlib icon indicating copy to clipboard operation
Edlib copied to clipboard

Expand info-endpoint with info from copyright endpoint

Open tmkarlsen opened this issue 2 years ago • 1 comments

  1. Make sure that all data from copyright endpoint is also reported from the info-endpoint
  2. All fields should always be displayed and fields without data should respond with null

https://h5p.ndla.no/swagger-ui.html#/resource-copyright-info-controller

Info endpoint:

  • title
  • published
  • language
  • h5pLibrary
    • name
    • majorVersion
    • minorVersion
    • latestMajorVersion
    • latestMinorVersion
    • upgradable
  • H5P copyright info (aggreage to one response if when no license info exists for H5P Metadata: “Copyright info not found” or “null”

tmkarlsen avatar Mar 22 '23 07:03 tmkarlsen

Current version in prod/test consists of

"title": "xxxx", "published": true/false, "h5pLibrary": { "name": "H5P.xxx", "majorVersion": x, "minorVersion": xx, "latestMajorVersion": x, "latestMinorVersion": xx, "upgradable": true/false

tmkarlsen avatar Aug 30 '24 09:08 tmkarlsen