Apache James · Schema

Task

An asynchronous task

EmailIMAPJavaJMAPMail ServerOpen-SourceSMTP

Properties

Name Type Description
taskId string Unique task identifier
type string Task type
status string Task status
submitDate string When the task was submitted
startedDate string When the task started executing
completedDate string When the task completed
View JSON Schema on GitHub

JSON Schema

webadmin-rest-api-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-james/refs/heads/main/json-schema/webadmin-rest-api-task-schema.json",
  "title": "Task",
  "description": "An asynchronous task",
  "type": "object",
  "properties": {
    "taskId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique task identifier",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "type": {
      "type": "string",
      "description": "Task type",
      "example": "reindexing"
    },
    "status": {
      "type": "string",
      "description": "Task status",
      "enum": [
        "waiting",
        "inProgress",
        "completed",
        "failed",
        "cancelled"
      ],
      "example": "completed"
    },
    "submitDate": {
      "type": "string",
      "format": "date-time",
      "description": "When the task was submitted",
      "example": "2025-03-15T14:30:00Z"
    },
    "startedDate": {
      "type": "string",
      "format": "date-time",
      "description": "When the task started executing",
      "example": "2025-03-15T14:30:01Z"
    },
    "completedDate": {
      "type": "string",
      "format": "date-time",
      "description": "When the task completed",
      "example": "2025-03-15T14:30:05Z"
    }
  }
}

Work with this as data

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/webadmin-rest-api-task"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.