Skip to content
Snippets Groups Projects
Unverified Commit cc7f7b1e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3051908 by Roensby, gabesullice: Documentation in json.api.php...

Issue #3051908 by Roensby, gabesullice: Documentation in json.api.php describes wrong query parameter
parent c7bfe49a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
* version-identifier * version-identifier
* __|__ * __|__
* / \ * / \
* ?resource_version=foo:bar * ?resourceVersion=foo:bar
* \_/ \_/ * \_/ \_/
* | | * | |
* version-negotiator | * version-negotiator |
...@@ -105,14 +105,14 @@ ...@@ -105,14 +105,14 @@
* that has a "Published" revision and a subsequent "Draft" revision. * that has a "Published" revision and a subsequent "Draft" revision.
* *
* Using JSON:API, one could request the "Published" node by requesting * Using JSON:API, one could request the "Published" node by requesting
* `/jsonapi/node/page/{{uuid}}?resource_version=rel:latest-version`. * `/jsonapi/node/page/{{uuid}}?resourceVersion=rel:latest-version`.
* *
* To preview an entity that is still a work-in-progress (i.e. the "Draft" * To preview an entity that is still a work-in-progress (i.e. the "Draft"
* revision) one could request * revision) one could request
* `/jsonapi/node/page/{{uuid}}?resource_version=rel:working-copy`. * `/jsonapi/node/page/{{uuid}}?resourceVersion=rel:working-copy`.
* *
* To request a specific revision ID, one can request * To request a specific revision ID, one can request
* `/jsonapi/node/page/{{uuid}}?resource_version=id:{{revision_id}}`. * `/jsonapi/node/page/{{uuid}}?resourceVersion=id:{{revision_id}}`.
* *
* It is not yet possible to request a collection of revisions. This is still * It is not yet possible to request a collection of revisions. This is still
* under development in issue [#3009588]. * under development in issue [#3009588].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment