Parameter Testing API
Example of an OpenAPI document with different types of parameters.
Servers
List users
Returns a list of users with optional filtering.
Parameters
Header Parameters
API key for authentication
api-key-123
Query Parameters
Filter users by name
John
Filter users by age
25
0
120
1
Maximum number of users to return
10
1
100
20
Number of users to skip for pagination
0
0
0
Responses
Create a new user
Creates a new user with the provided information.
Parameters
Header Parameters
API key for authentication
api-key-123
Unique request identifier for tracing
123e4567-e89b-12d3-a456-426614174000
uuid
Query Parameters
If true, validates the request without creating the user
false
Region for user creation
us-east
us-west
eu-central
us-east
Request Body
Responses
Get user information by ID
Returns information for a specific user.
Parameters
Header Parameters
A custom header for testing purposes
custom-value
3
50
^[a-zA-Z0-9-]+$
Path Parameters
The ID of the user
123
Query Parameters
The age of the user to filter
25
0
120
1
Whether the user accepts cookies
true
Whether the user is subscribed to the newsletter
false
Responses
Update document content
Updates an existing document with plain text content.
Parameters
Header Parameters
API key for authentication
api-key-123
Unique transaction identifier for tracing
123e4567-e89b-12d3-a456-426614174000
uuid
Path Parameters
The ID of the document to update
doc-123
Query Parameters
Document version for concurrency control
2
1
If true, completely overwrites the document instead of merging changes
false
Format of the document content
plain
markdown
html
plain
Tags to associate with the document
important
draft