Giter Site home page Giter Site logo

adapt-authoring-courseassets's People

Contributors

dancgray avatar deltanetdan avatar taylortom avatar tomgreenfield avatar

Watchers

 avatar  avatar  avatar

adapt-authoring-courseassets's Issues

Should be able to query which courses an asset is used in

Taken from adapt-security/adapt-authoring#373 (note NOT MVP)

  • Get asset uses by course/content _id
  • Get unused assets

Used assets

This is already possible by querying the courseassets API (specifying assetId).

Results will contain multiple entries for a single course where an asset has been used more than once (e.g. for graphic small/large), so we may want to add a query option to only return unique results

Unused assets

If this is something that's needed for one asset at a time, it would be possible to just negate the above (i.e. results would be 0) - it might be worth running this on the server side to reduce requests.

If results are needed in bulk (i.e. a complete list of all unused assets), it will need separate requests to query the assets API for assets which don't appear in the courseassets API. This is a bit messy in its current state due to the need for multiple requests (will also be restricted by pagination).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.