mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
- make set type and lookup prefixes/suffixes on searchColumns explicitly defined - send possible search keys from options requests on (most) lists
21 lines
399 B
JavaScript
21 lines
399 B
JavaScript
import Base from '../Base';
|
|
|
|
class Applications extends Base {
|
|
constructor(http) {
|
|
super(http);
|
|
this.baseUrl = '/api/v2/applications/';
|
|
}
|
|
|
|
readTokens(appId, params) {
|
|
return this.http.get(`${this.baseUrl}${appId}/tokens/`, {
|
|
params,
|
|
});
|
|
}
|
|
|
|
readTokenOptions(appId) {
|
|
return this.http.options(`${this.baseUrl}${appId}/tokens/`);
|
|
}
|
|
}
|
|
|
|
export default Applications;
|