Languages are a set of languages which the learning objects can belong to, like portuguese, english and etc.
Name | Description |
---|---|
limit | Limit of languages |
offset | Offset of languages |
Accept: application/json Content-Type: application/json Host: example.org Cookie:
GET /v1/languages?limit=12&offset=0
limit: 12 offset: 0
curl -g "https://api.portalmec.c3sl.ufpr.br/v1/languages?limit=12&offset=0" -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json"
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Total-Count: 10 Content-Type: application/json; charset=utf-8 Vary: Origin ETag: W/"d514dd2a311b2ca621a811a7d44ba799" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 3b6d02e7-b1e4-4ef1-b1ef-913e7ac7025f X-Runtime: 0.008737 Content-Length: 389
200 OK
[ { "id": 1, "name": "Português", "code": "pt" }, { "id": 2, "name": "Inglês", "code": "en" }, { "id": 3, "name": "Espanhol", "code": "es" }, { "id": 4, "name": "Francês", "code": "fr" }, { "id": 5, "name": "Alemão", "code": "de" }, { "id": 6, "name": "Italiano", "code": "it" }, { "id": 7, "name": "Mandarim", "code": "zh" }, { "id": 8, "name": "Russo", "code": "ru" }, { "id": 9, "name": "Japonês", "code": "jp" }, { "id": 10, "name": "Outro", "code": "Outro" } ]