diff options
Diffstat (limited to 'rust/fatcat-api-spec/api/swagger.yaml')
-rw-r--r-- | rust/fatcat-api-spec/api/swagger.yaml | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml index 02cdcf36..e437df8f 100644 --- a/rust/fatcat-api-spec/api/swagger.yaml +++ b/rust/fatcat-api-spec/api/swagger.yaml @@ -1959,8 +1959,8 @@ paths: example: "\"ident_example\".to_string()" - name: "expand" in: "query" - description: "List of sub-entities to expand in response. For files, none\ - \ accepted (yet)." + description: "List of sub-entities to expand in response. For files, `releases`\ + \ is accepted." required: false type: "string" formatString: "{:?}" @@ -2814,8 +2814,8 @@ paths: example: "\"ident_example\".to_string()" - name: "expand" in: "query" - description: "List of sub-entities to expand in response. For filesets, none\ - \ accepted (yet)." + description: "List of sub-entities to expand in response. For filesets, `releases`\ + \ is accepted." required: false type: "string" formatString: "{:?}" @@ -3580,7 +3580,7 @@ paths: - name: "expand" in: "query" description: "List of sub-entities to expand in response. For webcaptures,\ - \ none accepted (yet)." + \ `releases` is accepted." required: false type: "string" formatString: "{:?}" @@ -7399,6 +7399,11 @@ definitions: file_entity: type: "object" properties: + releases: + type: "array" + description: "Optional; GET-only" + items: + $ref: "#/definitions/release_entity" release_ids: type: "array" items: @@ -7473,6 +7478,9 @@ definitions: redirect: "q3nouwy3nnbsvo3h5klxsx4a7y" sha256: "cb1c378f464d5935ddaa8de28446d82638396c61f042295d7fb85e3cccc9e452" ident: "q3nouwy3nnbsvo3h5klxsx4a7y" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" sha1: "e9dd75237c94b209dc3ccd52722de6931a310ba3" urls: @@ -7510,6 +7518,11 @@ definitions: fileset_entity: type: "object" properties: + releases: + type: "array" + description: "Optional; GET-only" + items: + $ref: "#/definitions/release_entity" release_ids: type: "array" items: @@ -7586,6 +7599,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" upperCaseName: "FILESET_ENTITY" fileset_url: @@ -7649,6 +7665,11 @@ definitions: webcapture_entity: type: "object" properties: + releases: + type: "array" + description: "Optional; GET-only" + items: + $ref: "#/definitions/release_entity" release_ids: type: "array" items: @@ -7740,6 +7761,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null timestamp: "2000-01-23T04:56:07.000+00:00" revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" upperCaseName: "WEBCAPTURE_ENTITY" @@ -7985,6 +8009,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null timestamp: "2000-01-23T04:56:07.000+00:00" revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" - redirect: "q3nouwy3nnbsvo3h5klxsx4a7y" @@ -8018,6 +8045,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null timestamp: "2000-01-23T04:56:07.000+00:00" revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" ident: "q3nouwy3nnbsvo3h5klxsx4a7y" @@ -8127,6 +8157,9 @@ definitions: - redirect: "q3nouwy3nnbsvo3h5klxsx4a7y" sha256: "cb1c378f464d5935ddaa8de28446d82638396c61f042295d7fb85e3cccc9e452" ident: "q3nouwy3nnbsvo3h5klxsx4a7y" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" sha1: "e9dd75237c94b209dc3ccd52722de6931a310ba3" urls: @@ -8146,6 +8179,9 @@ definitions: - redirect: "q3nouwy3nnbsvo3h5klxsx4a7y" sha256: "cb1c378f464d5935ddaa8de28446d82638396c61f042295d7fb85e3cccc9e452" ident: "q3nouwy3nnbsvo3h5klxsx4a7y" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" sha1: "e9dd75237c94b209dc3ccd52722de6931a310ba3" urls: @@ -8189,6 +8225,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" - redirect: "q3nouwy3nnbsvo3h5klxsx4a7y" urls: @@ -8216,6 +8255,9 @@ definitions: - "q3nouwy3nnbsvo3h5klxsx4a7y" - "q3nouwy3nnbsvo3h5klxsx4a7y" edit_extra: "{}" + releases: + - null + - null revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe" container_id: "q3nouwy3nnbsvo3h5klxsx4a7y" upperCaseName: "RELEASE_ENTITY" |