Closed kulla closed 3 years ago
@kulla
I am currently trying this out and have stumbled across an error:
Am I doing something wrong here? The article is supposed to have 3 unrevised revisions.
Edit: Adding (unrevised:true)
leads to the same error message.
Am I doing something wrong here? The article is supposed to have 3 unrevised revisions.
Have you tested it at https://api.serlo-staging.dev/___graphql? There I do not get an error:
Thanks for checking, it now works!
@kulla
revisions
is working for 1781 now, but I got an exception again on another article. I have added a revision to de.serlo-staging.dev/1619 just now, and requesting the API is giving a map of undefined...
exception. :roll_eyes:
In addition, I have this error (is this related?):
revisions
is working for 1781 now, but I got an exception again on another article. I have added a revision to de.serlo-staging.dev/1619 just now, and requesting the API is giving amap of undefined...
exception. roll_eyes
I need to investigate it... See https://github.com/serlo/api.serlo.org/issues/119 for tracking it.
In addition, I have this error (is this related?):
After two hours you need to reload the playground because afterwards the login token expires...
Follow up when https://github.com/serlo/api.serlo.org/pull/87 is merged: The number of unrevised revisions can be shown for all types implementing
AbstractRepository
(type ofAbstractEntity
likeArticle
,Video
, ... andPage
):The api query will be: