1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 04:20:05 +00:00

docs(context): add docs for 'getComputeContextByName' method

This commit is contained in:
Yury Shkoda
2020-09-24 16:05:42 +03:00
parent 057460467c
commit e6d0d3efd5
2 changed files with 62 additions and 46 deletions

View File

@@ -185,6 +185,11 @@ export default class SASjs {
)
}
/**
* Returns a JSON representation of a compute context.
* @param contextId - an id of the context to return.
* @param accessToken - an access token for an authorized user.
*/
public async getComputeContextById(contextId: string, accessToken?: string) {
this.isMethodSupported('getComputeContextById', ServerType.SASViya)