diff options
Diffstat (limited to 'rust/fatcat-api/api.yaml')
-rw-r--r-- | rust/fatcat-api/api.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/rust/fatcat-api/api.yaml b/rust/fatcat-api/api.yaml index c53ff4a7..44fde1f6 100644 --- a/rust/fatcat-api/api.yaml +++ b/rust/fatcat-api/api.yaml @@ -438,6 +438,22 @@ paths: schema: $ref: "#/definitions/creator_entity" <<: *ENTITYRESPONSES + /creator/{id}/releases: + parameters: + - name: id + in: path + type: string + required: true + get: + operationId: "get_creator_releases" + responses: + 200: + description: Found Entity + schema: + type: array + items: + $ref: "#/definitions/release_entity" + <<: *ENTITYRESPONSES /creator/lookup: get: operationId: "lookup_creator" @@ -562,6 +578,22 @@ paths: schema: $ref: "#/definitions/release_entity" <<: *ENTITYRESPONSES + /release/{id}/files: + parameters: + - name: id + in: path + type: string + required: true + get: + operationId: "get_release_files" + responses: + 200: + description: Found Entity + schema: + type: array + items: + $ref: "#/definitions/file_entity" + <<: *ENTITYRESPONSES /release/lookup: get: operationId: "lookup_release" @@ -624,6 +656,22 @@ paths: schema: $ref: "#/definitions/work_entity" <<: *ENTITYRESPONSES + /work/{id}/releases: + parameters: + - name: id + in: path + type: string + required: true + get: + operationId: "get_work_releases" + responses: + 200: + description: Found Entity + schema: + type: array + items: + $ref: "#/definitions/release_entity" + <<: *ENTITYRESPONSES /editor/{username}: parameters: - name: username |