From 1cd3969ce81470a24f5443e3ea1ad4ce73482288 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 20 Jul 2018 19:59:56 -0700 Subject: API schema changes for ident changes --- fatcat-openapi2.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'fatcat-openapi2.yml') diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml index 61e61265..dde02734 100644 --- a/fatcat-openapi2.yml +++ b/fatcat-openapi2.yml @@ -227,6 +227,9 @@ definitions: required: - username properties: + id: + type: string + example: "q3nouwy3nnbsvo3h5klxsx4a7y" username: type: string example: "zerocool93" @@ -236,8 +239,9 @@ definitions: - editor_id properties: id: - type: integer - format: int64 + type: string + #format: custom + example: "q3nouwy3nnbsvo3h5klxsx4a7y" editor_id: type: string #format: custon @@ -795,9 +799,9 @@ paths: items: $ref: "#/definitions/release_entity" <<: *ENTITYRESPONSES - /editor/{username}: + /editor/{id}: parameters: - - name: username + - name: id in: path type: string required: true @@ -816,9 +820,9 @@ paths: description: Generic Error schema: $ref: "#/definitions/error_response" - /editor/{username}/changelog: + /editor/{id}/changelog: parameters: - - name: username + - name: id in: path type: string required: true @@ -865,8 +869,8 @@ paths: parameters: - name: id in: path - type: integer - format: int64 + type: string + #format: custom required: true get: operationId: "get_editgroup" @@ -891,8 +895,8 @@ paths: parameters: - name: id in: path - type: integer - format: int64 + type: string + #format: custom required: true post: operationId: "accept_editgroup" -- cgit v1.2.3