Comments (1)
This is still an issue, but there are a few things that make it not a huge issue:
-
Smart api uptime checks don't really check the content of responses, only a http response status code 200. This means default examples don't necessarily need to match a specific plater, as long as they work and return a valid 200 response, even if it's an empty result.
-
Smart api uptime checks are skipped if there are required parameters for an endpoint but no example parameters are provided. This is currently how a couple of these endpoints are set up.
-
Plater previously split some endpoints into two separate openapi specs (one for TRAPI and one for the rest) and we only exposed one of them to the smart api. This was undone recently but is still an option.
All that being said, since this issue was written, we implemented functionality that automatically uses an example edge from the test data file provided to generate the example query for the /query endpoint. Something like that could be done for the rest of the endpoints as well, and might be nice to have working examples for everything.
from plater.
Related Issues (20)
- Reevaluate Plater API HOT 1
- Consider using Pydantic settings in place of custom `config`
- Modify Docker Deployment for FastAPI integration HOT 1
- Increase test coverage HOT 1
- Define and implement deductive inference rules
- /predicates not quite right HOT 2
- Gracefully handle Broken edge from Client HOT 2
- Expose operations in x-trapi
- Returning 500 Error During Requests For Automat KP's HOT 2
- Document use of about.json HOT 2
- PLATER graph schema generation cypher HOT 1
- Improve EPC attributes HOT 1
- subpredicate query failing HOT 1
- Docker file update HOT 1
- Inefficient TRAPI
- ICEES KG endpoint example queries not compatible with ICEES HOT 7
- Logging Query timing and metrics HOT 1
- Incorrect qualifier TRAPI
- CAM Provider KG - new URL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plater.