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

Update crowdin api from v1 to v2 #1115

Closed
KazuCocoa opened this issue Sep 29, 2023 · 3 comments · Fixed by #1177
Closed

Update crowdin api from v1 to v2 #1115

KazuCocoa opened this issue Sep 29, 2023 · 3 comments · Fixed by #1177
Assignees
Labels
enhancement New feature or request

Comments

@KazuCocoa
Copy link
Member

Current Behavior

v1

Suggested Solution

move to v2

Additional Information

No response

@KazuCocoa
Copy link
Member Author

https://api.crowdin.com/api/v2/projects with proper request format: https://developer.crowdin.com/api/v2/#section/Introduction/Requests

Project id is 346705.

@KazuCocoa
Copy link
Member Author

KazuCocoa commented Nov 5, 2023

https://developer.crowdin.com/assets/api/api_v1_docs_crowdin.pdf is v1.

Upload the latest version of your source files (the ones, that should be localized) to your Crowdin project.

maybe this will be:

https://developer.crowdin.com/api/v2/#operation/api.projects.files.put

hm... it has storageId, but I am not sure what this means. We must learn the new API first, that could be more complicated than v1

I'll keep investigating the new API when I have time. The worst case is we could manually operate the same thing for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant