Skip to content

Safely combine updates from the Opportunity API and RPDE Feeds #10

@nickevansuk

Description

@nickevansuk

Proposer

ODI

Use Case

In order to safely combine updates from the Opportunity API and Open Data Feeds, a common sense of "modified" timestamp is required.

For example:

  • A call to the Opportunity API of /events/123 shows "remainingAttendeeCapacity": 1:
  • The last item for /events/123 received from open data feed is "remainingAttendeeCapacity": 0

How do we reconcile which is the most recent between these in order to update a broker's search index or item cache?

Proposal

Option 1

Option 2

Option 3

  • All JSON-LD data returned from the Opportunity API and RPDE feeds includes a "modified" property (added to Thing), which can be used to compare any object in the object graph. This works separately and in parallel with the RPDE id/modified mechanism.

Option 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions