inblockio / mediawiki-extensions-Aqua

This MediaWiki extension includes the Aqua implementation. Turning MediaWiki into a powerful versioned notary service with API's for import and export of Data in JSON format.
GNU General Public License v3.0
6 stars 6 forks source link

[New API Endpoint] get_recent_changes #383

Open FantasticoFox opened 1 month ago

FantasticoFox commented 1 month ago

/data_accounting/get_recent_changes?since={timestamp} all hashes which have been created or deleted since {timestamp}

image

FantasticoFox commented 1 month ago

To keep track of changes in the PKC the Guardian needs to know which revisions have been deleted.

This needs to be returned with the recent_changes

Deleted hashes =
{
 Hash_A, Hash_B
}
FantasticoFox commented 1 week ago

We require that deleted revisions are shown by the API. We require the funcitonality so we can see deletion events to update Guardian state. This can be provided by this API.

This could also be done by extending the query arguments with another Argument

hide_deletion = true / false When not providing any query arguments, it should not show deletion events when showing all pages (latests) without any query input.

it-spiderman commented 1 week ago

See https://github.com/inblockio/mediawiki-extensions-Aqua/pull/406