You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/content-negotiation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Using the raw JSON or raw XML formats is discouraged, prefer using JSON-LD inste
9
9
10
10
API Platform also supports [JSON Merge Patch (RFC 7396)](https://tools.ietf.org/html/rfc7396) the JSON:API[`PATCH`](https://tools.ietf.org/html/rfc5789) formats, as well as [Problem Details (RFC 7807)](https://tools.ietf.org/html/rfc7807), Hydra and JSON:API error formats.
11
11
12
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/formats?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Formats screencast"><br>Watch the Formats screencast</a></p>
12
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/formats?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Formats screencast"><br>Watch the Formats screencast</a></p>
13
13
14
14
API Platform Core will automatically detect the best resolving format depending on:
Copy file name to clipboardExpand all lines: core/data-persisters.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ classes called **data persisters**. Data persisters receive an instance of the c
5
5
the `#[ApiResource]` attribute). This instance contains data submitted by the client during [the deserialization
6
6
process](serialization.md).
7
7
8
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-security/encode-user-password?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Data Persister screencast"><br>Watch the Data Persister screencast</a></p>
8
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-security/encode-user-password?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Data Persister screencast"><br>Watch the Data Persister screencast</a></p>
9
9
10
10
A data persister using [Doctrine ORM](https://www.doctrine-project.org/projects/orm.html) is included with the library and
11
11
is enabled by default. It is able to persist and delete objects that are also mapped as [Doctrine entities](https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/basic-mapping.html).
@@ -75,7 +75,7 @@ Note that if you don't need any `$context` in your data persister's methods, you
75
75
76
76
## Decorating the Built-In Data Persisters
77
77
78
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-extending/persister-decoration?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Data Persister Decoration screencast"><br>Watch the Data Persister Decoration screencast</a></p>
78
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-extending/persister-decoration?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Data Persister Decoration screencast"><br>Watch the Data Persister Decoration screencast</a></p>
79
79
80
80
If you want to execute custom business logic before or after persistence, this can be achieved by [decorating](https://symfony.com/doc/current/service_container/service_decoration.html) the built-in data persisters.
Copy file name to clipboardExpand all lines: core/extending-jsonld-context.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## JSON-LD
4
4
5
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/json-ld?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="JSON-LD screencast"><br>Watch the JSON-LD screencast</a></p>
5
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/json-ld?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="JSON-LD screencast"><br>Watch the JSON-LD screencast</a></p>
6
6
7
7
API Platform Core provides the possibility to extend the JSON-LD context of properties. This allows you to describe JSON-LD-typed
8
8
values, inverse properties using the `@reverse` keyword and you can even overwrite the `@id` property this way. Everything you define
@@ -66,7 +66,7 @@ Note that you do not have to provide the `@id` attribute. If you do not provide
66
66
67
67
## Hydra
68
68
69
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/hydra?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Hydra screencast"><br>Watch the Hydra screencast</a></p>
69
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/hydra?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Hydra screencast"><br>Watch the Hydra screencast</a></p>
70
70
71
71
It's also possible to replace the Hydra context used by the documentation generator:
Copy file name to clipboardExpand all lines: core/extending.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,4 +35,4 @@ For instance, if you want to send a mail after a resource has been persisted, bu
35
35
36
36
To replace existing API Platform services with your decorators, [check out how to decorate services](https://symfony.com/doc/current/service_container/service_decoration.html).
37
37
38
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-security/service-decoration?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Service Decoration screencast"><br>Watch the Service Decoration screencast</a></p>
38
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform-security/service-decoration?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Service Decoration screencast"><br>Watch the Service Decoration screencast</a></p>
Copy file name to clipboardExpand all lines: core/filters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, all filters are disabled. They must be enabled explicitly.
12
12
When a filter is enabled, it automatically appears in the [OpenAPI](swagger.md) and [GraphQL](graphql.md) documentations.
13
13
It is also automatically documented as a `hydra:search` property for JSON-LD responses.
14
14
15
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/filters?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Filtering and Searching screencast"><br>Watch the Filtering & Searching screencast</a></p>
15
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/filters?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Filtering and Searching screencast"><br>Watch the Filtering & Searching screencast</a></p>
Copy file name to clipboardExpand all lines: core/fosuser-bundle.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ instead of using this bundle.
9
9
API Platform Core is shipped with a bridge for [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle).
10
10
If the FOSUser bundle is enabled, this bridge will use its `UserManager` to create, update and delete user resources.
11
11
12
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/user-entity?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="User Entity screencast"><br>Watch the User Entity screencast</a></p>
12
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/user-entity?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="User Entity screencast"><br>Watch the User Entity screencast</a></p>
Copy file name to clipboardExpand all lines: core/getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ and what [JSON-LD](http://json-ld.org/) and [Hydra](http://www.hydra-cg.com/) fo
28
28
29
29
## Mapping the Entities
30
30
31
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/api-resource?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="Create an API Resource screencast"><br>Watch the Create an API Resource screencast</a></p>
31
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/api-resource?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="Create an API Resource screencast"><br>Watch the Create an API Resource screencast</a></p>
32
32
33
33
API Platform Core is able to automatically expose entities mapped as "API resources" through a REST API supporting CRUD
Copy file name to clipboardExpand all lines: core/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,6 @@ This bundle is extensively tested (unit and functional). The [`Fixtures/` direct
42
42
43
43
## Screencasts
44
44
45
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/tracks/rest?cid=apip#api-platform"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="SymfonyCasts, API Platform screencasts"></a></p>
45
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/tracks/rest?cid=apip#api-platform"><imgsrc="../distribution/images/symfonycasts-player.png"alt="SymfonyCasts, API Platform screencasts"></a></p>
46
46
47
47
The easiest and funniest way to learn how to use API Platform is to watch [the more than 60 screencasts available on SymfonyCasts](https://symfonycasts.com/tracks/rest?cid=apip#api-platform)!
Copy file name to clipboardExpand all lines: core/jwt.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The tokens are signed by the server's key, so the server is able to verify that
7
7
8
8
API Platform allows to easily add a JWT-based authentication to your API using [LexikJWTAuthenticationBundle](https://github.com/lexik/LexikJWTAuthenticationBundle).
9
9
10
-
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/symfony-rest4/json-web-token?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="JWT screencast"><br>Watch the LexikJWTAuthenticationBundle screencast</a></p>
10
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/symfony-rest4/json-web-token?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="JWT screencast"><br>Watch the LexikJWTAuthenticationBundle screencast</a></p>
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/open-api-spec?cid=apip"><imgsrc="/docs/distribution/images/symfonycasts-player.png"alt="OpenAPI screencast"><br>Watch the OpenAPI screencast</a></p>
7
+
<palign="center"class="symfonycasts"><ahref="https://symfonycasts.com/screencast/api-platform/open-api-spec?cid=apip"><imgsrc="../distribution/images/symfonycasts-player.png"alt="OpenAPI screencast"><br>Watch the OpenAPI screencast</a></p>
8
8
9
9
The specification of the API is available at the `/docs.json` path.
0 commit comments