Skip to main content

Get document with header parameter

GET 

/documents/:docId

Schema:

docId:
in: path
required: true
schema:
type: string
X-API-Version:
in: header
schema:
type: array
items:
type: string
style: simple
explode: false

Example:

{docId} = "doc123"
X-API-Version: ["v1", "v2"]
Result URL: /documents/doc123
Header: X-API-Version: v1,v2

Request

Responses

Successful response