IPIF / prosopogrAPhI

Tentative way towards a shared API for prosopographical data based on the factoid model (Bradley/Short 2005)
24 stars 6 forks source link

Rename Protocol.pageSize; new response schemas #8

Closed gvasold closed 5 years ago

gvasold commented 5 years ago

Rename pageSize in schema protocol to size for consistency with query parameter name Add extra schemas for FactoidsResponse, PersonsResponse, SourcesResponse and StatementsResponse

Georg, I renamed Protocol.pageSize to Protocol.size to keep it consistent with the size parameter used for the list views (we can also rename the parameters to pageSize, but this might break things in Matthias' code)

I also made explicit Schemas für the responses to /factoids, /persons etc. which include the protocol object.