API update #118
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
The API has not been used yet, so we do not need to change the version from
v1intov2.There has been some changes to CompensationAction, which is not reflected in the API currently. Furthermore we should think about pagination support, since fetching all existing data could result in a large response.
Pagination
Pagination is now supported for
GETrequests on all major datatypes (including EcoAccountDeduction)Example:
nextcontainsnullif no further page exists. Otherwise there will be the url to the next available page.Parameters
Pagination can be configured on a request using the
GETparametersrpp: Defines the results per pagep: Defines the requested pageActionType
CompensationAction provides support for multiple
action_typeentries to define a compensation action more detailed. The API has been extended to provide support for these changes.GET
Example
POST / PUT
Example
Merged in #119