| @@ -98,8 +98,9 @@ | |||||
| - https://api-platform.com/docs/distribution/ | - https://api-platform.com/docs/distribution/ | ||||
| - https://api-platform.com/docs/core/extending/ | - https://api-platform.com/docs/core/extending/ | ||||
| Ausführen, um openApi.yaml und openApi.json zu generieren: | |||||
| - php export/exportApi.php | |||||
| Ausführen, um openApi.yaml und openApi.json zu generieren: | |||||
| - cd export | |||||
| - php exportApi.php | |||||
| openApi.yaml und openApi.json in Frontend-Projekt (root) kopieren | openApi.yaml und openApi.json in Frontend-Projekt (root) kopieren | ||||
| # Lexik JWT | # Lexik JWT | ||||
| @@ -652,6 +652,31 @@ paths: | |||||
| explode: false | explode: false | ||||
| allowReserved: false | allowReserved: false | ||||
| deprecated: false | deprecated: false | ||||
| delete: | |||||
| operationId: api_medias_id_delete | |||||
| tags: | |||||
| - Media | |||||
| responses: | |||||
| 204: | |||||
| description: 'Media resource deleted' | |||||
| 404: | |||||
| description: 'Resource not found' | |||||
| summary: 'Removes the Media resource.' | |||||
| description: 'Removes the Media resource.' | |||||
| parameters: | |||||
| - | |||||
| name: id | |||||
| in: path | |||||
| description: 'MediaObject identifier' | |||||
| required: true | |||||
| deprecated: false | |||||
| allowEmptyValue: false | |||||
| schema: | |||||
| type: string | |||||
| style: simple | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| parameters: [] | parameters: [] | ||||
| /api/partners: | /api/partners: | ||||
| get: | get: | ||||