Skip to content

Commit

Permalink
Merge pull request #139 from princenyeche/princenyeche-patch-1
Browse files Browse the repository at this point in the history
Added context to the endpoint APIs
  • Loading branch information
princenyeche authored Dec 30, 2024
2 parents 1f0fad1 + 3dfb0e3 commit 9eff695
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
2 changes: 2 additions & 0 deletions docs/apis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ You can access this classmethod by calling ``jiraone.endpoint``.
# some expression here
...
.. note::

The :ref:`endpoint-class` gives a base framework for utilising Atlassian API. It does not perform any form of complex data collection or modification. It only applies HTTP requests to retrieve Jira data and returns that data as a response object when combined with jiraone's request functions. For example, the sample code above shows a typical way these functions can be used. In terms of pagination, you must construct your own to retrieve the data using either a ``for`` or ``while`` loop depending on what context the information retrieval may be. The API of the :ref:`endpoint-class` does not produce a payload with all data, rather it will only give a subset of that data and if the retrieval of all data is required, use a loop to get all data.

.. autoclass:: EndPoints
:members:
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pandas
matplotlib
pillow>=10.0.1 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

0 comments on commit 9eff695

Please sign in to comment.