diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:00:41 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:00:43 -0800 |
commit | 8baeb62ee10784fc73b6863e6353c7df7e1be249 (patch) | |
tree | 410c2a87e881f6bb1e793834e92d665bdf23ccd1 /rust/INSTALL.md | |
parent | 24ab203a00354f768fc48e0786b21de4afcd9c4a (diff) | |
download | fatcat-8baeb62ee10784fc73b6863e6353c7df7e1be249.tar.gz fatcat-8baeb62ee10784fc73b6863e6353c7df7e1be249.zip |
significantly harmonize API 'id' parameters
This commit is to reduce confusion and ambiguity between: entity idents
('ident'), editor ids ('editor_id'), editgroup ids ('editgroup_id'),
entity edit ids ('edit_id'), entity revision ids ('rev_id').
Additionally, 'file.releases' is now 'file.release_ids'.
The biggest downside of this patch, to me, is the verbosity of passing
things like:
api.create_entity(entity, editgroup_id=eg.editgroup_id)
Previously, "editgroup_id=eg.id" could be used. I think this is
acceptable though.
Diffstat (limited to 'rust/INSTALL.md')
0 files changed, 0 insertions, 0 deletions