Options
All
  • Public
  • Public/Protected
  • All
Menu

接口定义

Hierarchy

Indexable

[key: string]: any

接口定义

Index

Properties

_category

_category: Omit<Category, "list">

所属分类信息(由 YTT 自行实现)

_id

_id: number

接口 ID

add_time

add_time: number

创建时间(unix时间戳)

catid

catid: number

所属分类 id

markdown

markdown: string

接口备注

method

method: Method

请求方式,HEAD、OPTIONS 处理与 GET 相似,其余处理与 POST 相似

path

path: string

请求路径

project_id

project_id: number

所属项目 id

req_body_form

req_body_form: Array<object>

req_body_type = form 时的请求内容

req_body_is_json_schema

req_body_is_json_schema: boolean

req_body_type = json 时是否为 json schema

req_body_other

req_body_other: string

req_body_type = json 时的请求内容

req_body_type

req_body_type: RequestBodyType

仅 POST:请求内容类型。为 text, file, raw 时不必特殊处理。

req_params

req_params: Array<object>

路径参数

req_query

req_query: Array<object>

仅 GET:请求串

res_body

res_body: string

返回数据

res_body_is_json_schema

res_body_is_json_schema: boolean

res_body_type = json 时是否为 json schema

res_body_type

res_body_type: ResponseBodyType

返回数据类型

status

status: LiteralUnion<"done" | "undone", string>

状态

tag

tag: string[]

标签列表

title

title: string

接口名称

up_time

up_time: number

更新时间(unix时间戳)

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc