-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: update translation key create/update with custom metadata. Add CM schema in translation key response #480
Merged
ildarsafin
merged 4 commits into
TSS-1890-rest-api-index
from
TSS-2504-update-api-docs-for-translation-key-custom-metadata
Dec 12, 2023
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
malvarezphrase
approved these changes
Dec 11, 2023
jablan
requested changes
Dec 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs for update should be clarified IMO
@forelabs we can merge this pr even today if possible since its going to be merged to TSS-1890-rest-api-index branch |
Will have a look in a second |
forelabs
approved these changes
Dec 12, 2023
jablan
approved these changes
Dec 12, 2023
ildarsafin
added a commit
that referenced
this pull request
Dec 13, 2023
* register Custom Metadata Labels to main yml * add custom metadata schema * add custom metadata index path * add enum for data_type * specify 2.9 cli version * generalize custom metadata tag * correct path for index route * update path * update compiled json * align Custom Metadata tag usage * add project ids param to labels index * add sort and order to metadata label index * update url params example * make summary and description more clear and concise * add endpoint availability notice * remove account ref from schema * add projects to custom metadata label schema * update label -> property * rename CM paths folder * fix parameter definitions * feat(api): Add show API endpoint for custom_metadata_labels (#359) * add paths for custom metadata show * make summary and description more clear and concise * fix path with namespace * change from label to property for consistency * remove unused branch param --------- Co-authored-by: Matias Alvarez <matias.alvarez@phrase.com> * feat: add CM api update (#475) * add name and description * add create api doc for CM properties (#476) * feat: add delete CM property doc (#477) * add delete api doc for CM properties * rename data type to custom metadata data type * nest create under collection * update routes to use properties instead of labels * fix project_id example * update path CM route naming * feat: update translation key create/update with custom metadata. Add CM schema in translation key response (#480) * add CM to create/update keys * Add custom metadata object on CM get key * Add more description for update --------- Co-authored-by: Ildar Safin <knock@ildarsafin.tech> * Make create CM example to be working with CURL * Make the data_type field to be not required * extract custom metadata data type schema --------- Co-authored-by: Matias Alvarez <matias.alvarez@phrase.com> Co-authored-by: Ildar Safin <knock@ildarsafin.tech> Co-authored-by: Mladen Jablanovic <mladen.jablanovic@phrase.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
update translation key create/update with custom metadata. Also. add CM in translation key schema response
response CM in translation key
![Screenshot 2023-12-12 at 14 20 33](https://private-user-images.githubusercontent.com/1410408/289872394-15edc216-8424-4301-88fd-ec0c63bacd50.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5NjY4MjgsIm5iZiI6MTczOTk2NjUyOCwicGF0aCI6Ii8xNDEwNDA4LzI4OTg3MjM5NC0xNWVkYzIxNi04NDI0LTQzMDEtODhmZC1lYzBjNjNiYWNkNTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTlUMTIwMjA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzM4MTEwMjlhMDNkNGRmMmI5ZDM1MjQyOTZkMzFiZWFlNGYzM2JhYWU2NGIwMTExMWI2NjI4YTBkOWE1NDlmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Pu1St_Gm1wuJFnsa4RQauihApV1cdAvex-gh1pIBsAg)
Update/Create CM on translation key
Screen.Recording.2023-12-07.at.10.34.10.mov
Ticket
https://phrase.atlassian.net/browse/TSS-2504