academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Curriculum-entries → Replaces the prerequisite categories for a category curriculum entry.

AI-generated

Summary

Replaces the prerequisite category entries for a source category curriculum entry by sending a request to the academyFIVE API.

Inputs

  • curriculumEntryId (required) — Identifier of the source category curriculum entry whose prerequisites to replace.
  • data (required) — Request body with a required type and relationships.presupposedCategories.data array. Each array item requires a type and an id identifying a category curriculum entry in the same curriculum as the source entry.

Output shape

A list of JSON items from the API response.

The operation makes a request to /api/v1/curriculum-entries/{curriculumEntryId}/presupposed-category-entries. Items are paired with their corresponding input item. If the node is set to continue on failure, errors are returned as JSON items with an error field.

Links

Discussion