From d4c8d8d040070d860a242cb781a4272ffc5c36b3 Mon Sep 17 00:00:00 2001 From: Ashutosh619-sudo Date: Wed, 20 Dec 2023 14:12:40 +0530 Subject: [PATCH] Fields get API --- bamboosdk/api/fields.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bamboosdk/api/fields.py diff --git a/bamboosdk/api/fields.py b/bamboosdk/api/fields.py new file mode 100644 index 00000000..40df3143 --- /dev/null +++ b/bamboosdk/api/fields.py @@ -0,0 +1,12 @@ +from .api_base import ApiBase + +class Fields(ApiBase): + CHECK_URL = '/v1/meta/fields/' + + def get(self): + """ + Get method to get the different fields, + used here for checking connection. + Returns: + """ + return self._get_request(self.CHECK_URL)