Skip to content

docs(jsonld): document the potentialAction operation option - #2378

Merged
soyuka merged 1 commit into
api-platform:mainfrom
soyuka:feat/jsonld-potential-action
Nov 27, 2026
Merged

soyuka merged 1 commit into
api-platform:mainfrom
soyuka:feat/jsonld-potential-action

Conversation

@soyuka

@soyuka soyuka commented Nov 27, 2026

Copy link
Copy Markdown
Member

Documents the potentialAction operation option from api-platform/core#8877 (5.1).

Added to core/extending-jsonld-context.md:

  • option values (true, string, array) with PHP, YAML and XML examples
  • item and collection JSON-LD output with the EntryPoint target
  • -input annotation rules (nested under result/object, flat for DTOs, none for PATCH/DELETE/input: false)
  • where actions appear, depending on URI variables
  • security evaluation with object set to the item, and the resulting cache/Vary implications
  • discriminator map fan-out, which requires schema.org action types
  • the potentialAction term added to the resource context

@soyuka
soyuka merged commit 23a12e7 into api-platform:main Nov 27, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant