Skip to content

Commit 5b0da61

Browse files
Francesca-Bitgithub-actions[bot]
authored andcommitted
Apply docs changes
1 parent 6b7953c commit 5b0da61

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

docs/api/accesscontrol.md

+18
Original file line numberDiff line numberDiff line change
@@ -707,3 +707,21 @@ accessControl.deleteAccessRequest("djjdshhsuuwewueueuiHYHYYW.......").then(resul
707707
console.log(result)
708708
})
709709
```
710+
711+
## getUserInfo
712+
##### accessControl.getUserInfo([orgName]) ⇒ <code>Promise</code>
713+
-- TerminusX API --
714+
Get the userinfo teams ownership and subscription
715+
716+
**Returns**: <code>Promise</code> - A promise that returns the call response object, or an Error if rejected.
717+
718+
| Param | Type | Description |
719+
| --- | --- | --- |
720+
| [orgName] | <code>string</code> | The organization name. |
721+
722+
**Example**
723+
```javascript
724+
accessControl.getUserInfo().then(result=>{
725+
console.log(result)
726+
})
727+
```

docs/api/woqlclient.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1109,18 +1109,19 @@ client.getBranches()
11091109
```
11101110
11111111
## getCommitsLog
1112-
##### woqlClient.getCommitsLog([dbId]) ⇒ <code>Promise</code>
1112+
##### woqlClient.getCommitsLog([start], [count]) ⇒ <code>Promise</code>
11131113
get the database collections list
11141114
11151115
**Returns**: <code>Promise</code> - A promise that returns the call response object, or an Error if rejected.
11161116
1117-
| Param | Type | Description |
1118-
| --- | --- | --- |
1119-
| [dbId] | <code>string</code> | the database id |
1117+
| Param | Type | Default | Description |
1118+
| --- | --- | --- | --- |
1119+
| [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) |
1120+
| [count] | <code>number</code> | <code>1</code> | The number of total commit log records to return |
11201121
11211122
**Example**
11221123
```javascript
1123-
client.getCommitsLog()
1124+
client.getCommitsLog(count=10)
11241125
```
11251126
11261127
## getPrefixes

0 commit comments

Comments
 (0)