Interface Endpoint

interface Endpoint {
    codeSamples: {
        code: Partial<Record<
            | "ruby"
            | "javascript"
            | "python"
            | "php"
            | "seam_cli"
            | "go"
            | "java"
            | "csharp", {
            request: string;
            request_syntax:
                | "ruby"
                | "json"
                | "javascript"
                | "python"
                | "php"
                | "go"
                | "java"
                | "csharp"
                | "bash";
            response: string;
            response_syntax:
                | "ruby"
                | "json"
                | "javascript"
                | "python"
                | "php"
                | "go"
                | "java"
                | "csharp"
                | "bash";
            title: string;
        }>>;
        description: string;
        request: {
            parameters: Record<string, Json>;
            path: string;
        };
        response: {
            body: null | Record<string, Json>;
        };
        title: string;
    }[];
    deprecationMessage: string;
    description: string;
    draftMessage: string;
    isDeprecated: boolean;
    isDraft: boolean;
    isUndocumented: boolean;
    name: string;
    path: string;
    request: Request;
    response: Response;
    title: string;
    undocumentedMessage: string;
}

Properties

codeSamples: {
    code: Partial<Record<
        | "ruby"
        | "javascript"
        | "python"
        | "php"
        | "seam_cli"
        | "go"
        | "java"
        | "csharp", {
        request: string;
        request_syntax:
            | "ruby"
            | "json"
            | "javascript"
            | "python"
            | "php"
            | "go"
            | "java"
            | "csharp"
            | "bash";
        response: string;
        response_syntax:
            | "ruby"
            | "json"
            | "javascript"
            | "python"
            | "php"
            | "go"
            | "java"
            | "csharp"
            | "bash";
        title: string;
    }>>;
    description: string;
    request: {
        parameters: Record<string, Json>;
        path: string;
    };
    response: {
        body: null | Record<string, Json>;
    };
    title: string;
}[]
deprecationMessage: string
description: string
draftMessage: string
isDeprecated: boolean
isDraft: boolean
isUndocumented: boolean
name: string
path: string
request: Request
response: Response
title: string
undocumentedMessage: string