List product content
/products/{product_id}/contentLists the top-level content of a product: its root modules and the lessons that do not belong to any module, in their display order.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Query Parameters
Value in
- "published"
- "draft"
Header Parameters
Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.
length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/products/string/content"{ "data": [ { "id": "string", "kind": "module", "name": "string", "object": "content_entry", "position": 0, "status": "published" } ], "page": { "limit": 1, "next_cursor": "string", "prev_cursor": "string" }}Delete a release rule DELETE
Removes the node's own release rule so that the node inherits the rule of its parent again. At the `product` level there is no parent to inherit from, so removing the rule sets it to `free`.
Reorder product content PUT
Sets the display order of the product's top-level content. The `ids` list may mix module IDs (`mod_`) and lesson IDs (`les_`), and must contain exactly the complete set of root modules and lessons that do not belong to any module. If the supplied set does not match, the request is rejected. Send the product's current `ETag` value in the `If-Match` header to avoid overwriting a newer version.