ServicesServiceId.GET.yaml 1.86 KB
Newer Older
1
description: This method retrieves information about a meService resource. This method is typically used in "service availability query" procedure
2
operationId: ServicesServiceId_GET
3
4
produces:
- application/json
5

6
7
8
9
10
11
12
13
14
15
responses:
  200:
    description: It is used to indicate nonspecific success. The response body contains a representation of the resource.
    schema:
      type: object
      properties:
        ServiceInfo:
          $ref: '#/definitions/ServiceInfo'
    examples:
      application/json:
16
        ServiceInfo:
17
18
          serInstanceId: 'ServiceInstance123'
          serName: 'ExampleService'
19
          serCategory:
20
21
22
23
24
25
26
            href: 'catItem1'
            id: 'id12345'
            name: 'RNI'
            version: 'version1'
          version: 'ServiceVersion1'
          state: 'ACTIVE'
          transportId: 'Rest1'
27
          transportInfo:
28
29
30
31
32
            id: 'TransId12345'
            name: 'REST'
            description: 'REST API'
            type: 'REST_HTTP'
            protocol: 'HTTP'
33
34
35
            version: '2.0'
            endpoint:
              uris:
36
              - '/meMp1/service/EntryPoint'
37
38
              addresses:
              - host: '192.0.2.0'
39
                port: 8080
40
            security:
41
              oAuth2Info:
42
43
44
                grantTypes: 'OAUTH2_CLIENT_CREDENTIALS'
                tokenEndpoint: '/meMp1/security/TokenEndPoint'
          serializer: 'JSON'
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  400:
    description: Bad Request
    schema:
      type: object
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'
  403:
    description: Forbidden
    schema:
      type: object
      required:
      - ProblemDetails
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'
  404:
    description: Not Found
    schema:
      type: object
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'