summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
Commit message (Collapse)AuthorAgeFilesLines
* api spec: remove 'summary'; delineate full descriptionBryan Newbold2019-09-131-5/+6
| | | | | | | Full description was getting included in every single python client library header, and we don't want that. Also correct the contact email address.
* remove query param examples from api specBryan Newbold2019-09-121-9/+47
| | | | | | | OpenAPI validator complained about these examples being set in query parameters. Was using types factor out syntax etc into blocks, so needed to update these to separate examples from the rest of the identifier spec.
* make openapi spec work with old python codegen (TAGLINE hack)Bryan Newbold2019-09-121-86/+86
|
* massively expand docs in openapi specBryan Newbold2019-09-121-78/+937
|
* bump version to 0.3.0Bryan Newbold2019-05-211-1/+1
|
* schema: allow releases expansion on file/fileset/webcaptureBryan Newbold2019-05-201-3/+18
| | | | And codegen rust and python
* api spec: editgroup created timestampBryan Newbold2019-05-141-0/+3
|
* api spec: refactor entity mutation endpointsBryan Newbold2019-05-141-329/+308
|
* api schema: better class namesBryan Newbold2019-05-141-130/+144
|
* webcapture size_bytes -> sizeBryan Newbold2019-05-131-2/+2
| | | | For consistency with file, fileset
* 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
|