Migrating a Course's Module Items

christensen_cor
Community Novice

I am migrating a course over using an IMSCC. Diving into the xml, I have two module items with attributes as follows:

<items>
   <title>Item One</title>
   <position>1</position>
</item>
   <title>Item Two</title>
   <position>2</position>
</items>

They are the only two items underneath a module.
Next, I need to (immediately) get those same items via the API. They come back like this:

{
  "title" => "Item One",
  "position" => 2,
}, {
  "title" => "Item Two",
  "position" => 3,
}

My question is, why would their positions increase after migrating the content over?

Thanks!

0 Likes