Hi,
I’ve been looking at the JamCams API recently (https://api.tfl.gov.uk/Place/Type/JamCam) which has the locations of Cameras, a 9 second clip and a image. Both these links have a date modified property, however they don’t seem to actually mean anything.
Example:
JSON content for Romford Rd / Tennyson Rd as of 15/01/18 20:50
{
“$type”: “Tfl.Api.Presentation.Entities.Place, Tfl.Api.Presentation.Entities”,
“id”: “JamCams_00001.02151”,
“url”: “/Place/JamCams_00001.02151”,
“commonName”: “Romford Rd / Tennyson Rd”,
“placeType”: “JamCam”,
“additionalProperties”: [
{
“$type”: “Tfl.Api.Presentation.Entities.AdditionalProperties, Tfl.Api.Presentation.Entities”,
“category”: “payload”,
“key”: “available”,
“sourceSystemKey”: “JamCams”,
“value”: “true”,
“modified”: “2018-01-04T13:54:25.253Z”
},
{
“$type”: “Tfl.Api.Presentation.Entities.AdditionalProperties, Tfl.Api.Presentation.Entities”,
“category”: “payload”,
“key”: “imageUrl”,
“sourceSystemKey”: “JamCams”,
“value”: “https://s3-eu-west-1.amazonaws.com/jamcams.tfl.gov.uk/00001.02151.jpg”,
“modified”: “2018-01-04T13:54:25.253Z”
},
{
“$type”: “Tfl.Api.Presentation.Entities.AdditionalProperties, Tfl.Api.Presentation.Entities”,
“category”: “payload”,
“key”: “videoUrl”,
“sourceSystemKey”: “JamCams”,
“value”: “https://s3-eu-west-1.amazonaws.com/jamcams.tfl.gov.uk/00001.02151.mp4”,
“modified”: “2018-01-04T13:54:25.253Z”
},
{
“$type”: “Tfl.Api.Presentation.Entities.AdditionalProperties, Tfl.Api.Presentation.Entities”,
“category”: “cameraView”,
“key”: “view”,
“sourceSystemKey”: “JamCams”,
“value”: “defaultPresetName”,
“modified”: “2018-01-04T13:54:25.253Z”
}
],
“children”: ,
“childrenUrls”: ,
“lat”: 51.5421,
“lon”: 0.00524
}
Using Romford Rd as an example, the image and clip both seem to have the correct date and time, however the modified values (as in the JSON above) have dates of 04/01/18 at 13:54 and doesn’t seem to change from this value.
Is this is bug or do these modified dates actually mean anything?