Charles University · Example Payload

Charles Get Model Collection Example

EducationHigher EducationUniversityResearchOpen DataRepositoryOAI-PMHNatural Language ProcessingCzechiaEurope

Charles Get Model Collection Example is an example object payload from Charles University, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummaryrequestresponse

Example Payload

Raw ↑
{
  "operationId": "get_model_collection",
  "summary": "List available translation models",
  "request": {
    "method": "GET",
    "url": "https://lindat.mff.cuni.cz/services/translation/api/v2/models/",
    "headers": { "accept": "application/json" }
  },
  "response": {
    "status": 200,
    "contentType": "application/json",
    "body": {
      "_links": {
        "self": { "href": "/api/v2/models/" },
        "item": [
          { "href": "/api/v2/models/en-cs", "name": "en-cs", "title": "en-cs (English->Czech (CUBBITT))" },
          { "href": "/api/v2/models/cs-en", "name": "cs-en", "title": "cs-en (Czech->English (CUBBITT))" }
        ]
      },
      "_embedded": {
        "item": [
          {
            "_links": {
              "self": { "href": "/api/v2/models/en-cs" },
              "translate": { "href": "/api/v2/models/en-cs{?src,tgt}", "templated": true }
            },
            "default": true,
            "domain": "",
            "model": "en-cs",
            "supports": { "en": ["cs"] },
            "title": "en-cs (English->Czech (CUBBITT))"
          }
        ]
      }
    }
  }
}