About this resource
Representation of a paged collection of Language items
Properties
Property | Description | Type |
---|---|---|
items | One page of this paged collection, which is a subcollection of the complete collection. | Collection of Language items |
page | The current page of this paged collection. | int32 |
pageSize | The current page size of this paged collection. | int32 |
skip | The current skip size of this paged collection. | int32 |
take | The current take size of this paged collection. | int32 |
totalCount | The total count of items in this paged collection, not just on the current page. | int64 |
Relations
Actions
Method | Action | Description | Response codes | ||||||
---|---|---|---|---|---|---|---|---|---|
POST /languages | create | Creates a new language |
|
Examples
Searching for languages.
The parameters are specified as http headers.
GET /languages HTTP/1.1 accept: application/hal+json filter: Name=Dutch sort: createdon page: 1 pageSize: 20
The parameters are specified as query string parameters.
GET /languages?filter=Name=Dutch&sort=createdon&page=1&pagesize=10 HTTP/1.1
The parameters are specified as a combination of query string parameters and http headers.
GET /languages?filter=Name=Dutch&sort=createdon HTTP/1.1 page: 1 pageSize: 20
Creating a new language
POST /languages { "name": "New Language name", "culture": "uk-UA", "enabledForFields": true, "tag": "<tag>xml</tag>" }
In order to successfully create a language, the name must be specified via the relevant property.
If culture is not specified, "en-US" will be set by default.