CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

API spec not found or internal server error #369

Open rlzijdeman opened 2 years ago

rlzijdeman commented 2 years ago

Hi, sorry to ask, but I'm doing something wrong and unsure of what.

My query is executable here: https://api.druid.datalegend.net/s/pq0GcPt6j My endpoint is here: https://api.druid.datalegend.net/datasets/AdamNet/all/services/endpoint/sparql My GitHub repo with subdir is here: https://github.com/rlzijdeman/hackalod/tree/master/sparql-queries My call in the browser is this: http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/ But that gives me "No Api definition defined".

When I force the query to be executed in the browser with: http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/adamlink-map-me.sparql I get a 500 internal server error message.

What obvious thing am I missing?

RubenSchalk commented 2 years ago

Hi Richard, perhaps change .sparql in the repo to .rq? Then it works at my repo at least :)

http://grlc.io/api/RubenSchalk/grlc-test#/default/get_zijdeman

and request url: http://grlc.io/api-git/RubenSchalk/grlc-test/zijdeman