- Execute "Load Image Feed" command with above data.
- System retrieves feed data from cache.
- System validates cache is less than seven days old.
- System creates image feed from cached data.
- System delivers image feed.
- System delivers error.
- System delivers no feed images.
- System delivers no feed images.
- Execute "Validate Cache" command with above data.
- System retrieves feed data from cache.
- System validates cache is less than seven days old.
- System deletes cache.
- System deletes cache.
- Image Feed
- Execute "Save Image Feed" command with above data.
- System deletes old cache data.
- System encodes image feed.
- System timestamps the new cache.
- System saves new cache data.
- System delivers success message.
- System delivers error.
- System delivers error.
Property | Type |
---|---|
id |
UUID |
description |
String (optional) |
location |
String (optional) |
url |
URL |
GET *url* (TBD)
200 RESPONSE
{
"items": [
{
"id": "a UUID",
"description": "a description",
"location": "a location",
"image": "https://a-image.url",
},
{
"id": "another UUID",
"description": "another description",
"image": "https://another-image.url"
},
{
"id": "even another UUID",
"location": "even another location",
"image": "https://even-another-image.url"
},
{
"id": "yet another UUID",
"image": "https://yet-another-image.url"
}
...
]
}