{
"hydra:member": [
{
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"id": 123,
"name": "<string>",
"nameWithCounty": "<string>",
"county": {
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"name": "<string>",
"code": "<string>",
"state": "<string>"
},
"population": 123,
"latitude": 123,
"longitude": 123,
"region": "<string>",
"country": "https://example.com/"
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "string",
"type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
},
"hydra:search": {
"@type": "<string>",
"hydra:template": "<string>",
"hydra:variableRepresentation": "<string>",
"hydra:mapping": [
{
"@type": "<string>",
"variable": "<string>",
"property": "<string>",
"required": true
}
]
}
}
Retrieves the collection of Town resources.
{
"hydra:member": [
{
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"id": 123,
"name": "<string>",
"nameWithCounty": "<string>",
"county": {
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"name": "<string>",
"code": "<string>",
"state": "<string>"
},
"population": 123,
"latitude": 123,
"longitude": 123,
"region": "<string>",
"country": "https://example.com/"
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "string",
"type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
},
"hydra:search": {
"@type": "<string>",
"hydra:template": "<string>",
"hydra:variableRepresentation": "<string>",
"hydra:mapping": [
{
"@type": "<string>",
"variable": "<string>",
"property": "<string>",
"required": true
}
]
}
}
The collection page number
Enable or disable pagination
asc
, desc
asc
, desc
Town collection
The response is of type object
.