read_po
Retrieve every entry from a specified Gettext PO file, returning all translation metadata and content for localization inspection and processing.
Instructions
Return every entry from the requested PO file.
Responses:
200 (Success): Successful Response
Content-Type:
application/jsonResponse Properties:
entries: List of entries parsed from the PO file.
Example:
{
"entries": [
"unknown_type"
]
}422: Validation Error
Content-Type:
application/jsonResponse Properties:
Example:
{
"detail": [
"unknown_type"
]
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .po file to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | List of entries parsed from the PO file. |