You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"query":"query { listDirectory(path: \"user1\") { repository { tree { blobs { edges { node { name type } } } trees { edges { node { name type } } } } } } }"
}
The query value is one graphql query string, since the value in json should be a single line.
Alternatively I thought of changing the request body like below so it's easier to identify where to change the path variable in the query.
{
"query": "query ($path: String!) { listDirectory(path: $path) { repository { tree { blobs { edges { node { name type } } } trees { edges { node { name type } } } } } } }",
"variables": {
"path": "user1"
}
}
The lib microservice uses graphql API. The graphql querires can be sent as HTTP post queries over the same API connection.
There are two graphql queries for lib microservice. The equivalent HTTP queries need to be documented.
Use Postman for checking HTTP queries.
The text was updated successfully, but these errors were encountered: