-
Notifications
You must be signed in to change notification settings - Fork 2
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
datalad-registry-search CLI/API function #316
Comments
@yarikoptic We have pagination enabled in the API. How do you want to handle the situation in which the search result contains a large number of URLs? Do you want the CLI just spit out all to them at once or in pages? |
spit out as soon as page received, go to next page - spit out and so on. |
@yarikoptic I assume that you want a the output to the terminal to be a list of datasets as JSON representation similar to our web API, e.g. [
{
"url": "https://github.com/OpenNeuroDatasets-JSONLD/ds001297.git",
"id": 31126,
"ds_id": "2e429bfe-8862-11e8-98ed-0242ac120010",
"head_describe": "00001-4-g2c4c2f7",
"annex_key_count": 0,
"annexed_files_in_wt_count": 495,
"annexed_files_in_wt_size": 10593648758,
"last_update_dt": "2024-01-16T17:47:49.227045+00:00",
"git_objects_kb": 1045,
"processed": true,
"last_chk_dt": "2024-03-20T09:56:22.797062+00:00"
},
{
"url": "https://github.com/OpenNeuroDatasets-JSONLD/ds000233.git",
"id": 30727,
"ds_id": "aa38f5a2-89f6-11e8-abf3-0242ac120004",
"head_describe": "1.0.1-4-g3a10cc7",
"annex_key_count": 0,
"annexed_files_in_wt_count": 362,
"annexed_files_in_wt_size": 5090155130,
"last_update_dt": "2024-01-16T17:41:23.926921+00:00",
"git_objects_kb": 922,
"processed": true,
"last_chk_dt": "2024-03-20T09:25:21.326719+00:00"
}
] I can |
yes, I believe it is |
pending
and likely could be done in tandem with that.
Attn @fangq .
The text was updated successfully, but these errors were encountered: