Clark Courts

    Clark Courts

    Case Details

    View detailed information about a specific case and its related data.

    GET/cases/view?id={id}

    Case Details

    This endpoint retrieves detailed information about a specific case, including its rulings and associated data.

    Parameters

    id
    string *

    The unique identifier of the case to retrieve.

    Rate limit

    15/minute

    Responses

    200

    Returned when the case is found successfully.

    404

    Returned when the case is not found or access is denied.

    Response

    {
    "status": 200,
    "type": "normal",
    "docketOwner": "DocketOwnerName",
    "success": true,
    "rulings": [
    {
    "id": "r1",
    "case_id": "00000000-0000-0000-0000-000000000000",
    "documents": "Document details",
    "ruling": "The ruling text",
    "created_at": "2023-01-01T00:00:00Z",
    "judge": "Judge Doe",
    "title": "Ruling Title"
    }
    ],
    "data": {
    "id": "1",
    "roblox_userid": "123456",
    "roblox_username": "User1",
    "timestamp": "2023-01-01T00:00:00Z",
    "case_type": "Criminal",
    "defendants": "Defendant 1",
    "plaintiffs": "Plaintiff 1",
    "charges": "Charge details",
    "torts": "Tort details",
    "petitioner": "Petitioner Name",
    "respondent": "Respondent Name",
    "records": "Record details",
    "record_count": 3,
    "last_record": "2023-12-31T00:00:00Z",
    "reasoning": "Reasoning details",
    "attorney": "Attorney Name",
    "description": "Case description",
    "basis": "Basis details",
    "evidence": [
    "https://example.com/evidence1.png",
    "https://example.com/evidence2.png"
    ],
    "case_id": "00000000-0000-0000-0000-000000000000",
    "docket_id": "00000000-0000-0000-0000-000000000000",
    "case_number": "CR-1234-25",
    "title": "Case Title",
    "status": "Active",
    "documents": "Document references",
    "sealed": false
    }
    }
    GET/cases/view/changes?id={id}

    Case Changes

    This endpoint retrieves a list of changes made to a specific case.

    Parameters

    id
    string *

    The unique identifier of the case whose changes are to be retrieved.

    Rate limit

    15/minute

    Responses

    200

    Returned when changes are retrieved successfully.

    400

    Returned when no case id is provided.

    404

    Returned when no changes are found for the given case.

    Response

    {
    "success": true,
    "data": [
    {
    "created_at": "2023-06-15T12:34:56Z",
    "description": "Initial case filing",
    "roblox_userid": "123456",
    "roblox_username": "User1",
    "links": "https://link.to/document",
    "title": "Case Filed",
    "documents": "Document details"
    },
    {
    "created_at": "2023-07-20T09:15:00Z",
    "description": "Status updated to active",
    "roblox_userid": "123456",
    "roblox_username": "User1",
    "links": "https://link.to/status",
    "title": "Status Update",
    "documents": "Status document"
    }
    ]
    }
    GET/cases/view/added?id={id}

    Case Additions

    This endpoint retrieves the list of users added to a case.

    Parameters

    id
    string *

    The unique identifier of the case for which the added users are retrieved.

    Rate limit

    15/minute

    Responses

    200

    Returned when the added users are retrieved successfully.

    400

    Returned when no case id is provided.

    404

    Returned when the case is not found.

    Response

    {
    "success": true,
    "data": [
    {
    "roblox_userid": 123456,
    "username": "User1",
    "avatar": "https://example.com/avatar1.png"
    },
    {
    "roblox_userid": 789012,
    "username": "User2",
    "avatar": "https://example.com/avatar2.png"
    }
    ]
    }