Learning Resources
✨ List or create modules for a learning resource
Changed onpost/api/learning-resources/{id}/modules/
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/learning-resources/{id}/modules/
- AuthAPI key in header Authorization
Path parameters
idinteger required
A unique integer value identifying this learning resource.
Query parameters
orderingstring
Which field to use when ordering the results.
pageinteger
A page number within the paginated result set.
page_sizeinteger
Number of results to return per page.
scopestring
searchstring
A search term.
workspaceinteger
Request body
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: multipart/form-data)
- info
- breaking
the response property
///////became nullable for the status - breaking
the response property
/////became nullable for the status - breaking
the
response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtointegerfor status
- breaking