Use this interface to retrieve a specific case from our database in json.



Endpoint
https://api.tosdr.org/case/v1/
CODE


Parameters

Parameter

Type

Description

case

Integer

The Case ID to retrieve. Omit to list all cases

page

Integer

The pagination number. Default 1


Global Rate Limit

BenefitSecondHourDay
Guest151000

15000

Staff15000100000150000
Office15000100000150000
Partner1501000050000

This rate limit applies to all interfaces. Each Interface and method may implement its own rate limit.


Implemented Error codes

Error Code

INVALID_CASE



JSON Schema
{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "$ref": "#/definitions/Welcome",
    "definitions": {
        "Welcome": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "error": {
                    "type": "integer"
                },
                "message": {
                    "type": "string",
                    "format": "integer"
                },
                "parameters": {
                    "$ref": "#/definitions/Parameters"
                }
            },
            "required": [],
            "title": "Welcome"
        },
        "Parameters": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "id": {
                    "type": "integer"
                },
                "classification": {
                    "type": "string"
                },
                "score": {
                    "type": "integer"
                },
                "title": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "topic_id": {
                    "type": "integer"
                },
                "created_at": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "privacy_related": {
                    "type": "null"
                },
                "docbot_regex": {
                    "type": "string"
                }
            },
            "required": [],
            "title": "Parameters"
        }
    }
}

JS