skool domain skill: course-root ops (rename/covers/reorder) - #533
Open
rodkend78 wants to merge 3 commits into
Open
skool domain skill: course-root ops (rename/covers/reorder)#533rodkend78 wants to merge 3 commits into
rodkend78 wants to merge 3 commits into
Conversation
Full create/fill/delete contract for Skool classroom courses discovered while
publishing a 28-lesson course: POST /courses for course+sections+lessons
(unit_type=module, nested by parent_id, 3 levels render), PUT /courses/{id}
with a FLAT {title,desc,transcript,video_id} body to set [v2] content, and the
field-tested traps (50-char title cap = 422, don't navigate mid-loop, chunked
payload + fire-and-poll to beat the socket timeout, stale __NEXT_DATA__).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… titles
Field-corrected while publishing: the classroom UI renders only 2 levels
(course -> lessons). A section-with-children stores fine via the API but shows
as an empty page with unreachable lessons. Use flat lessons under the course
root with '{m}.{l} ' title prefixes for module grouping.
…ses cap Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Skill review passedReviewed 1 file(s) — no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Field-tested additions from a live classroom reorg: course-root PUT shape, the GET-doesn't-return-coverImage wipe trap, move2 reorder endpoint with absolute dst index, allCourses 30-entry cap, 1460x752 cover spec.
🤖 Generated with Claude Code
Summary by cubic
Adds a field-tested guide for Skool classroom course authoring via
api2.skool.com, covering create/update/delete, course-root rename/cover, and grid reorder. Documents the correct request shapes and safety traps to prevent accidental cover wipes and ordering mistakes.{title,desc,transcript,video_id}; course-root PUT{title,desc,cover_image,privacy,is_afl_comp_eligible,min_tier};[v2]TipTap content format.POST /courses/<id>/move2?dst=for absolute reordering.coverImagewipe trap, cover size 1460×752,pageProps.allCourses30-item cap, live tree viaGET /courses/<id>?group_id=.Written for commit 836b35f. Summary will update on new commits.