CyberRXN Docs
APIСправочник API

Статистика корпуса

GET /v1/stats

GET /v1/stats

Все операции API · OpenAPI

Доступ

Требуется bearer-авторизация. Описание операции задаёт дополнительные права, роли и ограничения для сессий кабинета. Сам по себе API-ключ их не предоставляет.

Тело запроса

Тело запроса не требуется.

Ответы

HTTPОписаниеТип
200Успешный ответapplication/json: Stats
401Требуется авторизацияapplication/problem+json: ProblemDetails
402Недостаточно кредитовapplication/problem+json: ProblemDetails
403Доступ запрещёнapplication/problem+json: ProblemDetails
408Время запроса истеклоapplication/problem+json: ProblemDetails
413Превышен размер запросаapplication/problem+json: ProblemDetails
422Ошибка входных данныхapplication/problem+json: ProblemDetails
429Превышен лимитapplication/problem+json: ProblemDetails
502Ошибка шлюзаapplication/problem+json: ProblemDetails
503Сервис недоступенapplication/problem+json: ProblemDetails

Ответ: Stats

ПолеТипОбязательноОписание
dataset_revisionstring ∣ nullнет
observationsintegerда
reactionsintegerда
quarantinedintegerда
upstream_validintegerда
with_temperatureintegerда
with_pressureintegerда
with_agentsintegerда
with_all_threeintegerда
schema_versionintegerда
unitsobjectда
expert_confirmedintegerда
similarity_is_predictionbooleanда
ingest_statesobjectда
data_completeboolean ∣ nullда
Полная схема
{
  "properties": {
    "dataset_revision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dataset Revision"
    },
    "observations": {
      "type": "integer",
      "title": "Observations"
    },
    "reactions": {
      "type": "integer",
      "title": "Reactions"
    },
    "quarantined": {
      "type": "integer",
      "title": "Quarantined"
    },
    "upstream_valid": {
      "type": "integer",
      "title": "Upstream Valid"
    },
    "with_temperature": {
      "type": "integer",
      "title": "With Temperature"
    },
    "with_pressure": {
      "type": "integer",
      "title": "With Pressure"
    },
    "with_agents": {
      "type": "integer",
      "title": "With Agents"
    },
    "with_all_three": {
      "type": "integer",
      "title": "With All Three"
    },
    "schema_version": {
      "type": "integer",
      "title": "Schema Version"
    },
    "units": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Units"
    },
    "expert_confirmed": {
      "type": "integer",
      "title": "Expert Confirmed"
    },
    "similarity_is_prediction": {
      "type": "boolean",
      "title": "Similarity Is Prediction"
    },
    "ingest_states": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Ingest States"
    },
    "data_complete": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Complete"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "observations",
    "reactions",
    "quarantined",
    "upstream_valid",
    "with_temperature",
    "with_pressure",
    "with_agents",
    "with_all_three",
    "schema_version",
    "units",
    "expert_confirmed",
    "similarity_is_prediction",
    "ingest_states",
    "data_complete"
  ],
  "title": "Stats"
}

Эта страница генерируется из OpenAPI. Примеры показывают схемы, а не вымышленные успешные ответы.

Расход и оплата · Типизированные ошибки

На этой странице