Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of Conversion Properties #88

Open
raffazizzi opened this issue Jun 25, 2024 · 3 comments
Open

Documentation of Conversion Properties #88

raffazizzi opened this issue Jun 25, 2024 · 3 comments
Assignees

Comments

@raffazizzi
Copy link

I was looking for documentation about the conversion properties that can be sent to the /Conversions endpoint, but I can't find them. The API explorer at https://teigarage.tei-c.org/ege-webservice doesn't seem to cover them. Would it be possible to document them in full somewhere?

@anneferger anneferger self-assigned this Jun 26, 2024
@anneferger
Copy link
Contributor

Yes I'll add that, thanks!

@anneferger
Copy link
Contributor

anneferger commented Jul 15, 2024

So currently the possible parameters for each conversion can be accessed via an GET request to the API, like URL for conversion
https://teigarage.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/
which shows the possible parameters and values like

<conversion id="I:Documents:Compiled TEI ODD:ODDC,text/xml/O:Documents:ODD documentation as TEI Lite:TEI,text/xml(TEI Converter)" index="1">
<property id="oxgarage.getImages">
<value>true,false</value>
<type>pathBoolean</type>
<property-name>Copy and rename all provided images</property-name>
</property>
<property id="oxgarage.getOnlineImages">
<value>true,false</value>
<type>pathBoolean</type>
<property-name>Download images located on the internet</property-name>
</property>
<property id="oxgarage.lang">
<value>en,de,es,fr,it,kr,ja,zh-tw</value>
<type>array</type>
<property-name>Language</property-name>
</property>
<property id="oxgarage.textOnly">
<value>true,false</value>
<type>pathBoolean</type>
<property-name>
Convert text only, don't include any images from the document
</property-name>
</property>
<property id="pl.psnc.dl.ege.tei.profileNames">
<value>default</value>
<type>array</type>
<property-name>Select conversion profile: </property-name>
</property>
</conversion>

but I'd like to first go over them if they are still up-to-date and then add them to the Swagger Documentation as this seems more convenient, right?

@raffazizzi
Copy link
Author

That's very helpful, thanks @anneferger! Yes I still think it would be valuable to add them to the Swagger Documentation.

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

No branches or pull requests

2 participants