aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/open-api-fragments/v2-fragments/responses.yaml
blob: 32dfb3e9ce51b7266a52b73247eadae4e65fbd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
responses:
  Locked:
    description: Locked - HTTP Status code which can be used when the state is Locked
    content:
      application/problem+json:
        schema:
          $ref: 'schemas.yaml#/schemas/error_information'
        example:
          status: 423
          title: Locked
          detail: Requested resource is in a locked state.
  BadRequest:
    description: Bad Request
    content:
      application/problem+json:
        schema:
          $ref: 'schemas.yaml#/schemas/error_information'
        example:
          status: 400
          title: Bad Request
          detail: The provided request is not valid.
  Forbidden:
    description: Forbidden
    content:
      application/problem+json:
        schema:
          $ref: 'schemas.yaml#/schemas/error_information'
        example:
          status: 403
          title: Forbidden
          detail: Your role does not allow to perform this action. Contact System Administrator to change your access rights.
  NotFound:
    description: Not Found
    content:
      application/problem+json:
        example:
          [ ]