You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -154,6 +154,7 @@ info:
154
154
| STATUS | DESCRIPTION |
155
155
|---------|-------------|
156
156
| 200 OK | The request was successful. |
157
+
| 202 Accepted | The request was successful, but processing has not been completed. The response body includes a "warnings" array containing the details of incomplete processes. |
157
158
| 204 No Content | The server successfully fulfilled the request and there is no additional content to send. |
158
159
| 400 Bad Request | You submitted an invalid request (missing parameters, etc.). |
159
160
| 401 Unauthorized | You failed to authenticate for this resource. |
@@ -1916,6 +1917,8 @@ paths:
1916
1917
application/json:
1917
1918
schema:
1918
1919
$ref: '#/components/schemas/Payment'
1920
+
'202':
1921
+
$ref: '#/components/responses/WarningResponse'
1919
1922
default:
1920
1923
$ref: '#/components/responses/ErrorResponse'
1921
1924
x-code-samples:
@@ -2070,6 +2073,8 @@ paths:
2070
2073
application/json:
2071
2074
schema:
2072
2075
type: object
2076
+
'202':
2077
+
$ref: '#/components/responses/WarningResponse'
2073
2078
default:
2074
2079
$ref: '#/components/responses/ErrorResponse'
2075
2080
x-code-samples:
@@ -15662,6 +15667,20 @@ components:
15662
15667
type: array
15663
15668
items:
15664
15669
$ref: '#/components/schemas/ErrorObject'
15670
+
WarningResponse:
15671
+
description: |
15672
+
Accepted with warning.
15673
+
15674
+
A warning object is included with the standard 200 response.
15675
+
content:
15676
+
application/json:
15677
+
schema:
15678
+
type: object
15679
+
properties:
15680
+
warnings:
15681
+
type: array
15682
+
items:
15683
+
$ref: '#/components/schemas/WarningObject'
15665
15684
parameters:
15666
15685
pageOffset:
15667
15686
name: page
@@ -22230,6 +22249,21 @@ components:
22230
22249
example:
22231
22250
- example tag
22232
22251
- another example
22252
+
WarningObject:
22253
+
type: object
22254
+
description: >
22255
+
An object for describing a single warning for incomplete processing associated with an accepted request.
22256
+
properties:
22257
+
title:
22258
+
type: string
22259
+
description: >
22260
+
The general warning message.
22261
+
example: Unable to reboot Linode.
22262
+
details:
22263
+
type: string
22264
+
description: >
22265
+
Specific information related to the warning.
22266
+
example: Linode 123 could not be rebooted.
22233
22267
tags:
22234
22268
- name: Account
22235
22269
description: Use the Account endpoints to manage user settings, billing, and payments. You can also initiate and maintain OAuth client application authentication, enable the Linode Managed service, and create new users on your account.
0 commit comments