Skip to content

Commit

Permalink
feat(MLX): deprecated UserActionHistory class
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgerold committed Dec 19, 2024
1 parent 2444091 commit 9065288
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
import API from '../../../APICore.js';
import Resource from '../../Resource.js';

/**
* @deprecated Will be removed from the API in January 2025
*/
export default class UserActionHistoryConfiguration extends Resource {
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/useractionhistory`;

/**
* @deprecated
*/
create() {
return this.api.post<void>(UserActionHistoryConfiguration.baseUrl);
}

/**
* @deprecated
*/
delete() {
return this.api.delete<void>(UserActionHistoryConfiguration.baseUrl);
}

/**
* @deprecated
*/
get() {
return this.api.get<boolean>(UserActionHistoryConfiguration.baseUrl);
}
Expand Down

0 comments on commit 9065288

Please sign in to comment.