CODE_DESIGN.md

naturecounts design principles

Locations

Fields returned by the API

Desired behaviour

Required and extra fields returned by the API are expected and treated, respectively, as follows:

Function | API Entry Point | Required fields | Extra fields ------------------ |-------------------------- | -------------------------- | ------------ nc_count() | data/list_collections | collection, nrecords | Ignored nc_count() | data/list_permissions | collection, akn_level | Ignored nc_count() | metadata/collections | collection, akn_level | Ignored nc_permissions() | data/list_permissions | collection, akn_level | Ignored srv_auth() | data/authenticate | token | Ignored nc_data_dl() | data/release_request_id | None (close request only) | Ignored nc_data_dl() | data/get_data | Any | Added meta_XXX() | metadata/XXX | Any | Added

What will break the package

If these "containers" change names, the package will break.

Coding Principles

Testing



BirdStudiesCanada/naturecounts documentation built on June 30, 2023, 1:59 a.m.