Skip to content
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

Documentation outdated #16

Open
snomos opened this issue May 14, 2024 · 0 comments
Open

Documentation outdated #16

snomos opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@snomos
Copy link
Member

snomos commented May 14, 2024

The GraphQL part is outdated: https://divvun.github.io/divvun-api/#_graphql

Running the code returns an error:

curl -X POST -H 'Content-Type: application/json' -i 'https://api-giellalt.uit.no/graphql' --data  '{ "query": "query { suggestions(text: \"pákhat\", language: \"se\") { speller { isCorrect }, grammar { errs { startIndex endIndex errorCode description suggestions title } } } }" }'
HTTP/2 200 
content-type: application/json
date: Tue, 14 May 2024 08:09:23 GMT
server: Caddy
content-length: 111

{"errors":[{"message":"Unknown field \"isCorrect\" on type \"Speller\"","locations":[{"line":1,"column":65}]}]}%                                             
@snomos snomos added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant