Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Condoit

The class to create an instance to use the Phabricator api

class

Condoit

Hierarchy

  • Condoit

Index

Constructors

constructor

  • new Condoit(baseUrl: string, apiToken: string, headers?: object): Condoit
  • Creates an instance of Condoit.

    memberof

    Condoit

    Parameters

    • baseUrl: string

      The base url for a phabricator instance

    • apiToken: string

      A valid phabricator conduit api token

    • Default value headers: object = {}

      Optional headers to pass to the phabricator endpoint

    Returns Condoit

Object literals

almanac

almanac: object

Service Directory

memberof

Condoit

bindingEdit

bindingSearch

deviceEdit

deviceSearch

interfaceEdit

interfaceSearch

namespaceEdit

  • namespaceEdit(): never

namespaceSearch

networkEdit

networkSearch

serviceEdit

serviceSearch

audit

audit: object

Marked for deprecation Query audit requests. Docs

memberof

Condoit

query

auth

auth: object

Login/Registration

memberof

Condoit

logout

  • logout(): Promise<void>

querypublickeys

badge

badge: object

Achievements and Notoriety

memberof

Condoit

edit

search

conduit

conduit: object

Developer API

memberof

Condoit

connect

getcapabilities

getcertificate

  • getcertificate(options: object): Promise<any>
  • Retreive certificate information for a user. Docs

    Parameters

    • options: object
      • host: string
      • token: string

    Returns Promise<any>

ping

query

conpherence

conpherence: object

Chat with others.

memberof

Condoit

createthread

edit

querythread

  • Query for Conpherence threads for the logged in user. You can query by IDs or PHIDs for specific Conpherence threads. Otherwise, specify limit and offset to query the most recently updated Conpherences for the logged in user. Docs

    Parameters

    Returns Promise<RetConpherenceQuerythread>

querytransaction

  • Query for transactions for the logged in user within a specific Conpherence room. You can specify the room by ID or PHID. Otherwise, specify limit and offset to query the most recent transactions within the Conpherence room for the logged in user. Docs

    Parameters

    Returns Promise<RetConpherenceQuerytransaction>

updatethread

countdown

countdown: object

Countdown to Events.

memberof

Condoit

edit

search

dashboard

dashboard: object

panelEdit

  • panelEdit(): never

differential

differential: object

Pre-commit review

memberof

Condoit

close

  • Marked for deprecation Close a differential revision. Docs

    Parameters

    • options: object
      • revisionID: number

    Returns Promise<GenericReturn>

createcomment

creatediff

createinline

createrawdiff

createrevision

  • Marked for deprecation Create a new differential revision. Docs

    Parameters

    • options: object
      • diffid: string
      • fields: object

    Returns Promise<GenericReturn>

diffSearch

getcommitmessage

getcommitpaths

  • Query which paths should be included when committing a Differential revision. Docs

    Parameters

    • options: object
      • revision_id: number

    Returns Promise<GenericReturn>

getrawdiff

parsecommitmessage

  • Parse commit messages for Differential fields. Docs

    Parameters

    • options: object
      • corpus: string
      • Optional partial?: undefined | false | true

    Returns Promise<GenericReturn>

query

querydiffs

  • Marked for deprecation Query differential diffs which match certain criteria. Docs

    Parameters

    • options: object
      • Optional ids?: Array<number>
      • Optional revisionIDs?: Array<number>

    Returns Promise<GenericReturn>

revisionEdit

revisionSearch

setdiffproperty

  • Attach properties to Differential diffs. Docs

    Parameters

    • options: object
      • data: string
      • diff_id: string
      • name: string

    Returns Promise<GenericReturn>

updaterevision

diffusion

diffusion: object

Host and Browse Repositories

memberof

Condoit

blame

branchquery

browsequery

commitEdit

commitSearch

commitparentsquery

diffquery

existsquery

filecontentquery

findsymbols

getlintmessages

historyquery

lastmodifiedquery

looksoon

  • Advises Phabricator to look for new commits in a repository as soon as possible. This advice is most useful if you have just pushed new commits to that repository. Docs

    Parameters

    • options: object
      • Optional repositories?: Array<string>
      • Optional urgency?: undefined | string

    Returns Promise<GenericReturn>

mergedcommitsquery

querycommits

querypaths

  • querypaths(options?: iDiffusion.DiffusionQuerypaths): Promise<GenericReturn>
  • Filename search on a repository. Docs

    Parameters

    • Optional options: iDiffusion.DiffusionQuerypaths

    Returns Promise<GenericReturn>

rawdiffquery

refsquery

repositoryEdit

repositorySearch

resolverefs

searchquery

tagsquery

updatecoverage

uriEdit

drydock

drydock: object

Allocate software resources.

memberof

Condoit

authorizationSearch

blueprintEdit

blueprintSearch

leaseSearch

resourceSearch

edge

edge: object

Edge relationships between objects.

memberof

