Skip to content

Releases: novopl/restible

v0.9

04 Mar 00:06
b9da118
Compare
Choose a tag to compare

Features

  • restible now supports and endpoint having multiple route parameters. This
    makes it possible to express composite primary keys in URL and easily create
    nested API endpoints.

Changes

  • Now all RestResource.*_item() methods receive the request as their first
    argument.

v0.8.2

04 Mar 00:07
a723eaf
Compare
Choose a tag to compare

Features

  • From now on, you can use class attribute .route_param in your resource
    definitions to define route param used by the resource. The format for this
    attribute is a dict version of JSON schema for path parameters.

v0.8.1

04 Mar 00:07
1668da5
Compare
Choose a tag to compare

Features

  • Added util.update_from_values for easier implementation of the integrations
    since this is a pretty common use case in API development.

v0.8

04 Mar 00:08
b81f3be
Compare
Choose a tag to compare

Features

  • Added new RestResource.implements(rest_verb) method to check whether the
    resource implements a given REST verb (create/query/get/update/delete).

Changes

  • Removed RestResource.get_requested() that was missed during the refactor.