1
0

openapi-administration.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "settings-administration",
  5. "version": "0.0.1",
  6. "description": "Nextcloud settings",
  7. "license": {
  8. "name": "agpl"
  9. }
  10. },
  11. "components": {
  12. "securitySchemes": {
  13. "basic_auth": {
  14. "type": "http",
  15. "scheme": "basic"
  16. },
  17. "bearer_auth": {
  18. "type": "http",
  19. "scheme": "bearer"
  20. }
  21. },
  22. "schemas": {}
  23. },
  24. "paths": {
  25. "/index.php/settings/admin/log/download": {
  26. "get": {
  27. "operationId": "log_settings-download",
  28. "summary": "download logfile",
  29. "description": "This endpoint requires admin access",
  30. "tags": [
  31. "log_settings"
  32. ],
  33. "security": [
  34. {
  35. "bearer_auth": []
  36. },
  37. {
  38. "basic_auth": []
  39. }
  40. ],
  41. "responses": {
  42. "200": {
  43. "description": "Logfile returned",
  44. "headers": {
  45. "Content-Disposition": {
  46. "schema": {
  47. "type": "string"
  48. }
  49. }
  50. },
  51. "content": {
  52. "application/octet-stream": {
  53. "schema": {
  54. "type": "string",
  55. "format": "binary"
  56. }
  57. }
  58. }
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "tags": []
  65. }