summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge branch 'autoaccept' into http-verbsBryan Newbold2018-09-071-0/+54
|\ | | | | | | | | | | | | | | | | Started resolving conflicts in: TODO notes/cloud_instances.txt rust/fatcat-api/README.md rust/src/api_server.rs
| * WIP: autoacceptBryan Newbold2018-08-241-0/+25
| |
| * autoaccept flag for batch insertsBryan Newbold2018-08-201-0/+29
| |
* | more update and delete verbsBryan Newbold2018-09-061-25/+169
| |
* | add bad request response type for eg acceptBryan Newbold2018-08-311-0/+4
|/
* ORCIDs can end in X characterBryan Newbold2018-08-161-1/+1
|
* add core_id to schemasBryan Newbold2018-08-141-0/+3
|
* expand, not expendBryan Newbold2018-07-251-5/+5
|
* API schema: identifier checking, expand query paramBryan Newbold2018-07-251-30/+75
|
* contribs: raw -> raw_nameBryan Newbold2018-07-251-1/+1
|
* actually add wikidata QIDs to the APIBryan Newbold2018-07-251-0/+6
|
* API schema updatesBryan Newbold2018-07-241-4/+9
|
* start updating API specBryan Newbold2018-07-231-6/+39
|
* API schema changes for ident changesBryan Newbold2018-07-201-10/+14
|
* update schema (sql and api) for rev ids, editor_id, editgroup_idBryan Newbold2018-07-201-18/+18
|
* prep for base32 encoded identifiersBryan Newbold2018-07-201-10/+10
|
* generic changelog endpointsBryan Newbold2018-06-301-0/+44
|
* add remaining history endpointsBryan Newbold2018-06-301-2/+86
|
* history for container entitiesBryan Newbold2018-06-301-15/+34
|
* refactor changelog entry spec structureBryan Newbold2018-06-301-19/+34
|
* make release_rev.work_id optional in openapi specBryan Newbold2018-06-281-1/+0
| | | | This is to enable auto-creation of works, speeding up bulk insertion.
* no more default/mangled HTTP status codesBryan Newbold2018-06-211-7/+7
|
* ISO 639-1 for language codesBryan Newbold2018-06-191-0/+1
|
* consistent volume/issue/pages orderingBryan Newbold2018-06-191-2/+2
|
* add stats API endpoint (freeform)Bryan Newbold2018-06-191-1/+23
| | | | | | This intentionally doesn't really have a schema, just an 'extra' JSON object field. If the stats values stabilize we can move from 'extra' to specified values.
* spec: reverse-lookup endpointsBryan Newbold2018-06-171-0/+48
| | | | | | files-for-release releases-for-creator releases-for-work
* updates to schema(s): more complete, alignmentBryan Newbold2018-06-041-5/+33
|
* renumber dummy/example entitiesBryan Newbold2018-05-281-6/+6
|
* refactor to more ergonomic operation namesBryan Newbold2018-05-281-0/+24
|
* move API spec to top level directoryBryan Newbold2018-05-281-0/+690