Skip to content

Commit 35be572

Browse files
authored
Merge pull request #826 from hubmapconsortium/yuanzhou-patch-1
Update entity-api-spec.yaml
2 parents 1f8611d + d8e8dcb commit 35be572

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

entity-api-spec.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,6 +2380,29 @@ paths:
23802380
description: The target entity could not be found
23812381
'500':
23822382
description: Internal error
2383+
'/entities/{id}/flush-cache':
2384+
delete:
2385+
summary: "Delete the cached data from Memcached for a given entity, HuBMAP-Read access is required in AWS API Gateway"
2386+
parameters:
2387+
- name: id
2388+
in: path
2389+
description: The unique identifier of entity. This identifier can be either an HuBMAP ID (e.g. HBM123.ABCD.456) or UUID
2390+
required: true
2391+
schema:
2392+
type: string
2393+
responses:
2394+
'200':
2395+
description: A confirmation message upon successful operation
2396+
'400':
2397+
description: Invalid or misformatted entity identifier
2398+
'401':
2399+
description: The user's token has expired or the user did not supply a valid token
2400+
'403':
2401+
description: The user is not authorized to query the provenance of the given entity.
2402+
'404':
2403+
description: The target entity could not be found
2404+
'500':
2405+
description: Internal error
23832406
'/entities/{id}/instanceof/{type}':
23842407
get:
23852408
summary: Determines if the Entity with id is an instance of type

0 commit comments

Comments
 (0)