1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {
- "openapi": "3.0.3",
- "info": {
- "title": "comments",
- "version": "0.0.1",
- "description": "Files app plugin to add comments to files",
- "license": {
- "name": "agpl"
- }
- },
- "components": {
- "securitySchemes": {
- "basic_auth": {
- "type": "http",
- "scheme": "basic"
- },
- "bearer_auth": {
- "type": "http",
- "scheme": "bearer"
- }
- },
- "schemas": {
- "Capabilities": {
- "type": "object",
- "required": [
- "files"
- ],
- "properties": {
- "files": {
- "type": "object",
- "required": [
- "comments"
- ],
- "properties": {
- "comments": {
- "type": "boolean"
- }
- }
- }
- }
- }
- }
- },
- "paths": {
- "/index.php/apps/comments/notifications/view/{id}": {
- "get": {
- "operationId": "notifications-view",
- "summary": "View a notification",
- "tags": [
- "notifications"
- ],
- "security": [
- {},
- {
- "bearer_auth": []
- },
- {
- "basic_auth": []
- }
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the notification",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "303": {
- "description": "Redirected to notification",
- "headers": {
- "Location": {
- "schema": {
- "type": "string"
- }
- }
- }
- },
- "404": {
- "description": "Notification not found",
- "content": {
- "text/html": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "tags": []
- }
|