mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
add subscriptions endpoint to awxkit
This commit is contained in:
committed by
Ryan Petrello
parent
8a29276a7d
commit
eba69142f1
@@ -38,3 +38,4 @@ from .instances import * # NOQA
|
||||
from .instance_groups import * # NOQA
|
||||
from .credential_input_sources import * # NOQA
|
||||
from .metrics import * # NOQA
|
||||
from .subscriptions import * # NOQA
|
||||
|
||||
11
awxkit/awxkit/api/pages/subscriptions.py
Normal file
11
awxkit/awxkit/api/pages/subscriptions.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from awxkit.api.resources import resources
|
||||
from . import base
|
||||
from . import page
|
||||
|
||||
|
||||
class Subscriptions(page.Page):
|
||||
|
||||
def get_possible_licenses(self, **kwargs):
|
||||
return self.post(json=kwargs).json
|
||||
|
||||
page.register_page(resources.subscriptions, Subscriptions)
|
||||
Reference in New Issue
Block a user