-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention the Metadata API #268
Comments
Yes, it's possible. It can just be a URL that returns JSON with all this metadata. |
Dare I ask... any idea on timeframe? :) |
We should also track metrics for the API (at minimum: datetime, requested path & query string, IP). We can set CORS headers as well (not sure if API will be used in such context, but can't hurt). |
From the PR:
|
Done in 5e9045c API is https://data.open-contracting.org/publications.json Download URLs are derivable from this metadata, e.g. I suppose we don't always have the Excel for a given year, but the URL will respond with 404, which seems like a reasonable error for clients to handle. The alternative is to list all downloads in this (or a new) endpoint. Sample: {
"id": 68,
"title": "OpenTender",
"country": "Lithuania",
"last_retrieved": "2024-10-30",
"retrieval_frequency": "HALF_YEARLY",
"update_frequency": "HALF_YEARLY",
"frozen": false,
"source_id": "lithuania_digiwhist",
"source_url": "https://opentender.eu/lt",
"region": "EU",
"language": "",
"date_from": "2006-01-01",
"date_to": "2024-01-26"
} |
Can we include all of the metadata in the registry in an API so that users can automate the process to check: last update, update frequency, last retrieved, available formats etc. to see what has changed with each of the OCDS datasets?
The text was updated successfully, but these errors were encountered: