|  | 
| 20 | 20 |     uriTemplate: '/content/objects/{contentId}', | 
| 21 | 21 |     openapi: new Model\Operation( | 
| 22 | 22 |         summary: 'Load content', | 
| 23 |  | -        description: 'Loads the content item for the given ID. Depending on the Accept header the current version is embedded (i.e. the current published version or if it does not exist, the draft of the authenticated user).', | 
|  | 23 | +        description: 'Loads the content item for the given ID. Depending on the Accept header the current version is embedded (i.e. the current published version or if it does not exist, the draft of the authenticated user). | 
|  | 24 | +* Content -	If set, all information for the content item including the embedded current version is returned in XML or JSON format. | 
|  | 25 | +* ContentInfo - If set, all information for the content item (excluding the current version) is returned in XML or JSON format.', | 
| 24 | 26 |         tags: [ | 
| 25 | 27 |             'Objects', | 
| 26 | 28 |         ], | 
| 27 | 29 |         parameters: [ | 
| 28 |  | -            new Model\Parameter( | 
| 29 |  | -                name: 'Accept', | 
| 30 |  | -                in: 'header', | 
| 31 |  | -                required: true, | 
| 32 |  | -                description: ' | 
| 33 |  | -* Content -	If set, all information for the content item including the embedded current version is returned in XML or JSON format. | 
| 34 |  | -* ContentInfo - If set, all information for the content item (excluding the current version) is returned in XML or JSON format. | 
| 35 |  | -                ', | 
| 36 |  | -                schema: [ | 
| 37 |  | -                    'type' => 'string', | 
| 38 |  | -                    'enum' => [ | 
| 39 |  | -                        'application/vnd.ibexa.api.Content+xml', | 
| 40 |  | -                        'application/vnd.ibexa.api.Content+json', | 
| 41 |  | -                        'application/vnd.ibexa.api.ContentInfo+xml', | 
| 42 |  | -                        'application/vnd.ibexa.api.ContentInfo+json', | 
| 43 |  | -                    ], | 
| 44 |  | -                ], | 
| 45 |  | -            ), | 
| 46 | 30 |             new Model\Parameter( | 
| 47 | 31 |                 name: 'If-None-Match', | 
| 48 | 32 |                 in: 'header', | 
|  | 
| 80 | 64 |                         'schema' => [ | 
| 81 | 65 |                             '$ref' => '#/components/schemas/ContentInfo', | 
| 82 | 66 |                         ], | 
|  | 67 | +                        'x-ibexa-example-file' => '@IbexaRestBundle/Resources/api_platform/examples/content/objects/content_id/PATCH/ContentInfo.xml.example', | 
| 83 | 68 |                     ], | 
| 84 | 69 |                     'application/vnd.ibexa.api.ContentInfo+json' => [ | 
| 85 | 70 |                         'schema' => [ | 
| 86 | 71 |                             '$ref' => '#/components/schemas/ContentInfoWrapper', | 
| 87 | 72 |                         ], | 
| 88 |  | -                        'x-ibexa-example-file' => '@IbexaRestBundle/Resources/api_platform/examples/content/objects/content_id/PATCH/ContentInfo.xml.example', | 
| 89 | 73 |                     ], | 
| 90 | 74 |                 ], | 
| 91 | 75 |             ], | 
|  | 
0 commit comments