summaryrefslogtreecommitdiffstats
path: root/rust/src/api_wrappers.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove unused postgres-backed stats stuffBryan Newbold2018-12-241-19/+0
| | | | Will replace with elasticsearch-based dash in webface
* rust impl of API harmonizationBryan Newbold2018-12-241-32/+32
|
* verify checksum against regexesBryan Newbold2018-12-211-0/+13
|
* more edit edgecases; editgroup status checkBryan Newbold2018-12-211-1/+4
|
* more state/edit edge case testsBryan Newbold2018-12-211-0/+26
|
* GET methods not in transactionsBryan Newbold2018-12-201-15/+15
|
* many redirect implementationsBryan Newbold2018-12-141-24/+25
| | | | | | | | | | | | | | | | | | Probably should have split this commit up, it's huge: - accept the state of "redirect to a deletion", where redirect_id is Some but rev_id is None. call this a "redirect"; previously this was an invalid state. - GET for a deleted entity returns a 200 and a stub entity, not a 404 - to PUT a redirect, or to "revert" an entity to point at a specific pre-existing revision, PUT a stub entity. things are getting messy here... to detect this state, ensure the 'state' field is blank/none (this is for API usage ergonomics, where results from a GET are often re-used in a PUT or even POST) - rustfmt - maybe even more small tweaks along the way? mystery meat! Tests are in python, not rust (and a future commit)
* better return status for some error conditionsBryan Newbold2018-12-141-0/+16
|
* lookups implBryan Newbold2018-12-141-4/+34
|
* skeleton out new schema featuresBryan Newbold2018-12-131-27/+255
|
* implement hide flagBryan Newbold2018-11-261-6/+52
|
* enforce some controlled vocabularies in APIBryan Newbold2018-11-141-0/+8
|
* rustfmt, and implement schema tweaksBryan Newbold2018-09-221-16/+20
|
* use idiomatic from_str for ExpandFlagsBryan Newbold2018-09-111-1/+1
|
* implement new editgroup_id behaviorBryan Newbold2018-09-111-3/+16
|
* refactor entity get and 'expansion'Bryan Newbold2018-09-111-11/+14
|
* finish fatcat-api => fatcat-api-spec refactorBryan Newbold2018-09-111-5/+5
|
* rust clippy (lint) tweaksBryan Newbold2018-09-111-1/+1
|
* many small API cleanupsBryan Newbold2018-09-101-73/+59
| | | | | | - use FatCatId much more often (though not everywhere yet) - more consistent types - remove redundant error handling code in wrappers
* continue CRUD refactor, removing CUD handlersBryan Newbold2018-09-101-48/+30
| | | | | | | | Can't remove the "get" handlers because of the expand parameter, which is only implemented for releases and in the handler (not in the CRUD trait, yet). Also didn't do the batch handler stuff yet.
* fixes after autoaccept mergeBryan Newbold2018-09-071-1/+1
|
* Merge branch 'autoaccept' into http-verbsBryan Newbold2018-09-071-2/+4
|\ | | | | | | | | | | | | | | | | Started resolving conflicts in: TODO notes/cloud_instances.txt rust/fatcat-api/README.md rust/src/api_server.rs
| * editgroup parameter for batch insertsBryan Newbold2018-08-301-1/+2
| |
| * implement autoacceptBryan Newbold2018-08-201-2/+3
| | | | | | | | | | | | Need to review: - changelog creation - clobbering of existing editgroup flag
* | skeleton create/delete endpoints for worksBryan Newbold2018-09-061-2/+106
| | | | | | | | Other entities just stubs
* | correct EditgroupAlreadyAccepted responseBryan Newbold2018-08-311-0/+5
|/
* refactoring; expand keyword implBryan Newbold2018-07-251-2/+12
|
* big transaction/conn refactorBryan Newbold2018-07-251-13/+35
|
* have get_editgroup take optional connBryan Newbold2018-07-251-1/+1
|
* more external ident handlingBryan Newbold2018-07-251-0/+8
|
* whole bunch of clippy fixesBryan Newbold2018-07-241-8/+8
|
* editor_id and editgroup_id as idents; revisions as raw UUIDBryan Newbold2018-07-201-4/+4
|
* format InvalidFatcatId errors in API response (hack)Bryan Newbold2018-07-201-4/+8
|
* rust: base32 encoded identsBryan Newbold2018-07-201-9/+17
|
* refactor massive rust api_server into api_wrappersBryan Newbold2018-06-301-0/+414
The wrappers file contains the "glue" code to map to fatcat-api (openapi2 codegen) function signatures.