- Source:
Methods
(static) reviewCompletion(data, direction)
Starts a review pipeline for a completion.
Starts a review pipeline for a completion.
Parameters:
Name | Type | Description |
---|---|---|
data |
The completion data to review |
|
direction |
"pending2approve" | "pending2reject" | "approve2reject" | "reject2Approve" | Direction of the review |
- Source:
(static) saveApiKeys(data)
Inserts an API key created from the API Management page into the database.
Inserts an API key created from the API Management page into the database.
Parameters:
Name | Type | Description |
---|---|---|
data |
The API key data to save. |
- Source:
(static) saveCompletion(completionData)
Saves a completion to the database for review.
Saves a completion to the database for review.
Parameters:
Name | Type | Description |
---|---|---|
completionData |
Completion data to save |
- Source:
(async, inner) approveCompletion(data)
Approves a completion.
Approves a completion.
Parameters:
Name | Type | Description |
---|---|---|
data |
The completion data to approve. |
- Source:
(async, inner) rejectCompletion(data)
Rejects a completion.
Rejects a completion.
Parameters:
Name | Type | Description |
---|---|---|
data |
The completion data to reject. |
- Source: