Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement getLibraryData #6

Closed
JPSchellenberg opened this issue May 27, 2019 · 0 comments
Closed

Implement getLibraryData #6

JPSchellenberg opened this issue May 27, 2019 · 0 comments
Assignees
Milestone

Comments

@JPSchellenberg
Copy link
Member

This "Endpoint" is used to get data about a library from the server and is called when you select use:

h5p_get_libraries

Method:
GET /ajaxPath?action=libraries?machineName=<machine_name>&majorVersion=<major_version>&minorVersion=<minor_version>

Response:

{
"semantics": LibrarySemantics,
"language": LibraryLanguage,
"javascript": Array<JSDependency>,
"css": Array<CSSDependency>,
"translation": LibraryTranslation
}
@JPSchellenberg JPSchellenberg added this to the Ajax Endpoint milestone May 27, 2019
@JPSchellenberg JPSchellenberg added this to todo in H5P via automation May 27, 2019
@JPSchellenberg JPSchellenberg self-assigned this May 28, 2019
@JPSchellenberg JPSchellenberg moved this from todo to in progress in H5P May 28, 2019
@JPSchellenberg JPSchellenberg changed the title Implement GET Libraries within Ajax-Endpoint Implement getLibraryData within Ajax-Endpoint May 31, 2019
@JPSchellenberg JPSchellenberg changed the title Implement getLibraryData within Ajax-Endpoint Implement getLibraryData May 31, 2019
@JPSchellenberg JPSchellenberg removed this from in progress in H5P Jun 1, 2019
sr258 added a commit that referenced this issue Feb 7, 2021
refactor(h5p ajax endpoint): extracted controller
feat(caching): caching of library metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant