Locations
GET
/api/v1/generic-api-service/content/location/find-by-paging
The location find by paging endpoint is used to see all locations list.
- Request
- Response
- Response Details
/// no request parameter required
{
"content": [
{
"name": {
"translations": {
"en": "Malatya",
"tr": "Malatya"
}
},
"id": 807
},
{
"name": {
"translations": {
"en": "Tunceli",
"tr": "Tunceli"
}
},
"id": 817
},
{
"name": {
"translations": {
"en": "Yumurtalık",
"tr": "Yumurtalık"
}
},
"id": 819
},
{
"name": {
"translations": {
"en": "Karaisalı",
"tr": "Karaisalı"
}
},
"id": 824
},
{
"name": {
"translations": {
"ru": "Тостат",
"en": "Tostat",
"tr": "Tostat"
}
},
"id": 174941
},
{
"name": {
"translations": {
"en": "Emirdağ",
"tr": "Emirdağ"
}
},
"id": 847
},
{
"name": {
"translations": {
"ru": "Альбас",
"en": "Albas",
"tr": "Albas"
}
},
"id": 173565
},
{
"name": {
"translations": {
"ru": "Аруппуккоттаи",
"en": "Aruppukkottai",
"tr": "Aruppukkottai"
}
},
"id": 142040
},
{
"name": {
"translations": {
"en": "Ağaçören",
"tr": "Ağaçören"
}
},
"id": 868
},
{
"name": {
"translations": {
"en": "Suluova",
"tr": "Suluova"
}
},
"id": 875
}
],
"number": 0,
"size": 10,
"totalElements": 324616,
"totalPages": 32462,
"numberOfElements": 10
}
Name | Type | Required | Description |
---|---|---|---|
content | object-array | Yes | Object containing location name and id |
content/name | object-array | Yes | Object containing location name |
content/name/translations | object-array | Yes | Object where the translations of the location names are in |
content/name/translations/en | string | No | English translation of location |
content/name/translations/tr | string | No | Turkish translation of location |
content/name/translations/ru | string | No | Russian translation of location |
content/id | string | Yes | Location id |
number | string | Yes | It is sent with a request and indicates which page results are displayed. |
size | string | No | It is sent with a request and indicates how many locations are on a page. |
totalElements | object-array | Yes | Total location count |
totalPages | int | Yes | Indicates how many pages are shown according to the number of locations on the page. |
numberOfElements | string | Yes | Information on how many locations are on a page |