-
Notifications
You must be signed in to change notification settings - Fork 6
API documentation #125
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
Comments
I guess you refer to the GIN Server, therefore the answer below is not client related: Currently, we do not offer a specialized api routes for public or registered repositories (i might add them at some point in time). You can, however, use the search api as follows: Doified repositories contain a special file called either If you need more let me know and I can put it on either my to-implement or to-consider heap ;-). |
Great! thank you @cgars , I will check all those out! |
btw, that cloudberry.yml -- what is the "origin" of that specification? there are some cloudberry projects I googled up but not sure if they relate anyhow |
@cgars @achilleas-k - is there an API end point for search? prior mentioned one is no longer there. Thanks in advance! |
FWIW there is https://github.com/gogs/docs-api which is probably what was used for the above /search endpoint which is no longer available. |
woohoo, attn @jwodder, I found some more recent email from @achilleas-k with seems more up to date info: https://gin.g-node.org/api/v1/repos/search?limit=50 See also https://github.com/gogs/docs-api/tree/master/Repositories#search-repositories |
Hi @yarikoptic, thanks for finding this. Didn't have a chance to catch up. The search you linked now will only match repository names, so I hope that's enough for now. The data search function doesn't have an API though. |
oh... our greedy interest is to find repos which would have |
filed gogs/gogs#6594 |
Is API N/A temporarily or "for good"?: ❯ curl https://web.gin.g-node.org/api/v1/repos/search/?limit=10
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<p>Additionally, a 503 Service Unavailable
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.4.38 (Debian) Server at web.gin.g-node.org Port 443</address>
</body></html> |
Hi @yarikoptic, please use https://gin.g-node.org/api/v1/repos/search/. "web.gin.g-node.org" urls are deprecated. |
Thank you @twachtler for the rapid response! (attn @candleindark to ^^^). |
I guess so. But please do it on the weekend ;) |
deal! cron job then could run on weekends - no problem! |
Would you be so kind to point me to some kind of API to the beast, so we could may be establish access to the "public" datasets available from https://web.gin.g-node.org via datalad, without coming up with some ad-hoc crawler ;)
Needed pieces would be to just
Thanks in advance!
The text was updated successfully, but these errors were encountered: