GET api/v1/Article?heading={heading}&dict={dict}&srcLang={srcLang}&dstLang={dstLang}

Exact article from specified Lingvo dictionary.
Requires Authorization HTTP-header with auth token: "Authorization: Bearer {token}".
See /api/v1/authenticate method description for details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
heading

Article heading

string

Required

dict

Dictionary name

string

Required

srcLang

Source language

unsigned integer

Required

dstLang

Target language

unsigned integer

Required

Body Parameters

None.

Request Formats

text/json, application/json

Sample:
?heading=pin&dict=Electronics%20(En-Ru)&srcLang=1033&dstLang=1049

Response Information

Resource Description

Status: result
200: Lingvo article
404: dictionaries not found for specified direction
404: specified dictionary is not found
404: specified article is not found

ArticleModel
NameDescriptionTypeAdditional information
Title

Article title.

string

None.

TitleMarkup

Title markup. Can be used, e.g., for accents.

Collection of ArticleNode

None.

Dictionary

Dicionary containing the article.

string

None.

ArticleId

Article identity.

string

None.

Body

Article body.

Collection of ArticleNode

None.

Response Formats

text/json, application/json

Sample:
{
  "Title": "pin",
  "TitleMarkup": [
    {
      "IsItalics": false,
      "IsAccent": false,
      "Node": "Text",
      "Text": "pin",
      "IsOptional": false
    }
  ],
  "Dictionary": "Electronics (En-Ru)",
  "ArticleId": "Electronics (En-Ru)__pin",
  "Body": [
    {
      "Type": 3,
      "Items": [
        {
          "Markup": [
            {
              "Markup": [
                {
                  "IsItalics": false,
                  "IsAccent": false,
                  "Node": "Text",
                  "Text": "штырь, штырёк ",
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "IsItalics": false,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": "(",
                      "IsOptional": false
                    },
                    {
                      "IsItalics": true,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": "напр. электрического соединителя",
                      "IsOptional": false
                    },
                    {
                      "IsItalics": false,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": ")",
                      "IsOptional": false
                    }
                  ],
                  "Node": "Comment",
                  "Text": null,
                  "IsOptional": false
                }
              ],
              "Node": "Paragraph",
              "Text": null,
              "IsOptional": false
            }
          ],
          "Node": "ListItem",
          "Text": null,
          "IsOptional": false
        },
        {
          "Markup": [
            {
              "Markup": [
                {
                  "IsItalics": false,
                  "IsAccent": false,
                  "Node": "Text",
                  "Text": "болт; винт",
                  "IsOptional": false
                }
              ],
              "Node": "Paragraph",
              "Text": null,
              "IsOptional": false
            }
          ],
          "Node": "ListItem",
          "Text": null,
          "IsOptional": false
        },
        {
          "Markup": [
            {
              "Markup": [
                {
                  "IsItalics": false,
                  "IsAccent": false,
                  "Node": "Text",
                  "Text": "шпонка; шплинт; штифт; палец",
                  "IsOptional": false
                }
              ],
              "Node": "Paragraph",
              "Text": null,
              "IsOptional": false
            }
          ],
          "Node": "ListItem",
          "Text": null,
          "IsOptional": false
        },
        {
          "Markup": [
            {
              "Markup": [
                {
                  "IsItalics": false,
                  "IsAccent": false,
                  "Node": "Text",
                  "Text": "игла ",
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "IsItalics": false,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": "(",
                      "IsOptional": false
                    },
                    {
                      "IsItalics": true,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": "напр. матричного принтера",
                      "IsOptional": false
                    },
                    {
                      "IsItalics": false,
                      "IsAccent": false,
                      "Node": "Text",
                      "Text": ")",
                      "IsOptional": false
                    }
                  ],
                  "Node": "Comment",
                  "Text": null,
                  "IsOptional": false
                }
              ],
              "Node": "Paragraph",
              "Text": null,
              "IsOptional": false
            },
            {
              "Type": null,
              "Items": [
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__alignment pin",
                      "Node": "CardRef",
                      "Text": "alignment pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__base pin",
                      "Node": "CardRef",
                      "Text": "base pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__control pin",
                      "Node": "CardRef",
                      "Text": "control pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__cylindrical pin",
                      "Node": "CardRef",
                      "Text": "cylindrical pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__disk cartridge lock pins",
                      "Node": "CardRef",
                      "Text": "disk cartridge lock pins",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__drive pin",
                      "Node": "CardRef",
                      "Text": "drive pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__grooved pin",
                      "Node": "CardRef",
                      "Text": "grooved pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__guide pin",
                      "Node": "CardRef",
                      "Text": "guide pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__input pin",
                      "Node": "CardRef",
                      "Text": "input pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__input/output pins",
                      "Node": "CardRef",
                      "Text": "input/output pins",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__matching pin",
                      "Node": "CardRef",
                      "Text": "matching pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__outputpin",
                      "Node": "CardRef",
                      "Text": "outputpin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__split pin",
                      "Node": "CardRef",
                      "Text": "split pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__tapered pin",
                      "Node": "CardRef",
                      "Text": "tapered pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                },
                {
                  "Markup": [
                    {
                      "Dictionary": "Electronics (En-Ru)",
                      "ArticleId": "Electronics (En-Ru)__tube pin",
                      "Node": "CardRef",
                      "Text": "tube pin",
                      "IsOptional": false
                    }
                  ],
                  "Node": "CardRefItem",
                  "Text": null,
                  "IsOptional": false
                }
              ],
              "Node": "CardRefs",
              "Text": null,
              "IsOptional": true
            }
          ],
          "Node": "ListItem",
          "Text": null,
          "IsOptional": false
        }
      ],
      "Node": "List",
      "Text": null,
      "IsOptional": false
    }
  ]
}