Remove Enterprises:AffiliatedBy (replaced with Enterprises:AffiliatedTo)
This commit is contained in:
@@ -298,53 +298,6 @@ paths:
|
|||||||
'401':
|
'401':
|
||||||
description: unauthorized
|
description: unauthorized
|
||||||
|
|
||||||
|
|
||||||
"/api/dfc/Enterprises/{enterprise_id}/affiliatedBy":
|
|
||||||
post:
|
|
||||||
summary: Affilate Enterprises
|
|
||||||
parameters:
|
|
||||||
- name: enterprise_id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- Enterprises::affiliatedBy
|
|
||||||
responses:
|
|
||||||
'201':
|
|
||||||
description: created
|
|
||||||
'400':
|
|
||||||
description: bad request
|
|
||||||
'401':
|
|
||||||
description: unauthorized
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
example:
|
|
||||||
"@id": http://test.host/api/dfc/Enterprises/10001
|
|
||||||
"/api/dfc/Enterprises/{enterprise_id}/affiliatedBy/{id}":
|
|
||||||
delete:
|
|
||||||
summary: Remove enterprise from group
|
|
||||||
parameters:
|
|
||||||
- name: enterprise_id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- Enterprises::affiliatedBy
|
|
||||||
responses:
|
|
||||||
'204':
|
|
||||||
description: no content
|
|
||||||
'401':
|
|
||||||
description: unauthorized
|
|
||||||
|
|
||||||
"/api/dfc/Enterprises/{id}":
|
"/api/dfc/Enterprises/{id}":
|
||||||
parameters:
|
parameters:
|
||||||
- name: id
|
- name: id
|
||||||
|
|||||||
Reference in New Issue
Block a user