REST Assured · JSON Structure

Rest Assured Request Structure

Structure of a REST Assured HTTP request specification used in the given() clause.

Type: Properties: 0
Functional TestingTestingJavaAPI TestingAutomation

REST Assured Request Specification is a JSON Structure definition published by REST Assured.

Meta-schema:

JSON Structure

rest-assured-request-structure.json Raw ↑
{
  "name": "REST Assured Request Specification",
  "description": "Structure of a REST Assured HTTP request specification used in the given() clause.",
  "fields": [
    {
      "name": "baseUri",
      "type": "string",
      "format": "uri",
      "required": false,
      "description": "Base URI for the API under test."
    },
    {
      "name": "basePath",
      "type": "string",
      "required": false,
      "description": "Base path appended to the base URI."
    },
    {
      "name": "port",
      "type": "integer",
      "required": false,
      "description": "Port number for the API under test."
    },
    {
      "name": "headers",
      "type": "object",
      "required": false,
      "description": "HTTP request headers as key-value pairs."
    },
    {
      "name": "queryParameters",
      "type": "object",
      "required": false,
      "description": "Query parameters appended to the request URL."
    },
    {
      "name": "pathParameters",
      "type": "object",
      "required": false,
      "description": "Path parameter values for URI templates."
    },
    {
      "name": "body",
      "type": "any",
      "required": false,
      "description": "Request body payload (JSON object, array, or string)."
    },
    {
      "name": "contentType",
      "type": "string",
      "required": false,
      "description": "Content-Type header value for the request body."
    },
    {
      "name": "accept",
      "type": "string",
      "required": false,
      "description": "Accept header value for desired response format."
    },
    {
      "name": "authentication",
      "type": "object",
      "required": false,
      "description": "Authentication configuration (type, credentials).",
      "fields": [
        {
          "name": "type",
          "type": "string",
          "required": true,
          "description": "Authentication type: basic, digest, oauth2, preemptive, certificate."
        },
        {
          "name": "username",
          "type": "string",
          "required": false,
          "description": "Username for basic or digest auth."
        },
        {
          "name": "password",
          "type": "string",
          "required": false,
          "description": "Password for basic or digest auth."
        },
        {
          "name": "token",
          "type": "string",
          "required": false,
          "description": "Bearer token for OAuth2."
        }
      ]
    },
    {
      "name": "cookies",
      "type": "object",
      "required": false,
      "description": "Cookies to send with the request."
    },
    {
      "name": "timeout",
      "type": "integer",
      "required": false,
      "description": "Connection timeout in milliseconds."
    }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/rest-assured-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.