Skip to content

Pagination for temporal instances does not allow retrieving more than 100 instances with the same timestamp #178

@gregorylevilain

Description

@gregorylevilain

Tested with Mintaka 0.5.40 and 0.6.0

1/ Post 200 instances of a temporal entity at once.
The modifiedAt value is defined by Orion-LD. Let's say that we have modifiedAt=2024-01-25T14:46:47.158Z for all 200 instances.

2/ Use a temporal query to retrive the instances :
/temporal/entities?id=urn:MyEntity&timeproperty=modifiedAt&timerel=after&timeAt=2024-01-25T14:46:47.157Z

Result: 100 instances are returned, with the following header:
content-range: date-time 2024-01-25T14:46:47.157-2024-01-25T14:46:47.158/*

Issue: there is no way to retrieve the next 100 instances.

  • Using timeAt=2024-01-25T14:46:47.157Z again will return the same page again
  • Using timeAt=2024-01-25T14:46:47.158Z will return nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions