Not all SDK Endpoints have the Access Token (AuthZ) option enabled
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- api, authorization
Research direction
Start by comparing the AuthZ option definitions in src/datadog_api_client/v1/api/monitors_api.py and src/datadog_api_client/v1/api/notebooks_api.py, then inspect the other generated API endpoint files for the same omission. Verify the affected endpoints accept an access token as /api/v1/notebooks does with curl, and consider the work done when all supporting SDK endpoints expose the AuthZ option consistently.
Written by the indexing model from the issue text.
Description
Describe the bug
Not all SDK Endpoints have the AuthZ options defined even thought they are actually supporting it.
To Reproduce
For example monitors_api.py does have it while notebooks_api.py does not.
If you test this with curl and an access token /api/v1/notebooks does work.
Expected behavior
I guess all API Endpoints should have AuthZ?
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
- version 2.56.0
- Dominant language
- Python
- Stars
- 166
- Forks
- 55
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/datadog-api-client-python
-
stale
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
DataDog/datadog-api-client-python#3535 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 75/100
DataDog/datadog-api-client-python#3656 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 38/100
DataDog/datadog-api-client-python#3120 · 1 comment ·
-
stale
Difficulty 3/5 1-2 days Newbie friendliness 45/100
DataDog/datadog-api-client-python#2986 · 1 comment ·
-
kind/feature-request stale
Difficulty 5/5 Over a week Newbie friendliness 20/100
DataDog/datadog-api-client-python#2878 · 3 comments ·
All issues in DataDog/datadog-api-client-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·