@instructure/athena-api-client 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -117,9 +117,9 @@ All URIs are relative to *http://localhost:3000*
|
|
|
117
117
|
*TaxonomiesApi* | [**getTaxonomyBySlug**](docs/TaxonomiesApi.md#gettaxonomybyslug) | **GET** /api/v1/taxonomies/by-slug/{slug} | Get taxonomy by slug
|
|
118
118
|
*TaxonomiesApi* | [**getTaxonomyProgress**](docs/TaxonomiesApi.md#gettaxonomyprogress) | **GET** /api/v1/taxonomies/{id}/progress | Get progress and readiness for a taxonomy
|
|
119
119
|
*TaxonomiesApi* | [**listTaxonomies**](docs/TaxonomiesApi.md#listtaxonomies) | **GET** /api/v1/taxonomies | List available taxonomies
|
|
120
|
-
*TaxonomyEnrollmentsApi* | [**enrollInTaxonomy**](docs/TaxonomyEnrollmentsApi.md#enrollintaxonomy) | **POST** /api/v1/
|
|
121
|
-
*TaxonomyEnrollmentsApi* | [**listMyEnrollments**](docs/TaxonomyEnrollmentsApi.md#listmyenrollments) | **GET** /api/v1/
|
|
122
|
-
*TaxonomyEnrollmentsApi* | [**unenrollFromTaxonomy**](docs/TaxonomyEnrollmentsApi.md#unenrollfromtaxonomy) | **DELETE** /api/v1/
|
|
120
|
+
*TaxonomyEnrollmentsApi* | [**enrollInTaxonomy**](docs/TaxonomyEnrollmentsApi.md#enrollintaxonomy) | **POST** /api/v1/taxonomy_enrollments/{id} | Enroll in a taxonomy
|
|
121
|
+
*TaxonomyEnrollmentsApi* | [**listMyEnrollments**](docs/TaxonomyEnrollmentsApi.md#listmyenrollments) | **GET** /api/v1/taxonomy_enrollments | List current user\'s active enrollments
|
|
122
|
+
*TaxonomyEnrollmentsApi* | [**unenrollFromTaxonomy**](docs/TaxonomyEnrollmentsApi.md#unenrollfromtaxonomy) | **DELETE** /api/v1/taxonomy_enrollments/{id} | Unenroll from a taxonomy
|
|
123
123
|
*UserContextApi* | [**getUserContext**](docs/UserContextApi.md#getusercontext) | **GET** /api/v1/user-context | Get user context
|
|
124
124
|
*UserContextApi* | [**upsertUserContext**](docs/UserContextApi.md#upsertusercontextoperation) | **PUT** /api/v1/user-context | Create or update user context
|
|
125
125
|
*VotesApi* | [**listChatVotes**](docs/VotesApi.md#listchatvotes) | **GET** /api/v1/chats/{chatId}/votes | List votes for a chat
|
|
@@ -49,7 +49,7 @@ class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
49
49
|
if (this.configuration && this.configuration.apiKey) {
|
|
50
50
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
51
51
|
}
|
|
52
|
-
let urlPath = `/api/v1/
|
|
52
|
+
let urlPath = `/api/v1/taxonomy_enrollments/{id}`;
|
|
53
53
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
54
54
|
const response = yield this.request({
|
|
55
55
|
path: urlPath,
|
|
@@ -87,7 +87,7 @@ class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
87
87
|
if (this.configuration && this.configuration.apiKey) {
|
|
88
88
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
89
89
|
}
|
|
90
|
-
let urlPath = `/api/v1/
|
|
90
|
+
let urlPath = `/api/v1/taxonomy_enrollments`;
|
|
91
91
|
const response = yield this.request({
|
|
92
92
|
path: urlPath,
|
|
93
93
|
method: 'GET',
|
|
@@ -127,7 +127,7 @@ class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
127
127
|
if (this.configuration && this.configuration.apiKey) {
|
|
128
128
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
129
129
|
}
|
|
130
|
-
let urlPath = `/api/v1/
|
|
130
|
+
let urlPath = `/api/v1/taxonomy_enrollments/{id}`;
|
|
131
131
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
132
132
|
const response = yield this.request({
|
|
133
133
|
path: urlPath,
|
|
@@ -46,7 +46,7 @@ export class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
46
46
|
if (this.configuration && this.configuration.apiKey) {
|
|
47
47
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
48
48
|
}
|
|
49
|
-
let urlPath = `/api/v1/
|
|
49
|
+
let urlPath = `/api/v1/taxonomy_enrollments/{id}`;
|
|
50
50
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
51
51
|
const response = yield this.request({
|
|
52
52
|
path: urlPath,
|
|
@@ -84,7 +84,7 @@ export class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
84
84
|
if (this.configuration && this.configuration.apiKey) {
|
|
85
85
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
86
86
|
}
|
|
87
|
-
let urlPath = `/api/v1/
|
|
87
|
+
let urlPath = `/api/v1/taxonomy_enrollments`;
|
|
88
88
|
const response = yield this.request({
|
|
89
89
|
path: urlPath,
|
|
90
90
|
method: 'GET',
|
|
@@ -124,7 +124,7 @@ export class TaxonomyEnrollmentsApi extends runtime.BaseAPI {
|
|
|
124
124
|
if (this.configuration && this.configuration.apiKey) {
|
|
125
125
|
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
126
126
|
}
|
|
127
|
-
let urlPath = `/api/v1/
|
|
127
|
+
let urlPath = `/api/v1/taxonomy_enrollments/{id}`;
|
|
128
128
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
129
129
|
const response = yield this.request({
|
|
130
130
|
path: urlPath,
|