Skip to content

Create API to extract information from uploaded file (terminology matches, other data) #4534

Description

@flodolo

We can leverage the approach we're using to upload translated files for api/v2/upload, parse them and extract terminology matches in the backend.

Entrypoint: api/v2/terminology/extract-from-file. Requires PAT to avoid abuse, but can probably use a higher threshold than upload (e.g. doesn't require recalculating stats, it's just reading data).

Accept a locale and uploadfile parameters. Returns a list of matching terms similar to the other api.

Based on Slack conversation, it might make sense to implement this as part of a larger API that provides information on the file, e.g. warnings/errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIP3Default, possibly shipping in the following two quartersdays

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions