Skip to main content

Import keys

POST 

/v2/projects/:projectId/keys/import

Imports new keys with translations. If key already exists, its translations and tags are not updated.

Request

Path Parameters

    projectId int64required

Body

required
    keys object[]required
  • Array [
  • name stringrequired

    Key name to set translations for

    namespace string

    The namespace of the key. (When empty or null default namespace will be used)

    description string

    Description of key

    translations objectrequired

    Object mapping language tag to translation

    property name* string

    Object mapping language tag to translation

    tags string[]

    Tags of the key

  • ]

Responses

OK

Loading...