1000 search results

The await Keyword

…It's not very important in this case, but I'm actually going to use this @id instead. This is called an "IRI" - it's a unique key that API Platform adds to every resource. It's... just more useful than a database ID or…

7:34
Prime Time with Messenger: Queues, Workers & more Fun! (Ryan Weaver)

API Platform integration. That's not really new, but that's just once you get used to messenger, like there's a really good way to make, not really a custom operation, but let's say a custom operation on API Platform where when you…

44:36
Testing, Updating Roles & Refreshing Data

…operation, the normalization groups are determined on an operation-by-operation basis. In the case of a User, API Platform is using user:read for normalization and user:write for denormalization. In CheeseListing, we're customizing it even deeper: when you get a single CheeseListing…

9:22
One year diversity initiative

…time. So that's, that's great. Um, so I mentioned the scholarship program already. We also, or API Platform, sponsored Rails Girls Summer of Code. Um, they also offered to mentor. Uh, in the end, unfortunately they weren't picked as a mentor. But…

37:11
Detecting the "Published" State Change

…already been published... and the user was just changing the description or something. We simply don't have enough information. What we really need is access to the original data: the way it looked before it was changed by ApiPlatform. If we had that original…

9:08
18 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 7
swagger:
api_keys:
access_token:
name: Authorization
type: header
// ... lines 13 - 18
See Code Block in Script
18 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 7
swagger:
api_keys:
access_token:
name: Authorization
type: header
// ... lines 13 - 18
See Code Block in Script
19 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 7
swagger:
api_keys:
# overridden in OpenApiFactoryDecorator
access_token:
// ... lines 12 - 19
See Code Block in Script
9 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 7
enable_docs: false
See Code Block in Script
10 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 8
enable_entrypoint: false
See Code Block in Script
11 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 9
enable_swagger: false
See Code Block in Script
12 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 10
enable_swagger_ui: false
See Code Block in Script
11 lines | config/packages/api_platform.yaml
api_platform:
formats:
jsonld: [ 'application/ld+json' ]
json: [ 'application/json' ]
jsonhal: [ 'application/hal+json' ]
// ... lines 7 - 10
See Code Block in Script
api_platform:
formats:
jsonld: [ 'application/ld+json' ]
json: [ 'application/json' ]
html: [ 'text/html' ]
jsonhal: [ 'application/hal+json' ]
# enable_docs: false
# enable_entrypoint: false
# enable_swagger: false
# enable_swagger_ui: false
See Code Block in Script
api_platform:
formats:
jsonld: [ 'application/ld+json' ]
json: [ 'application/json' ]
html: [ 'text/html' ]
See Code Block in Script
7 lines | config/packages/api_platform.yaml
api_platform:
formats:
// ... lines 3 - 5
jsonhal: [ 'application/hal+json' ]
See Code Block in Script
23 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 8
formats:
// ... lines 10 - 13
# json:
# mime_types:
# - application/json
// ... lines 17 - 23
See Code Block in Script
23 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 8
formats:
jsonld:
mime_types:
- application/ld+json
- application/json
// ... lines 14 - 23
See Code Block in Script
22 lines | config/packages/api_platform.yaml
api_platform:
// ... lines 2 - 8
formats:
jsonld:
mime_types:
- application/ld+json
json:
mime_types:
- application/json
// ... lines 16 - 22
See Code Block in Script