Skip to content

Harvesting API requires assignment of resource type to record #786

@edwardanderson

Description

@edwardanderson

I'm following the recommendations for implementing Harvesting by exposing record change events as a IIIF Change Discovery endpoint for Activity Streams records.

The extension requires/recommends the provision of a Linked Art resource type to qualify the object of the data change event:

{
  "type": "Update",
  "object": {
    "id": "https://example.org/api/object/1",
    "type": "HumanMadeObject"
  }
}

... only I think this conflates the type of the thing being updated, the record (api/object/1), with the thing that the record is about, which in this example is a HumanMadeObject (presumably http://example.org/object/1 or wherever api/object/1 redirects to). I'm reluctant to point the data change event to the described resource directly because it hasn't changed, just the data about it has.

I think I have two choices:

  • point the data change event at the record and apply a Linked Art type to it anyway
  • point the data change event at the described resource (which hasn't changed)

Or some other way?

Edit: just don't provide a type for the object at all?

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