aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/.gitignore
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-24 16:00:41 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-24 16:00:43 -0800
commit8baeb62ee10784fc73b6863e6353c7df7e1be249 (patch)
tree410c2a87e881f6bb1e793834e92d665bdf23ccd1 /rust/fatcat-api-spec/.gitignore
parent24ab203a00354f768fc48e0786b21de4afcd9c4a (diff)
downloadfatcat-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/fatcat-api-spec/.gitignore')
0 files changed, 0 insertions, 0 deletions