openapi_altro.yaml 1007 B

123456789101112131415161718192021222324252627282930313233343536
  1. openapi: 3.0.0
  2. info:
  3. title: Dariah Virtuoso Prototype
  4. version: 1.0.0
  5. description: GET endpoint to retrieve Dariah.it-owned semantic data via SPARQL queries
  6. servers:
  7. - url: http://dev.restore.ovi.cnr.it:8890
  8. paths:
  9. /sparql:
  10. get:
  11. summary: Execute a SPARQL query
  12. description: |
  13. This endpoint allows you to execute SPARQL queries against the API.
  14. *Note:* Make sure to include the necessary query parameters in the request URL.
  15. parameters:
  16. - name: query
  17. in: query
  18. description: The SPARQL query to execute
  19. required: true
  20. schema:
  21. type: string
  22. responses:
  23. '200':
  24. description: Successful operation
  25. content:
  26. application/json:
  27. schema:
  28. type: object
  29. example:
  30. result: "Query result goes here"
  31. '400':
  32. description: Invalid request
  33. '500':
  34. description: Internal server error