api.yaml in vgs_api_client-0.0.1.alpha202205202346 vs api.yaml in vgs_api_client-0.0.1.alpha202205210037
- old
+ new
@@ -261,26 +261,117 @@
schema:
type: string
format: byte
example:
aGVsbG8gd29ybGQK
+ description: Stream of bytes base64 encoded up to XX KB in size
+ application/http:
+ schema:
+ type: object
+ properties:
+ method:
+ type: string
+ enum:
+ - POST
+ - PATCH
+ - DELETE
+ - PUT
+ - GET
+ - HEAD
+ uri:
+ type: string
+ format: uri
+ example: https://example.com/software/htp/cics/index.html
+ version:
+ type: string
+ enum:
+ - "1.0"
+ - "1.1"
+ headers:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ body:
+ type: string
+ format: string
+
+ description: https://www.iana.org/assignments/media-types/media-types.xhtml
+ examples:
+ A:
+ summary: Invoke a function with a HTTP request payload
+ value:
+ method: GET
+ uri: https://example.com/software/htp/cics/index.html
+ version: 1.0
+
"*":
schema:
type: string
format: binary?
+ description: Stream of bytes up to XX KB in size
responses:
'200':
description: OK
content:
+ application/http:
+ schema:
+ type: object
+ properties:
+ method:
+ type: string
+ enum:
+ - POST
+ - PATCH
+ - DELETE
+ - PUT
+ - GET
+ - HEAD
+ uri:
+ type: string
+ format: uri
+ example: https://example.com/software/htp/cics/index.html
+ version:
+ type: string
+ enum:
+ - "1.0"
+ - "1.1"
+ headers:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ body:
+ type: string
+ format: string
+
+ description: https://www.iana.org/assignments/media-types/media-types.xhtml
+ example:
+ method: POST
+ uri: https://example.com/software/htp/cics/index.html
+ version: 1.0
+ headers:
+ - key: Content-Type
+ value: text/plain
"text/plain":
schema:
type: string
+ description: Stream of bytes base64 up to XX KB in size
example:
aGVsbG8gd29ybGQK
"*":
schema:
type: string
format: binary
+ description: Stream of bytes up to XX KB in size
default:
$ref: '#/components/responses/ApiErrorsResponse'
/aliases:
post: