Blueprint Courses
A BlueprintTemplate object looks like:
{
// The ID of the template.
"id": 1,
// The ID of the Course the template belongs to.
"course_id": 2,
// Time when the last export was completed
"last_export_completed_at": "2013-08-28T23:59:00-06:00",
// Number of associated courses for the template
"associated_course_count": 3,
// Details of the latest migration
"latest_migration": null
}A BlueprintMigration object looks like:
{
// The ID of the migration.
"id": 1,
// The ID of the template the migration belongs to. Only present when querying a
// blueprint course.
"template_id": 2,
// The ID of the associated course's blueprint subscription. Only present when
// querying a course associated with a blueprint.
"subscription_id": 101,
// The ID of the user who queued the migration.
"user_id": 3,
// Current state of the content migration: queued, exporting, imports_queued,
// completed, exports_failed, imports_failed
"workflow_state": "running",
// Time when the migration was queued
"created_at": "2013-08-28T23:59:00-06:00",
// Time when the exports begun
"exports_started_at": "2013-08-28T23:59:00-06:00",
// Time when the exports were completed and imports were queued
"imports_queued_at": "2013-08-28T23:59:00-06:00",
// Time when the imports were completed
"imports_completed_at": "2013-08-28T23:59:00-06:00",
// User-specified comment describing changes made in this operation
"comment": "Fixed spelling in question 3 of midterm exam"
}A BlueprintRestriction object looks like:
A ChangeRecord object looks like:
An ExceptionRecord object looks like:
A BlueprintSubscription object looks like:
GET /api/v1/courses/:course_id/blueprint_templates/:template_id
GET /api/v1/courses/:course_id/blueprint_templates/:template_idExample Request:
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/associated_courses
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/associated_coursesExample Request:
PUT /api/v1/courses/:course_id/blueprint_templates/:template_id/update_associations
PUT /api/v1/courses/:course_id/blueprint_templates/:template_id/update_associationsRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations
POST /api/v1/courses/:course_id/blueprint_templates/:template_id/migrationsRequest Parameters:
Parameter
Type
Description
Example Request:
PUT /api/v1/courses/:course_id/blueprint_templates/:template_id/restrict_item
PUT /api/v1/courses/:course_id/blueprint_templates/:template_id/restrict_itemRequest Parameters:
Parameter
Type
Description
Example Request:
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/unsynced_changes
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/unsynced_changesGET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrationsExample Request:
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations/:id
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations/:idExample Request:
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations/:id/details
GET /api/v1/courses/:course_id/blueprint_templates/:template_id/migrations/:id/detailsExample Request:
GET /api/v1/courses/:course_id/blueprint_subscriptions
GET /api/v1/courses/:course_id/blueprint_subscriptionsExample Request:
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrations
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrationsExample Request:
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrations/:id
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrations/:idExample Request:
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrations/:id/details
GET /api/v1/courses/:course_id/blueprint_subscriptions/:subscription_id/migrations/:id/detailsExample Request:
Last updated
Was this helpful?