Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67192

H5P: get site UUID using H5P API

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8
    • 3.9
    • H5P
    • H5P Sprint Relase 3.8

    Description

      MDL-67058 adds a task to install the latest version of the H5P content types. It requires connecting to the H5P API, whose endpoints expects a POST with "application/x-www-form-urlencoded" data, which must at least include the site's UUID.

      Although the site's UUID could be generated locally, with the only limitation of not being longer than 36 characters, the correct way to do this is to send a request to the "api.h5p.org/v1/sites" endpoint without any UUID and obtain a unique UUID that will be registered for the site.

      The goal of this issue is getting the UUID from the H5P API and use it in any H5P API request. Submission of additional information, although not sensitive, should be acknowledged by a site administrator, and is beyond the scope of this issue.

      Source:

      Attachments

        Issue Links

          Activity

            People

              vmdef Victor Déniz Falcón
              vmdef Victor Déniz Falcón
              Ferran Recio Ferran Recio
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours
                  1d 5h