JokeAPI · JSON Structure

Jokeapi Ping Response Structure

Ping envelope.

Type: object Properties: 3 Required: 3
JokesHumorEntertainmentOpen SourceREST APIGames And ComicsPublic APIs

PingResponse is a JSON Structure definition published by JokeAPI, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

error ping timestamp

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jokeapi/refs/heads/main/json-structure/jokeapi-ping-response-structure.json",
  "name": "PingResponse",
  "description": "Ping envelope.",
  "type": "object",
  "properties": {
    "error": {
      "type": "boolean",
      "example": false
    },
    "ping": {
      "type": "string",
      "example": "Pong!"
    },
    "timestamp": {
      "type": "int32",
      "example": 1780051223357
    }
  },
  "required": [
    "error",
    "ping",
    "timestamp"
  ]
}