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
- application/json
Body
required
- Array [
- ]
keys object[]required
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
- 200
- 400
- 401
- 403
- 404
OK
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...