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

Project template new params #3588

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open

Conversation

mauretto78
Copy link
Contributor

@mauretto78 mauretto78 commented Sep 19, 2024

ASANA
https://app.asana.com/0/1134617950425092/1208135944820387
https://app.asana.com/0/1134617950425092/1208135944820383

NEW TEMPLATE PROJECT PROPERTIES

The three new template project properties are summarized in the table here:

parameter name type required default value validation saved in/as
subject string no null project subject
source_language string no null is a valid language job source language
target_language array no [] is an array of valid languages job target language(s)

USER METADATA

To save or update a user metadata call this new endpoint:

PUT /api/v2/user/metadata

With the following JSON payload:

{
     "key": "your-key",
     "value": "the-value"
}

A response like this will be returned:

{
     "id": 12,
     "uid": 134,
     "key": "your-key",
     "value": "the-value"
}

If the key already exists, the metadata will be updated.

@piedicianni piedicianni mentioned this pull request Sep 25, 2024
@piedicianni
Copy link
Contributor

FE dependency: #3573

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

Successfully merging this pull request may close these issues.

2 participants