RestRequest
Represents an HTTP request in RestSharp. Defines the resource path, HTTP method, parameters, body, and per-request options.
.NETApache LicenseC#HTTP ClientNuGetOpen-SourceSDK
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://restsharp.dev/schemas/rest-request",
"title": "RestRequest",
"description": "Represents an HTTP request in RestSharp. Defines the resource path, HTTP method, parameters, body, and per-request options.",
"type": "object",
"properties": {
"resource": {
"type": "string",
"description": "Resource path relative to the client's base URL (e.g., /users/{id})"
},
"method": {
"type": "string",
"enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"],
"description": "HTTP method for the request. Default: GET"
},
"parameters": {
"type": "array",
"description": "List of parameters (path, query, header, cookie, form, body)",
"items": {
"$ref": "#/$defs/Parameter"
}
},
"timeout": {
"type": "integer",
"description": "Request-level timeout override in milliseconds"
},
"requestFormat": {
"type": "string",
"enum": ["Json", "Xml", "MultipartFormData", "UrlEncodedForm"],
"description": "Format for the request body serialization"
},
"files": {
"type": "array",
"description": "Files to include in a multipart form request",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"fileName": { "type": "string" },
"contentType": { "type": "string" }
}
}
}
},
"$defs": {
"Parameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Parameter name"
},
"value": {
"description": "Parameter value"
},
"type": {
"type": "string",
"enum": ["UrlSegment", "QueryString", "HttpHeader", "RequestBody", "Cookie", "GetOrPost"],
"description": "Where the parameter is placed in the request"
},
"contentType": {
"type": "string",
"description": "Content-Type for body parameters"
},
"encode": {
"type": "boolean",
"description": "Whether to URL-encode the parameter value"
}
},
"required": ["name", "type"]
}
}
}
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/restsharp-rest-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.