Skip to content

Commit

Permalink
update api/middleware.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 8, 2024
1 parent 3477861 commit abbc52e
Showing 1 changed file with 51 additions and 2 deletions.
53 changes: 51 additions & 2 deletions api/middleware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,36 @@ paths:
description: Invalid request parameters
security:
- ApiKey: []
patch:
tags:
- Entities
summary: Patch Entity
description: Patch entity
operationId: patchEntities
parameters:
- name: id
in: query
description: Entity id.
required: true
schema:
type: string
format: uri
requestBody:
content:
application/json-patch+json:
schema:
type: array
description: "The entity request, containing the actual semantic data."
items:
$ref: '#/components/schemas/EntityPatchRequest'
required: true
responses:
"200":
description: Success
"412":
description: Invalid request parameters
security:
- ApiKey: []
/dataset/batch:
post:
tags:
Expand Down Expand Up @@ -397,6 +427,25 @@ components:
description: Whether the entity should be hidden from Linked Data and GraphQL.
example: true
description: A request part of a batch.
EntityPatchRequest:
type: object
properties:
op:
type: string
enum:
- ADD
- REMOVE
- REPLACE
- MOVE
- COPY
- TEST
path:
type: string
value:
type: array
description: A model containing the Structured Data.
items:
type: object
AutocompleteResult:
type: object
properties:
Expand Down Expand Up @@ -444,10 +493,10 @@ components:
mainType:
type: string
description: Schema type slug
label:
type: string
value:
type: string
label:
type: string
displayTypes:
type: string
AutocompleteResultList:
Expand Down

0 comments on commit abbc52e

Please sign in to comment.