@datafire/fisheye_local v3.0.0
@datafire/fisheye_local
Client library for FishEye
Installation and Usage
npm install --save @datafire/fisheye_local
let fisheye_local = require('@datafire/fisheye_local').create();
.then(data => {
console.log(data);
});
Description
Actions
getChangesetsForText
List of changesets from a repository.
fisheye_local.getChangesetsForText({}, context)
Input
- input
object
- rep
string
: the key of the repository - path
string
: repository path - committer
string
: ID of the committer - comment
string
: comment to match - p4JobFixed
string
: Perforce option to select the changesets marked as fixing - expand
string
: expand query parameter to specify the maximum number of results - beforeCsid
string
: parent of the changesets
- rep
Output
Output schema unknown
getChangesetDetails
Retrieves detailed information about a set of changesets in a repository, designed to be used with the FishEye commit graph
fisheye_local.getChangesetDetails({
"repository": ""
}, context)
Input
- input
object
- repository required
string
: the key of the repository
- repository required
Output
Output schema unknown
findSliceData
finds slice data the query
fisheye_local.findSliceData({
"repository": ""
}, context)
Input
- input
object
- branch
string
: the set of branches to search. If not specified, will search all branches - id
string
: the id of the changeset which we are - direction
string
: the direction to traverse. May be "before", "after" or "around" - size
integer
: the number of changesets to return in the slice - repository required
string
: the key of the repository to search
- branch
Output
Output schema unknown
getAllRepositories
List all the repositories.
fisheye_local.getAllRepositories(null, context)
Input
This action has no parameters
Output
Output schema unknown
getRepositoryInfo
Get the information about a repository.
fisheye_local.getRepositoryInfo({
"repository": ""
}, context)
Input
- input
object
- repository required
string
: the key of the repository
- repository required
Output
Output schema unknown
getChangeset
fisheye_local.getChangeset({
"csid": "",
"repository": ""
}, context)
Input
- input
object
- csid required
string
: the ChangesetID of the changeset to return. - repository required
string
: the key of the repository to query.
- csid required
Output
Output schema unknown
listChangesets
Get a list of changesets on a repository.
fisheye_local.listChangesets({
"repository": ""
}, context)
Input
- input
object
- path
string
: restrict the changesets to those in this path, should be "/" to look at the whole repository. - start
string
: only return changesets after this date. - end
string
: only return changesets before this date. - maxReturn
string
: the maximum number of changesets to return. - repository required
string
: the key of the repository to query.
- path
Output
Output schema unknown
listPathHistory
Get a list of the file revisions for a specific path.
fisheye_local.listPathHistory({
"repository": ""
}, context)
Input
- input
object
- path
string
: the path to query. - repository required
string
: the key of the repository to query.
- path
Output
Output schema unknown
getPathList
Get a list of information about files and directories in a path.
fisheye_local.getPathList({
"repository": ""
}, context)
Input
- input
object
- path
string
: the path to query, with respect to the fisheye repository root. - repository required
string
: the key of the repository to query.
- path
Output
Output schema unknown
getRevisionInfo
fisheye_local.getRevisionInfo({
"repository": ""
}, context)
Input
- input
object
- path
string
: the path of the filerevision, with respect to the fisheye repository root. - revision
string
: the id of the filerevision to retrieve. - repository required
string
: the key of the repository to query.
- path
Output
Output schema unknown
listTagsForRevision
fisheye_local.listTagsForRevision({
"repository": ""
}, context)
Input
- input
object
- path
string
: the path of the filerevision, with respect to the fisheye repository root. - revision
string
: the id of the filerevision to retrieve. - repository required
string
: the key of the repository to query.
- path
Output
Output schema unknown
getCrossRepositoryQuery
Execute a query across repositories. By default, this will search all repositories.
fisheye_local.getCrossRepositoryQuery({}, context)
Input
- input
object
Output
Output schema unknown
getQuery
Execute a FishEye query against a specific repository.
fisheye_local.getQuery({
"repository": ""
}, context)
Input
- input
object
- query
string
: FishEye query to execute - maxReturn
string
: maximum number of results (which can be left unspecified, but in that case, - repository required
string
: the key of the repository
- query
Output
Output schema unknown
getQueryAsRows
Execute a FishEye query (that contains a "return" statement) against a specific repository.
fisheye_local.getQueryAsRows({
"repository": ""
}, context)
Input
- input
object
- query
string
: FishEye query to execute (which must contain a "return" statement) - maxReturn
string
: maximum number of results (which can be left unspecified, but in that case, - repository required
string
: the key of the repository
- query
Output
Output schema unknown
getReviewsForChangeset
Retrieve a list of reviews for a changeset in a given repository.
fisheye_local.getReviewsForChangeset({
"repository": ""
}, context)
Input
- input
object
- repository required
string
: the key of the repository
- repository required
Output
Output schema unknown
getReviewsForChangesets
Retrieve a list of reviews for each given changeset in a given repository.
fisheye_local.getReviewsForChangesets({
"repository": ""
}, context)
Input
- input
object
- repository required
string
: the key of the repository
- repository required
Output
Output schema unknown
Definitions
This integration has no definitions
5 years ago