Condoit

search

feed

feed: object

Review recent activity.

memberof

Condoit

publish

  • Publish a story to the feed. Docs

    Parameters

    • options: object
      • data: object
      • Optional time?: undefined | number
      • type: string

    Returns Promise<GenericReturn>

query

file

file: object

Store and Share files.

memberof

Condoit

allocate

download

  • download(options: object): Promise<string | object>
  • Down a stored file. Docs

    Parameters

    • options: object
      • encoding: string
      • path: string
      • phid: string

    Returns Promise<string | object>

    Base64 encoded file as string.

info

  • Marked for deprecation Get information about a file. Docs

    Parameters

    • options: object
      • Optional id?: undefined | number
      • Optional phid?: undefined | string

    Returns Promise<RetFileInfo>

querychunks

search

upload

uploadchunk

flag

flag: object

Personal bookmarks.

memberof

Condoit

delete

  • Clear or delete a flag or bookmark Docs

    Parameters

    • options: object
      • id: number
      • objectPHID: string

    Returns Promise<RetFlagDelete>

edit

  • Create or modify a flag Docs

    Parameters

    • options: object
      • color: number
      • note: string
      • objectPHID: string

    Returns Promise<RetFlagEdit>

query

harbormaster

harbormaster: object

Harbormaster is the application used to track and manage CI/CD within Phabricator

memberof

Condoit

artifactSearch

buildSearch

buildableSearch

buildplanEdit

buildplanSearch

createArtifact

logSearch

queryAutotargets

  • Load or create build autotargets. Docs

    Parameters

    • options: object
      • objectPHID: string
      • targetKeys: Array<string>

    Returns Promise<GenericReturn>

querybuildables

sendmessage

targetSearch

helper

helper: object

Helper functions

memberof

Condoit

getSubtaskParent

  • Get all the parents of a subtask

    Parameters

    • options: object
      • phids: Array<string>

    Returns Promise<RetEdgeSearch>

getSubtasks

  • Get all subtasks for a task

    Parameters

    • options: object
      • phids: Array<string>

    Returns Promise<RetEdgeSearch>

macro

macro: object

The Macro application is used for image hosting.

memberof

Condoit

creatememe

  • Create a meme from an existing image. Docs

    Parameters

    • options: object
      • Optional lowerText?: undefined | string
      • macroName: string
      • Optional upperText?: undefined | string

    Returns Promise<RetMacroCreatememe>

edit

query

maniphest

maniphest: object

API endpoints for Maniphest which is Phabricators task management system.

memberof

Condoit

createtask

edit

gettasktransactions

info

  • Marked for deprecation Retrieve information about a Maniphest task, given its ID. Docs

    Parameters

    • options: object
      • taskId: number

    Returns Promise<RetManiphestInfo>

prioritySearch

query

querystatuses

search

statusSearch

update

owners

owners: object

API endpoints for the Owners application.

memberof

Condoit

edit

search

passphrase

passphrase: object

API around Phabricators credential store.

memberof

Condoit

query

paste

paste: object

Paste is the application to host code snippets.

memberof

Condoit

create

edit

query

search

phame

phame: object

API around the Phame application which is the blogging service provided by Phabricator.

memberof

Condoit

blogEdit

blogSearch

postEdit

postSearch

phid

phid: object

API around PHID which is the unique identifier used by Phabricator across all applications.

memberof

Condoit

lookup

query

  • Retrieve information about arbitrary PHIDs. Docs

    Parameters

    • options: object
      • phids: Array<string>

    Returns Promise<RetPhidQuery>

phriction

phriction: object

API around the Phriction application which is a wiki service.

memberof

Condoit

contentSearch

create

  • Create a new Phriction wiki document. Docs

    Parameters

    • options: object
      • content: string
      • Optional description?: undefined | string
      • slug: string
      • title: string

    Returns Promise<RetPhrictionCreate>

documentSearch

edit

  • Edit an existing Phriction wiki document. Docs

    Parameters

    • options: object
      • Optional content?: undefined | string
      • Optional description?: undefined | string
      • slug: string
      • Optional title?: undefined | string

    Returns Promise<RetPhrictionEdit>

info

portal

portal: object

edit

search

project

project: object

API around the Project application in Phabricator.

memberof

Condoit

columnSearch

edit

query

search

remarkup

remarkup: object

API around converting markdown to markup

memberof

Condoit

process

repository

repository: object

API around getting information about repositories.

memberof

Condoit

query

slowvote

slowvote: object

API endpoints around polls.

memberof

Condoit

pollSearch

token

token: object

Tokens are badges/emojies that are applied to Phabricator applications.

memberof

Condoit

give

given

query

transaction

transaction: object

API endpoints related to transaction management. Transactions are objects applied to any Phabricator applicaiton.

memberof

Condoit

search

user

user: object

API endpoints related to user management.

memberof

Condoit

edit

search

whoami

Generated using TypeDoc