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

Make juxtalinear burrito discoverable #381

Open
DanielC-N opened this issue Nov 3, 2023 · 3 comments
Open

Make juxtalinear burrito discoverable #381

DanielC-N opened this issue Nov 3, 2023 · 3 comments

Comments

@DanielC-N
Copy link

Feature Description

We made a burrito for juxtalinear : https://git.door43.org/Xenizo/fr_tjx

We would like to query it via the api. We want scribe to work with it. The way it may work for now is with the option "subject=Juxtalinear".
For e.g. we would have this query url : https://git.door43.org/api/v1/catalog/search?metadataType=rc&subject=Juxtalinear

We think that the changes should be made here : https://github.com/unfoldingWord/dcs/blob/e6abe7797e4031e4feaae0b8b26307e22457da8e/services/door43metadata/door43metadata.go#L351C42-L351C42

We need two cases under the case scripture.

  • for the current one : the flavor is textTranslation
  • for new one : our new flavor is x-juxtalinear

For our flavor, we want to handle json files only (not usfm).
The rest of the burrito structure is unchanged.

Any help welcome.

Screenshots

No response

@richmahn
Copy link
Member

richmahn commented Nov 3, 2023

@DanielC-N I believe your metadataType in the query would be sb, not rc.

@DanielC-N
Copy link
Author

Right.
I tried to query the api with this link : https://git.door43.org/api/v1/catalog/search?metadataType=sb
But it returns nothing.

On the other hand, accessing it from the interface works : https://git.door43.org/explore/repos?q=metadata_type:sb

Am I doing something wrong?

@richmahn
Copy link
Member

@DanielC-N It returns nothing because no one has released a scripture burrito. No work is done. If you add stage=latest then you'll see something.

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