unikent / programmes-plant

A comprehensive solution for the management of university programmes, that produces an XCRI feed.
Other
7 stars 4 forks source link

updated_at api attribute changes from a string to an object when a revision is made live. #1018

Open cfc7-unikent opened 1 year ago

cfc7-unikent commented 1 year ago

I add this here for reference since Trello does not really make sense for something I doubt we will fix.

When making a revision live the api representation of the updated_at field changes from a string to an object. This caused some confusion with the programmes and global settings while we were producting a work-a-like api for programmes within Nova.

This happens when we do the yearly rollover of programmes and global settings.

Some screenshots to demo...

  1. API snippet

    CleanShot 2022-10-27 at 10 00 40
  2. I publish a change to that course

    CleanShot 2022-10-27 at 10 01 22
  3. API snippet has changed format for updated_at field

    CleanShot 2022-10-27 at 10 01 53