Skip to content

Commit

Permalink
Update schema: openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudflare-schema-publisher[bot] committed May 24, 2024
1 parent 1ee1389 commit 117e801
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8416,47 +8416,34 @@ components:
- success
- errors
- messages
- result
properties:
errors:
$ref: '#/components/schemas/cloudforce-one_messages'
messages:
$ref: '#/components/schemas/cloudforce-one_messages'
result:
anyOf:
- type: object
- type: array
items: {}
- type: string
success:
type: boolean
description: Whether the API call was successful
enum:
- true
example: true
cloudforce-one_api-response-common-failure:
type: object
required:
- success
- errors
- messages
- result
properties:
errors:
allOf:
- $ref: '#/components/schemas/cloudforce-one_messages'
example:
- code: 7003
message: No route for the URI
minLength: 1
messages:
allOf:
- $ref: '#/components/schemas/cloudforce-one_messages'
example: []
result:
type: object
enum:
- null
nullable: true
success:
type: boolean
description: Whether the API call was successful
enum:
- false
example: false
allOf:
- $ref: '#/components/schemas/cloudforce-one_api-response-common'
- properties:
errors:
example:
code: 10433
message: request error
success:
example: false
cloudforce-one_api-response-single:
allOf:
- $ref: '#/components/schemas/cloudforce-one_api-response-common'
Expand Down Expand Up @@ -23079,9 +23066,7 @@ components:
result:
anyOf:
- type: object
nullable: true
- type: string
nullable: true
type: object
magic-visibility_identifier:
type: string
Expand Down Expand Up @@ -26758,12 +26743,24 @@ components:
type: object
properties:
count:
type: integer
description: The number of items on the current page.
example: 1
page:
type: integer
description: The page currently being requested.
example: 1
per_page:
type: integer
description: The number of items per page being returned.
example: 100
total_count:
type: integer
description: The total count of items.
example: 1
total_pages:
type: integer
description: The total count of pages.
example: 1
- properties:
result:
Expand Down Expand Up @@ -27129,6 +27126,11 @@ components:
example:
name: some-bucket
properties:
jurisdiction:
type: string
description: Jurisdiction of the R2 bucket.
example: eu
nullable: true
name:
type: string
description: Name of the R2 bucket.
Expand Down Expand Up @@ -62046,12 +62048,6 @@ paths:
items:
$ref: '#/components/schemas/mq_rule'
responses:
4XX:
description: Create Configuration failure
content:
application/json:
schema:
$ref: '#/components/schemas/mq_api-response-common-failure'
"200":
description: Create Configuration response
content:
Expand Down Expand Up @@ -62080,6 +62076,12 @@ paths:
messages: []
result: null
success: false
4XX:
description: Create Configuration failure
content:
application/json:
schema:
$ref: '#/components/schemas/mq_api-response-common-failure'
security:
- api_email: []
api_key: []
Expand Down

0 comments on commit 117e801

Please sign in to comment.