Skip to content

API: /files/{fileId} #10

@jpuzz0

Description

@jpuzz0

/files/{fileId}
Type: GET
Description: Returns list of file details based on specified fileId
Parameters: fileId

Example response:

{
  id: "2",
  name: "arch/arm64/kernel/file2.c",
  symbols: [
    { id: 1, name: "fput" },
    { id: 2, name: "symbol_1" },
    { id: 3, name: "symbol_2" }
  ],
  sourceCode:
    "\u0066\u0075\u006e\u0063\u0074\u0069\u006f\u006e\u0020\u0066\u0070\u0075\u0074\u0020\u007b\u000a\u0020\u0020\u0072\u0065\u0074\u0075\u0072\u006e\u0020\u0022\u0074\u0068\u0069\u0073\u0020\u0069\u0073\u0020\u0066\u0069\u006c\u0065\u0020\u0032\u0022\u003b\u000a\u007d",
}

NOTE: The "file details" type extends "file summary", where details is just an inclusion of symbolIds and sourceCode

Depends on: #4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions