API parameter inconsistencies

Anything concerning integration via the REST API
Post Reply
noses
Posts: 8
Joined: Thu Sep 24, 2020 12:05 am

API parameter inconsistencies

Post by noses »

Nearly everything dealing with documents wants a "document_pk" but the documents_* functions return "id"s. Let's not get into the documents_versioning functions talking about "docment_id" (at least that's clear bt a third name). Could someone lease throw some light on what is what here?


Achim
User avatar
rosarior
Developer
Developer
Posts: 651
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: API parameter inconsistencies

Post by rosarior »

Just historical reasons, we can't break the API during minor or micro releases and need to keep paths and variables as they were committed or merged. As a major release, we are normalizing all API endpoints, parameters and schemas, as well as the HTTP URLs. Version 4.0 also introduces a versioned API.
2020-12-03_01-49_1.png
2020-12-03_01-49_1.png (52.71 KiB) Viewed 234 times
2020-12-03_01-49.png
2020-12-03_01-49.png (227.53 KiB) Viewed 234 times
Post Reply