SOL009_endpoints.yaml 4.4 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
# Copyright (c) ETSI 2019.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt
endpoints:
  api_versions:
    parameters:
      - name: Version
        description: >
          Version of the API requested to use when responding to this request.
        in: header
        required: false
Giacomo Bernini's avatar
Giacomo Bernini committed
11
12
13
14
15
16
17
18
19
        schema:
          type: string
      - name: Authorization
        description: >-
          The authorization token for the request. Reference: IETF RFC 7235
        in: header
        required: false
        schema:
          type: string
20
21
22
23
24
25
26
27
28
29
30
31
32
    get:
      description: >
        The GET method reads API version information. This method shall follow the provisions specified in
        table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not
        supported.
      responses:
        200:
          description: >
            200 OK
            
            API version information was read successfully.
            The response body shall contain 4.4 API version
            information, as defined in clause 4.4.1.13.
Giacomo Bernini's avatar
Giacomo Bernini committed
33
34
35
          content:
            application/json:
              schema:
36
                $ref: '../components/SOL009_schemas.yaml#/components/schemas/ApiVersionInformation'
37
38
39
          headers:
            Content-Type:
              description: The MIME type of the body of the response.
Giacomo Bernini's avatar
Giacomo Bernini committed
40
41
42
43
44
45
46
47
48
49
50
51
52
              schema:
                type: string
                maximum: 1
                minimum: 1
            WWW-Authenticate:
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP
                request has provided an invalid authorization token.
              schema:
                type: string
                maximum: 1
                minimum: 0
53
54
            Version:
              description: The used API version.
Giacomo Bernini's avatar
Giacomo Bernini committed
55
56
57
58
59
              schema:
                type: string
                maximum: 1
                minimum: 1
        400:
Giacomo Bernini's avatar
Giacomo Bernini committed
60
          $ref: '../components/SOL009_resp.yaml#/components/responses/400'
Giacomo Bernini's avatar
Giacomo Bernini committed
61
        401:
Giacomo Bernini's avatar
Giacomo Bernini committed
62
          $ref: '../components/SOL009_resp.yaml#/components/responses/401'
Giacomo Bernini's avatar
Giacomo Bernini committed
63
        403:
Giacomo Bernini's avatar
Giacomo Bernini committed
64
          $ref: '../components/SOL009_resp.yaml#/components/responses/403'
Giacomo Bernini's avatar
Giacomo Bernini committed
65
        404:
Giacomo Bernini's avatar
Giacomo Bernini committed
66
          $ref: '../components/SOL009_resp.yaml#/components/responses/404'
Giacomo Bernini's avatar
Giacomo Bernini committed
67
        406:
Giacomo Bernini's avatar
Giacomo Bernini committed
68
          $ref: '../components/SOL009_resp.yaml#/components/responses/406'
Giacomo Bernini's avatar
Giacomo Bernini committed
69
        413:
Giacomo Bernini's avatar
Giacomo Bernini committed
70
          $ref: '../components/SOL009_resp.yaml#/components/responses/413'
Giacomo Bernini's avatar
Giacomo Bernini committed
71
        414:
Giacomo Bernini's avatar
Giacomo Bernini committed
72
          $ref: '../components/SOL009_resp.yaml#/components/responses/414'
Giacomo Bernini's avatar
Giacomo Bernini committed
73
        416:
Giacomo Bernini's avatar
Giacomo Bernini committed
74
          $ref: '../components/SOL009_resp.yaml#/components/responses/416'
Giacomo Bernini's avatar
Giacomo Bernini committed
75
        422:
Giacomo Bernini's avatar
Giacomo Bernini committed
76
          $ref: '../components/SOL009_resp.yaml#/components/responses/422'
Giacomo Bernini's avatar
Giacomo Bernini committed
77
        429:
Giacomo Bernini's avatar
Giacomo Bernini committed
78
          $ref: '../components/SOL009_resp.yaml#/components/responses/429'
Giacomo Bernini's avatar
Giacomo Bernini committed
79
        500:
Giacomo Bernini's avatar
Giacomo Bernini committed
80
          $ref: '../components/SOL009_resp.yaml#/components/responses/500'
Giacomo Bernini's avatar
Giacomo Bernini committed
81
        503:
Giacomo Bernini's avatar
Giacomo Bernini committed
82
          $ref: '../components/SOL009_resp.yaml#/components/responses/503'
Giacomo Bernini's avatar
Giacomo Bernini committed
83
        504:
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
          $ref: '../components/SOL009_resp.yaml#/components/responses/504'
    post:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    put:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    patch:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    delete:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405