查看分析输入符号
OpenAPI 契约
- 方法
- GET
- 路径
/api/v1/analyses/{id}/input-index- 认证
- jwtBearer (bearer)
- 响应状态
- 200 400 401 403 404 429 500
请求与响应 Schema
JSON
{
"requestBody": {},
"responses": {
"200": {
"description": "Input class and member metadata",
"content": {
"application/json": {
"$ref": "#/components/schemas/Index"
}
}
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"$ref": "#/components/schemas/RequestError"
}
}
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"403": {
"description": "Not permitted",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"404": {
"description": "Analysis or input not found",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
},
"429": {
"description": "Request or concurrency limit exceeded",
"content": {
"application/json": {
"$ref": "#/components/schemas/RateLimitError"
}
}
},
"500": {
"description": "Unexpected server error",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}读取输入中的类、成员和资源索引以选择 NOL 声明。可以搜索精确类名、成员签名或资源路径。类名与 JVM descriptor 保留精确符号标识,包括方法重载;界面展示可读 Java 签名。索引只读取归档元数据,不执行应用类。仍可手动填写外部符号。
响应保留 classes、resources 和 inputInspection,并新增 entryPointCandidates。每个候选包含 className、method、descriptor、entryName 和 source: "PUBLIC_STATIC_MAIN"。候选仅来自已检查的方法元数据:方法名为 main,描述符为 ([Ljava/lang/String;)V,具有 public/static 访问标志。候选是需要用户选择的提议,不是完整入口声明;不包含 manifest 或注解入口检测。