Skip to content

Commit aec3469

Browse files
author
Divya Bhushan
authored
Merge branch 'master' into pythonsdk-update
2 parents 49ae9f3 + c935ef5 commit aec3469

17 files changed

+1661
-2
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
requestBody:
9+
required: true
10+
content:
11+
application/json:
12+
schema:
13+
$ref: '../../components/schemas.yaml#/schemas/CreateNetworkSegmentPayloadSchema'
14+
examples:
15+
payloadExample:
16+
$ref: '../../components/examples.yaml#/examples/CreateNetworkSegmentPayloadExample'
17+
responses:
18+
'201':
19+
description: Network Segment Successfully Created
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/CreateNetworkSegmentResponse'
24+
examples:
25+
createNetworkSegmentResponseExample:
26+
$ref: '../../components/examples.yaml#/examples/CreateNetworkSegmentResponseExample'
27+
'4XX':
28+
description: Client Error Response
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
33+
examples:
34+
Bad Request:
35+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
36+
Forbidden access:
37+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
38+
Too many requests:
39+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
40+
'5XX':
41+
description: Server Error Response
42+
content:
43+
application/json:
44+
schema:
45+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
46+
examples:
47+
serverErrorResponseExample:
48+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
requestBody:
9+
required: true
10+
content:
11+
application/json:
12+
schema:
13+
$ref: '../../components/schemas.yaml#/schemas/CreateSitePayloadSchema'
14+
examples:
15+
payloadExample:
16+
$ref: '../../components/examples.yaml#/examples/CreateSitePayloadExample'
17+
responses:
18+
'201':
19+
description: Site Successfully Created
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/CreateSiteResponse'
24+
examples:
25+
createSiteResponseExample:
26+
$ref: '../../components/examples.yaml#/examples/CreateSiteResponseExample'
27+
'4XX':
28+
description: Client Error Response
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
33+
examples:
34+
Bad Request:
35+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
36+
Forbidden access:
37+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
38+
Too many requests:
39+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
40+
'5XX':
41+
description: Server Error Response
42+
content:
43+
application/json:
44+
schema:
45+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
46+
examples:
47+
serverErrorResponseExample:
48+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
requestBody:
9+
required: true
10+
content:
11+
application/json:
12+
schema:
13+
$ref: '../../components/schemas.yaml#/schemas/CreateSubnetPayloadSchema'
14+
examples:
15+
payloadExample:
16+
$ref: '../../components/examples.yaml#/examples/CreateSubnetPayloadExample'
17+
responses:
18+
'201':
19+
description: Subnet Successfully Created
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/CreateSubnetResponse'
24+
examples:
25+
createSubnetResponseExample:
26+
$ref: '../../components/examples.yaml#/examples/CreateSubnetResponseExample'
27+
'4XX':
28+
description: Client Error Response
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
33+
examples:
34+
Bad Request:
35+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
36+
Forbidden access:
37+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
38+
Too many requests:
39+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
40+
'5XX':
41+
description: Server Error Response
42+
content:
43+
application/json:
44+
schema:
45+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
46+
examples:
47+
serverErrorResponseExample:
48+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
requestBody:
9+
required: true
10+
content:
11+
application/json:
12+
schema:
13+
$ref: '../../components/schemas.yaml#/schemas/DeleteNetworkSegmentPayloadSchema'
14+
examples:
15+
payloadExample:
16+
$ref: '../../components/examples.yaml#/examples/DeleteNetworkSegmentPayloadExample'
17+
responses:
18+
'200':
19+
description: Network Segment Successfully Deleted
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/DeleteNetworkSegmentResponse'
24+
examples:
25+
deleteNetworkSegmentResponseExample:
26+
$ref: '../../components/examples.yaml#/examples/DeleteNetworkSegmentResponseExample'
27+
'4XX':
28+
description: Client Error Response
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
33+
examples:
34+
Bad Request:
35+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
36+
Forbidden access:
37+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
38+
Too many requests:
39+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
40+
'5XX':
41+
description: Server Error Response
42+
content:
43+
application/json:
44+
schema:
45+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
46+
examples:
47+
serverErrorResponseExample:
48+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
- description: Name of the site to be deleted
9+
in: query
10+
name: external_id
11+
required: true
12+
schema:
13+
type: string
14+
responses:
15+
'200':
16+
description: Site Successfully Deleted
17+
content:
18+
application/json:
19+
schema:
20+
$ref: '../../components/schemas.yaml#/schemas/DeleteSiteResponse'
21+
examples:
22+
deleteSiteResponseExample:
23+
$ref: '../../components/examples.yaml#/examples/DeleteSiteResponseExample'
24+
'4XX':
25+
description: Client Error Response
26+
content:
27+
application/json:
28+
schema:
29+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
30+
examples:
31+
Bad Request:
32+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
33+
Forbidden access:
34+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
35+
Too many requests:
36+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
37+
'5XX':
38+
description: Server Error Response
39+
content:
40+
application/json:
41+
schema:
42+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
43+
examples:
44+
serverErrorResponseExample:
45+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
requestBody:
9+
required: true
10+
content:
11+
application/json:
12+
schema:
13+
$ref: '../../components/schemas.yaml#/schemas/DeleteSubnetPayloadSchema'
14+
examples:
15+
payloadExample:
16+
$ref: '../../components/examples.yaml#/examples/DeleteSubnetPayloadExample'
17+
responses:
18+
'200':
19+
description: Subnet Successfully Deleted
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/DeleteSubnetResponse'
24+
examples:
25+
deleteSubnetResponseExample:
26+
$ref: '../../components/examples.yaml#/examples/DeleteSubnetResponseExample'
27+
'4XX':
28+
description: Client Error Response
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
33+
examples:
34+
Bad Request:
35+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
36+
Forbidden access:
37+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
38+
Too many requests:
39+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
40+
'5XX':
41+
description: Server Error Response
42+
content:
43+
application/json:
44+
schema:
45+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
46+
examples:
47+
serverErrorResponseExample:
48+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
- description: Start time for the query in ISO format
9+
in: query
10+
name: stime
11+
required: false
12+
schema:
13+
type: string
14+
format: date-time
15+
- description: Number of results to return per page
16+
in: query
17+
name: pagelength
18+
required: false
19+
schema:
20+
type: integer
21+
minimum: 1
22+
- description: Offset for pagination
23+
in: query
24+
name: offset
25+
required: false
26+
schema:
27+
type: integer
28+
minimum: 0
29+
responses:
30+
'200':
31+
description: Network Segments Successfully Retrieved
32+
content:
33+
application/json:
34+
schema:
35+
$ref: '../../components/schemas.yaml#/schemas/GetNetworkSegmentResponse'
36+
examples:
37+
getNetworkSegmentResponseExample:
38+
$ref: '../../components/examples.yaml#/examples/GetNetworkSegmentResponseExample'
39+
'4XX':
40+
description: Client Error Response
41+
content:
42+
application/json:
43+
schema:
44+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
45+
examples:
46+
Bad Request:
47+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
48+
Forbidden access:
49+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
50+
Too many requests:
51+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
52+
'5XX':
53+
description: Server Error Response
54+
content:
55+
application/json:
56+
schema:
57+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
58+
examples:
59+
serverErrorResponseExample:
60+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
parameters:
2+
- description: The customer ID to which the API call is directed
3+
in: query
4+
name: customerid
5+
required: true
6+
schema:
7+
type: string
8+
responses:
9+
'200':
10+
description: Sites Successfully Retrieved
11+
content:
12+
application/json:
13+
schema:
14+
$ref: '../../components/schemas.yaml#/schemas/GetSiteResponse'
15+
examples:
16+
getSiteResponseExample:
17+
$ref: '../../components/examples.yaml#/examples/GetSiteResponseExample'
18+
'4XX':
19+
description: Client Error Response
20+
content:
21+
application/json:
22+
schema:
23+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
24+
examples:
25+
Bad Request:
26+
$ref: '../../components/examples.yaml#/examples/BadRequestResponseExample'
27+
Forbidden access:
28+
$ref: '../../components/examples.yaml#/examples/UnauthorizedResponseExample'
29+
Too many requests:
30+
$ref: '../../components/examples.yaml#/examples/RateLimitResponseExample'
31+
'5XX':
32+
description: Server Error Response
33+
content:
34+
application/json:
35+
schema:
36+
$ref: '../../components/schemas.yaml#/schemas/ErrorResponse'
37+
examples:
38+
serverErrorResponseExample:
39+
$ref: '../../components/examples.yaml#/examples/ServerErrorResponseExample'

0 commit comments

Comments
 (0)