Common > Translation


Index

GET : /api/designnest/v1/translations
HEADERS : {
    "dn-params" : "" ,
    "dn-authorization" : "" ,
}

Header > dn-params

key type
module_type int
module_id int
region_type int
region_ids array / int
language_id int

Header > dn-params > module type

module type explain
1 project

Header > dn-params > region type

module type region type explain
1 1 project
1 2 project feature

Header > dn-params > language id

language id explain
1 EN
2 CN
3 JP
4 KR
5 DE
6 FR
7 NL
8 ES
9 RU
10 AR
11 IT
12 TH

Response:

{
    "code"    : "code",
    "message" : "message",
    "data" : {
        "contents" : [
            {
                "field_type" : {
                    "module_id" : 0 ,
                    "region_id" : 0 ,
                    "content" : "" ,
                    "translation" : ""
                }
            } ,
            ....
        ] ,
        "info" : {
            "name" : "" , 
            "time" : ""
        }
    }
}

Response > data > field type

field type explain
1 title
2 sub title
3 content
4 description