Skip to content

Commit 511ad15

Browse files
committed
Won't implement another useless endpoint
1 parent 02be48c commit 511ad15

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

content/swagger/resources/reference_entities/routes/reference_entities.yaml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -88,46 +88,3 @@ get:
8888
$ref: "#/responses/401Error"
8989
406:
9090
$ref: "#/responses/406Error"
91-
patch:
92-
summary: Update/create several reference entities
93-
operationId: "patch_reference_entities"
94-
tags:
95-
- Reference entity
96-
x-versions:
97-
- "3.0"
98-
x-ee: true
99-
description: This endpoint allows you to update and/or create several reference entities at once. Note that if the reference entity does not already exist, it creates it.
100-
parameters:
101-
- name: body
102-
in: body
103-
required: true
104-
schema:
105-
$ref: ../definitions/reference_entities.yaml
106-
responses:
107-
200:
108-
description: OK
109-
x-details: Returns an JSON array in which each object gives you the status of each reference entity creation or update
110-
x-no-entity: true
111-
schema:
112-
$ref: '#/definitions/ErrorByObject'
113-
x-examples: [
114-
{
115-
"code": "brands",
116-
"status_code": 204
117-
},
118-
{
119-
"code": "colors",
120-
"status_code": 422,
121-
"message": "Property 'group' does not exist."
122-
},
123-
{
124-
"code": "designers",
125-
"status_code": 201
126-
}
127-
]
128-
401:
129-
$ref: "#/responses/401Error"
130-
413:
131-
$ref: "#/responses/413Error"
132-
415:
133-
$ref: "#/responses/415ErrorStream"

0 commit comments

Comments
 (0)