-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspec.yaml
More file actions
79 lines (78 loc) · 1.78 KB
/
spec.yaml
File metadata and controls
79 lines (78 loc) · 1.78 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
swagger: '2.0'
info:
version: '1.0.0'
title: Domain API
description: This is a read-only API that returns the base domain of LivePerson that should be used in the APIs outlined in this document.
contact:
name: Liveperson
email: support@liveperson.com
url: http://liveperson.com
license:
name: MIT
url: http://opensource.org/licenses/MIT
host: api.liveperson.net
basePath: /api
schemes:
- http
consumes:
- application/json
produces:
- application/json
paths:
/{accountId}/service/{serviceName}/baseURI.json?version=1.0:
get:
description: Return the domain for a desired domain name
operationId: domain for account
produces:
- application/json
- application/xml
- text/xml
- text/html
parameters:
- name: accountId
in: path
description: accountId of the desired domain
required: true
type: string
- name: serviceName
in: path
description: maximum number of results to return
required: true
type: string
format: int32
responses:
'200':
description: Domain response
schema:
type: array
items:
$ref: '#/definitions/domain'
default:
description: unexpected error
schema:
$ref: '#/definitions/errorModel'
definitions:
domain:
type: object
required:
- service
- account
- baseURI
properties:
service:
type: string
account:
type: string
baseURI:
type: string
errorModel:
type: object
required:
- code
- message
properties:
code:
type: integer
format: int32
message:
type: string