summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
Commit message (Collapse)AuthorAgeFilesLines
* schema: move release ext_ids to their own table and sub-entityBryan Newbold2019-05-101-29/+34
| | | | | Some identifiers are kept on the main release_rev table to minimize impact to the existing database.
* schema: withdrawn_state -> withdrawn_statusBryan Newbold2019-05-101-1/+1
|
* revert webcapture CDX extra_jsonBryan Newbold2019-05-091-3/+0
| | | | Keep things simpler until needed.
* API schema changes (matching recent SQL)Bryan Newbold2019-05-091-1/+40
|
* don't require auth for editgroup annotationsBryan Newbold2019-04-091-2/+0
| | | | | | | | | | Amazing that this bug found it's way through... because most testing is from Python, and was having serious auth config leakage with python_client. We're still in 0.x, and this is such a small/eggregious bug that i'm not going to tag as a backwards-incompatible schema update (but will note in CHANGELOG).
* bump versions (0.1.0 to 0.2.0)Bryan Newbold2019-01-281-1/+1
|
* Merge branch 'schema-tweaks'Bryan Newbold2019-01-241-16/+8
|\
| * more IDENT types in API schemaBryan Newbold2019-01-141-16/+8
| |
* | allow passing description+extra to batch endpointsBryan Newbold2019-01-221-0/+56
| | | | | | | | | | | | Pretty messy, but I needed some way to do this. In particular, requires json.dumps() in python code, for now. Blech.
* | allow arxiv and jstor lookupsBryan Newbold2019-01-211-0/+8
| |
* | yet more schema tweaksBryan Newbold2019-01-211-8/+24
| | | | | | | | | | | | | | | | | | - remove abbrev and coden from container (never used; can put in extra) - add 'original_title' to release - add arxiv and JSTOR release IDs - add 'license_slug' to release - add 'raw_affiliation' string to release_contrib - add 'container_type' to container
* | api schema: CDX timestamps as datetimeBryan Newbold2019-01-181-2/+5
|/
* allow returning changelog index with editgroupBryan Newbold2019-01-111-0/+4
|
* allow returning expanded editors in editgroups and annotationsBryan Newbold2019-01-111-0/+4
|
* API schema: editgroup submission and annotationsBryan Newbold2019-01-101-3/+238
| | | | | | Fingers crossed, these are the final "feature" additions, and schema will only need tweaking and error corrections for fatcat stable/production release.
* add a couple additional response types, for consistencyBryan Newbold2019-01-091-0/+12
|
* towards better success/error response typesBryan Newbold2019-01-091-0/+9
|
* schema: require editgroup_id for edits (except batch)Bryan Newbold2019-01-091-21/+21
|
* add auth/check endpointBryan Newbold2019-01-071-0/+26
|
* allow passing prefered_username in oidc signup/loginBryan Newbold2019-01-031-0/+3
|
* schema for username updatesBryan Newbold2019-01-031-0/+28
|
* crude /auth/oidc endpoint (and codegen)Bryan Newbold2019-01-031-0/+65
|
* add missing security/auth declarationsBryan Newbold2018-12-311-0/+50
|
* make editor_id optional when createding editgroupBryan Newbold2018-12-311-2/+0
| | | | The editor_id can be infered from auth metadata.
* api spec: more auth responsesBryan Newbold2018-12-311-5/+47
|
* first attempt at auth in API specBryan Newbold2018-12-261-0/+37
|
* api schema: more types/regex on parametersBryan Newbold2018-12-261-67/+49
|
* schemas: editor_id as UUID (not int)Bryan Newbold2018-12-261-31/+15
|
* webcapture: status_code nullable; cdx timestamp stringBryan Newbold2018-12-261-4/+2
|
* openapi schema: add fileset/web endpointsBryan Newbold2018-12-261-2/+482
|
* openapi schema: small consistency fixesBryan Newbold2018-12-261-8/+26
|
* fileset and webcapture openapi entitiesBryan Newbold2018-12-241-0/+123
|
* remove unused postgres-backed stats stuffBryan Newbold2018-12-241-23/+0
| | | | Will replace with elasticsearch-based dash in webface
* significantly harmonize API 'id' parametersBryan Newbold2018-12-241-79/+79
| | | | | | | | | | | | | | | | 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.
* add release_year (for when whole date isn't available)Bryan Newbold2018-12-241-0/+4
|
* allow expand creators in release getsBryan Newbold2018-12-211-1/+1
|
* more lookup schema tweaksBryan Newbold2018-12-141-4/+28
| | | | Changed argument orders; added core_id lookups; allow expand in lookups
* schema tweaks, and rust codegenBryan Newbold2018-12-131-14/+14
|
* proposed API schema changes for redirectsBryan Newbold2018-12-131-10/+440
| | | | | | | | | | | Mostly backwards compatible for clients (but not server). - lookup by additional parameters - no entity parameters are required; this makes PUT updates for redirects possible - GET for entity revisions - GET and DELETE for individual entity edits - GET to list idents redirected to a given ident
* hide flags (like expand)Bryan Newbold2018-11-261-0/+60
|
* set default host in swagger spec to api.fatcat.wikiBryan Newbold2018-11-131-1/+1
|
* switch to HTTPS in schema defBryan Newbold2018-11-121-2/+1
| | | | But rewrite to http for python codegen.
* expand docs in schema updatedBryan Newbold2018-09-261-5/+5
|
* annotate API spec with tag-related linesBryan Newbold2018-09-221-97/+97
| | | | So they can be striped easily in codegen.
* container_name (for consistency)Bryan Newbold2018-09-221-1/+1
|
* add tags (grouping) to openapi schemaBryan Newbold2018-09-181-0/+99
|
* better response type nameBryan Newbold2018-09-171-1/+1
|
* remove duplicate response def from API specBryan Newbold2018-09-131-4/+0
|
* refactor editgroup parameter passingBryan Newbold2018-09-111-6/+43
| | | | | | It's always a query param, and applies to the whole operation. Batch insert behavior is a little more complex.
* make API types more consistentBryan Newbold2018-09-101-6/+14
|