Skip to content

JS-Reference-Updates-1675857042 #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -707,3 +707,21 @@ accessControl.deleteAccessRequest("djjdshhsuuwewueueuiHYHYYW.......").then(resul
console.log(result)
})
```

## getUserInfo
##### accessControl.getUserInfo([orgName]) ⇒ <code>Promise</code>
-- TerminusX API --
Get the userinfo teams ownership and subscription

**Returns**: <code>Promise</code> - A promise that returns the call response object, or an Error if rejected.

| Param | Type | Description |
| --- | --- | --- |
| [orgName] | <code>string</code> | The organization name. |

**Example**
```javascript
accessControl.getUserInfo().then(result=>{
console.log(result)
})
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -1109,18 +1109,19 @@ client.getBranches()
```

## getCommitsLog
##### woqlClient.getCommitsLog([dbId]) ⇒ <code>Promise</code>
##### woqlClient.getCommitsLog([start], [count]) ⇒ <code>Promise</code>
get the database collections list

**Returns**: <code>Promise</code> - A promise that returns the call response object, or an Error if rejected.

| Param | Type | Description |
| --- | --- | --- |
| [dbId] | <code>string</code> | the database id |
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [start] | <code>number</code> | <code>0</code> | where to start printing the commit information in the log (starting from the head of the current branch) |
| [count] | <code>number</code> | <code>1</code> | The number of total commit log records to return |

**Example**
```javascript
client.getCommitsLog()
client.getCommitsLog(count=10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

```

## getPrefixes
Expand Down