Creating an iTunes U Web Services Document

When you create an iTunes U Web Services document, you specify iTunes U operations, entities, and instructions that describe to the iTunes U servers how you want to view or modify the structure and data contained in your iTunes U site.

All iTunes U Web Services operations, with the exception of ShowTree, fall into three categories:

You can specify the following operations and entities.

Operation

Entity

Value (default values in bold)

Description

“ShowTree”

Handle

KeyGroup

handle

"minimal" | "most" | "maximal"

Displays the data in your iTunes U site.

“MergeSite”

SiteHandle

MergeByHandle

Destructive

Site

handle

"true" | "false"

"true" | "false"

site item entity

Specifies the site information you want to update in your iTunes U site.

iTunes U merges the site information specified in your document with the information in your iTunes U site.

“AddDivision”

ParentHandle

ParentPath

TemplateHandle

Division

handle

path

handle

division item entity

Specifies a division you want to add to your iTunes U site.

“DeleteDivision”

DivisionHandle

DivisionPath

handle

path

Specifies a division you want to delete from your iTunes U site.

“MergeDivision”

DivisionHandle

DivisionPath

MergeByHandle

Destructive

Division

handle

path

"true" | "false"

"true" | "false"

division item entity

Specifies the division information you want to update in your iTunes U site.

iTunes U merges the division information specified in your document with the division information in your iTunes U site.

“AddSection”

ParentHandle

ParentPath

Section

handle

path

section item entity

Specifies a section you want to add to your iTunes U site.

“DeleteSection”

SectionHandle

SectionPath

handle

path

Specifies a section you want to delete from your iTunes U site.

“MergeSection”

SectionHandle

SectionPath

MergeByHandle

Destructive

Section

handle

path

"true" | "false"

"true" | "false"

section item entity

Specifies the section information you want to update in your iTunes U site.

iTunes U merges the section information specified in your document with the section information in your iTunes U site.

“AddCourse”

ParentHandle

ParentPath

TemplateHandle

Course

handle

path

handle

course item entity

Specifies a course you want to add to a section in your iTunes U site.

“DeleteCourse”

CourseHandle

CoursePath

handle

path

Specifies a course you want to delete from a section in your iTunes U site.

“MergeCourse”

CourseHandle

CoursePath

MergeByHandle

Destructive

Course

handle

path

"true" | "false"

"true" | "false"

course item entity

Specifies the course information you want to update in your iTunes U site.

iTunes U merges the course information specified in your document with the course information in your iTunes U site.

“AddGroup”

ParentHandle

ParentPath

Group

handle

path

group item entity

Specifies a group you want to add to a course in your iTunes U site.

“DeleteGroup”

GroupHandle

GroupPath

handle

path

Specifies a group you want to delete from a course in your iTunes U site.

“MergeGroup”

GroupHandle

GroupPath

MergeByHandle

Destructive

Group

handle

path

"true" | "false"

"true" | "false"

group item entity

Specifies the group information you want to update in a course in your iTunes U site.

iTunes U merges the group information specified in your document with the group information in your iTunes U site.

“UpdateGroup”

GroupHandle

handle

Specifies a feed group you want to update in a course in your iTunes U site with data from the feed source.

For more information, see PingPodcast information in “Adding Content Using a Feed Group” and “Creating Group Types.”

“UpdateFeed”

FeedIdentifier

handle | feed URL

Specifies a feed course or feed group you want to update in your iTunes U site with data from the feed source.

For more information, see PingPodcast information in “Adding Content Using a Feed Course” and “Adding Content Using a Feed Group.”

“AddTrack”

ParentHandle

ParentPath

Track

handle

path

track item entity

Specifies a track you want to add to a group in your iTunes U site.

“DeleteTrack”

TrackHandle

handle

Specifies a track you want to delete from your iTunes U site.

“MergeTrack”

TrackHandle

Track

handle

track item entity

Specifies the track properties you want to update in your iTunes U site.

iTunes U merges the track information specified in your document with the track information in your iTunes U site.

“AddPermission”

ParentHandle

ParentPath

Permission

handle

path

permission item entity

Specifies a permission you want to add to a section, course, or group in your iTunes U site.

“DeletePermission”

ParentHandle

ParentPath

Credential

handle

path

credential item entity

Specifies a permission you want to delete from a section, course, or group in your iTunes U site.

“MergePermission”

ParentHandle

ParentPath

Permission

handle

path

permission item entity

Specifies the permission information you want to update for a section, course, or group in your iTunes U site.

iTunes U merges the permission information specified in your document with the permission information in your iTunes U site.

Notes:

In this section:

ShowTree
MergeSite
AddDivision
DeleteDivision
MergeDivision
AddSection
DeleteSection
MergeSection
AddCourse
DeleteCourse
MergeCourse
AddGroup
DeleteGroup
MergeGroup
UpdateGroup
UpdateFeed
AddTrack
DeleteTrack
MergeTrack
AddPermission
DeletePermission
MergePermission




© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-11-04)