Edlib
Edlib copied to clipboard
Expand info-endpoint with info from copyright endpoint
- Make sure that all data from copyright endpoint is also reported from the info-endpoint
- 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”
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