Languages let you create multilingual content. When you set up languages, you can get localized content items by using the language query parameter.You can get a list of languages defined in your environment to dynamically create a language selector in your app, for example.
Sets the number of objects to skip when requesting a list of objects. The skip parameter must be combined with the limit parameter to work. If skip is not specified, the API returns the first page of results.You can combine the limit and skip parameters to specify page size and page number. For example, using limit=10&skip=10 sets the page size to 10 and gets the second page of results.
Sets the number of objects to retrieve in a single request. If the limit parameter is not specified, the API returns all requested objects by default.If limit is lower than the total number of objects matching your query, the next_page property in the pagination object of the API response will contain a URL to the next page of results.The limit parameter affects only the number of items in the items property. It doesn't reduce the number of linked items in the modular_content property so you may hit the response size limit unexpectedly. You can set depth=0 to avoid that.
Determines the order of the returned languages. By default, the languages are sorted alphabetically by their codenames from A to Z.To sort the languages in a specific order, use the asc and desc modifiers in square brackets. For example, to sort by language name in ascending order, use order=system.name[asc]. Similarly, to sort in descending order, use the [desc] modifier.
Use short machine-readable codenamesWe strongly recommend that you use short, easily identifiable, and machine-readable codenames for your languages. For example, you can specify language codenames based on the IETF or one of the ISO-639 standards.
Get only the languages you needTo retrieve specific languages, use the filtering parameters in your requests. For example, you can request two specific languages (using the [in] filter) or all but one language (using the [neq] filter).
TypeScript
C#
cURL
// Tip: Find more about JS/TS SDKs at https://kontent.ai/learn/javascriptimport { createDeliveryClient } from '@kontent-ai/delivery-sdk';const deliveryClient = createDeliveryClient({ environmentId: 'KONTENT_AI_ENVIRONMENT_ID',});const response = await deliveryClient.languages().limitParameter(3).toPromise();