Skip to content

updatedAt filter over list servers endpoint #291

@domdomegg

Description

@domdomegg

From #50 (comment)

@domdomegg:

Thinking about this (and the data replication model in general), maybe it would be useful to have an endpoint like:

/v0/servers?changedSince=2025-08-07T13:15:04.280Z (or maybe just takes unix timestamp in seconds or something)

That would basically just do a filter over updatedAt. Then package registries would only fetch what they need to update.

And malicious packages would be kept in the registry, but marked as 'malicious/archived' or something (maybe also important to make sure they don't get resubmitted!).

@.tadasant:

This makes sense to me!

And malicious packages would be kept in the registry, but marked as 'malicious/archived' or something (maybe also important to make sure they don't get resubmitted!).

I think it'd be reasonable to set their status as such and basically exclude them from results unless some filter to explicitly include their status is invoked.

Related: #135

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions