App\Entity\ExtTranslation
Resource class
Resource Metadata
Short name: "ExtTranslation"
| Item operations | Attributes |
|---|---|
| get | [ "security" => "is_granted('ROLE_USER')" "openapi_context" => [ "summary" => "Retrieves a ExtTranslation resource" "description" => "Get a specific translation by ID" ] "input" => null "output" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] ] |
| put | [ "security" => "is_granted('ROLE_ADMIN')" "openapi_context" => [ "summary" => "Replaces the ExtTranslation resource" "description" => "Update an existing translation entry" "requestBody" => [ "content" => [ "application/json" => [ "schema" => [ "type" => "object" "properties" => [ "locale" => [ "type" => "string" "description" => "Translation locale" "example" => "fr" "maxLength" => 8 ] "objectClass" => [ "type" => "string" "description" => "Fully qualified class name" "example" => "App\\Entity\\Product" "maxLength" => 255 ] "field" => [ "type" => "string" "description" => "Field name to translate" "example" => "name" "maxLength" => 32 ] "foreignKey" => [ "type" => "string" "description" => "Entity ID" "example" => "123" "maxLength" => 64 ] "content" => [ "type" => "string" "description" => "Translation content" "example" => "Nouveau nom du produit" "nullable" => true ] ] "required" => [ "locale" "objectClass" "field" "foreignKey" ] ] ] ] ] ] "input" => null "output" => null "method" => "PUT" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] ] |
| delete | [ "security" => "is_granted('ROLE_ADMIN')" "openapi_context" => [ "summary" => "Removes the ExtTranslation resource" "description" => "Delete a translation entry" ] "input" => null "output" => null "method" => "DELETE" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] ] |
| Collection operations | Attributes |
|---|---|
| get | [ "security" => "is_granted('ROLE_USER')" "openapi_context" => [ "summary" => "Retrieves the collection of ExtTranslation resources" "description" => "Get a paginated list of translations with optional filtering by locale, objectClass, field, and foreignKey" "parameters" => [ [ "name" => "locale" "in" => "query" "description" => "Filter by locale (e.g., 'de', 'fr', 'en')" "required" => false "schema" => [ "type" => "string" "example" => "fr" ] ] [ "name" => "objectClass" "in" => "query" "description" => "Filter by object class (fully qualified class name, URL-encoded)" "required" => false "schema" => [ "type" => "string" "example" => "App\\Entity\\Product" ] ] [ "name" => "field" "in" => "query" "description" => "Filter by field name" "required" => false "schema" => [ "type" => "string" "example" => "name" ] ] [ "name" => "foreignKey" "in" => "query" "description" => "Filter by foreign key (entity ID)" "required" => false "schema" => [ "type" => "string" "example" => "123" ] ] ] ] "input" => null "output" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] ] |
| post | [ "security" => "is_granted('ROLE_ADMIN')" "openapi_context" => [ "summary" => "Creates a ExtTranslation resource" "description" => "Create a new translation entry for an entity field" "requestBody" => [ "content" => [ "application/json" => [ "schema" => [ "type" => "object" "properties" => [ "locale" => [ "type" => "string" "description" => "Translation locale" "example" => "fr" "maxLength" => 8 ] "objectClass" => [ "type" => "string" "description" => "Fully qualified class name" "example" => "App\\Entity\\Product" "maxLength" => 255 ] "field" => [ "type" => "string" "description" => "Field name to translate" "example" => "name" "maxLength" => 32 ] "foreignKey" => [ "type" => "string" "description" => "Entity ID" "example" => "123" "maxLength" => 64 ] "content" => [ "type" => "string" "description" => "Translation content" "example" => "Nom du produit en français" "nullable" => true ] ] "required" => [ "locale" "objectClass" "field" "foreignKey" ] ] ] ] ] ] "input" => null "output" => null "method" => "POST" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xml" => [ "application/xml" ] ] ] |
| Filters | |
|---|---|
annotated_app_entity_ext_translation_app_filter_ext_translation_filter
"App\Filter\ExtTranslationFilter"
|
| Attributes | |
|---|---|
| pagination_enabled | true |
| pagination_items_per_page | 30 |
| pagination_client_enabled | true |
| pagination_client_items_per_page | true |
| openapi_context | [ "tags" => [ "Translation Management" ] ] |
| normalization_context | [ "xml_format_output" => true ] |
| input | null |
| output | null |
Data Providers
No calls to collection data provider have been recorded.
No calls to item data provider have been recorded.
No calls to subresource data provider have been recorded.
Data Persisters
No calls to data persister have been recorded.