diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-11 16:10:47 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-11 16:10:47 -0700 |
commit | 91c080a2e82ec4e8908cb8e3916a543519151847 (patch) | |
tree | 1d6f450546bcd0d0888bd0f4ec52d66a8a3cfd0f /rust/fatcat-api-spec/api.yaml | |
parent | 6315c314969d4e66db4da09a8c2ff245aafe0fc1 (diff) | |
download | fatcat-91c080a2e82ec4e8908cb8e3916a543519151847.tar.gz fatcat-91c080a2e82ec4e8908cb8e3916a543519151847.zip |
implement new editgroup_id behavior
Diffstat (limited to 'rust/fatcat-api-spec/api.yaml')
-rw-r--r-- | rust/fatcat-api-spec/api.yaml | 49 |
1 files changed, 43 insertions, 6 deletions
diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml index 2b0615d2..d5414405 100644 --- a/rust/fatcat-api-spec/api.yaml +++ b/rust/fatcat-api-spec/api.yaml @@ -52,15 +52,12 @@ x-entity-props: &ENTITYPROPS <<: *FATCATUUID redirect: <<: *FATCATIDENT - editgroup_id: - <<: *FATCATIDENT extra: type: object additionalProperties: {} -# TODO: -# edit_extra: -# type: object -# additionalProperties: {} + edit_extra: + type: object + additionalProperties: {} definitions: error_response: @@ -432,6 +429,10 @@ paths: required: true schema: $ref: "#/definitions/container_entity" + - name: editgroup + in: query + required: false + type: string responses: 201: description: Created Entity @@ -495,6 +496,10 @@ paths: required: true schema: $ref: "#/definitions/container_entity" + - name: editgroup + in: query + required: false + type: string responses: 200: description: Updated Entity @@ -558,6 +563,10 @@ paths: required: true schema: $ref: "#/definitions/creator_entity" + - name: editgroup + in: query + required: false + type: string responses: 201: description: Created Entity @@ -621,6 +630,10 @@ paths: required: true schema: $ref: "#/definitions/creator_entity" + - name: editgroup + in: query + required: false + type: string responses: 200: description: Updated Entity @@ -700,6 +713,10 @@ paths: required: true schema: $ref: "#/definitions/file_entity" + - name: editgroup + in: query + required: false + type: string responses: 201: description: Created Entity @@ -763,6 +780,10 @@ paths: required: true schema: $ref: "#/definitions/file_entity" + - name: editgroup + in: query + required: false + type: string responses: 200: description: Updated Entity @@ -826,6 +847,10 @@ paths: required: true schema: $ref: "#/definitions/release_entity" + - name: editgroup + in: query + required: false + type: string responses: 201: description: Created Entity @@ -889,6 +914,10 @@ paths: required: true schema: $ref: "#/definitions/release_entity" + - name: editgroup + in: query + required: false + type: string responses: 200: description: Updated Entity @@ -968,6 +997,10 @@ paths: required: true schema: $ref: "#/definitions/work_entity" + - name: editgroup + in: query + required: false + type: string responses: 201: description: Created Entity @@ -1031,6 +1064,10 @@ paths: required: true schema: $ref: "#/definitions/work_entity" + - name: editgroup + in: query + required: false + type: string responses: 200: description: Updated Entity |