Class Analyses

Hierarchy

Index

Constructors

constructor

Methods

create

delete

  • delete(analysisID: GenericID): Promise<string>

downloadScript

  • downloadScript(analysisID: GenericID): Promise<{ expire_at: string; size: number; size_unit: string; url: string }>
  • Get a url to download the analysis

    Parameters

    • analysisID: GenericID

      Analyze identification

    Returns Promise<{ expire_at: string; size: number; size_unit: string; url: string }>

edit

info

list

  • Retrieves a list with all analyses from the account

    default

    json queryObj: { page: 1, fields: ["id", "name"], filter: {}, amount: 20, orderBy: "name,asc", } json

    Parameters

    Returns Promise<AnalysisInfo[]>

run

tokenGenerate

  • tokenGenerate(analysisID: GenericID): Promise<string>

uploadScript

  • Upload a file (base64) to Analysis. Automatically erase the old one

    Parameters

    • analysisID: GenericID

      Analyze identification

    • fileObj: ScriptFile

      Object with name, language and content of the file

    Returns Promise<string>