property-types response should be paginated
the /api/property-types
endpoint accepts page
and perpage
query parameters, but returns a flat array of items without pagination info:
curl -X GET "https://sshoc-marketplace-api.acdh-dev.oeaw.ac.at/api/property-types?page=4&perpage=1" -H "accept: application/json" | jq
returns
[
{
"code": "technique",
"label": "Technique",
"type": "concept",
"allowedVocabularies": [
{
"code": "tadirah-research-technique",
"label": "TaDiRAH Research Technique",
"accessibleAt": null
}
]
}
]