@dntlab/swagger-dean
Version:
swagger api for DeArchNet project
40 lines (38 loc) • 1.11 kB
YAML
post:
summary: Add profile to the followers list
parameters:
- in: path
name: profileId
required: true
schema:
type: string
description: Profile ID
operationId: rest.profile.followers.post
security:
- jwt: []
responses:
201:
$ref: '../components/components.yaml#/components/responses/SimpleSuccessResponse'
404:
$ref: '../components/components.yaml#/components/responses/404NotFound'
default:
$ref: '../components/components.yaml#/components/responses/UnexpectedError'
delete:
summary: Delete profile from the followers list
parameters:
- in: path
name: profileId
required: true
schema:
type: string
description: Profile ID
operationId: rest.profile.followers.delete
security:
- jwt: []
responses:
204:
$ref: '../components/components.yaml#/components/responses/SimpleSuccessResponse'
404:
$ref: '../components/components.yaml#/components/responses/404NotFound'
default:
$ref: '../components/components.yaml#/components/responses/UnexpectedError'