Skip to content

Commit

Permalink
Add links to API and links
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinkova committed Aug 1, 2024
1 parent 1cb69ae commit c0553ed
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/application/profile/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _profile:

Profile
*******

Expand Down
8 changes: 4 additions & 4 deletions docs/more/development/api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*********************************
Application Programming Interface
*********************************
*******************
Integration via API
*******************

An Application Programming Interface (API) allows machines, such as other systems and tools, to perform actions and transfer data based on agreed-upon methods.

Expand All @@ -20,7 +20,7 @@ While several public endpoints are accessible without authentication, most endpo
Example
=======

After obtaining your authentication token and reviewing the API documentation, you can start making API calls to execute actions and transfer data, easily integrating them into your projects. Here's a simple example using the Requests library in Python:
After obtaining your authentication token and reviewing the API documentation, you can start making API calls to execute actions and transfer data, easily integrating them into your projects. Here's a simple example using the `Requests library in Python <https://requests.readthedocs.io/en/latest/>`__:

.. code-block::
Expand Down
4 changes: 2 additions & 2 deletions docs/more/development/document-templates/tdk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Environment variables and .env file

You can use environment variables to authenticate:

* ``DSW_API_URL`` = URL of |project_name| API with which you want to communicate. Hover mouse over your profile name to find the About section where URL is specified.
* ``DSW_API_KEY`` = your API Key. Hover mouse over your profile name, click on :guilabel:`Edit Profile` and then navigate to :guilabel:`API Keys` From there, you can generate a new API Key for the authentication.
* ``DSW_API_URL`` = URL of |project_name| API with which you want to communicate. Hover mouse over your profile name to find the :ref:`About<about>` section where URL is specified.
* ``DSW_API_KEY`` = your :ref:`API Key<api-keys>`. Hover mouse over your profile name, click on :guilabel:`Edit Profile` and then navigate to :guilabel:`API Keys` From there, you can generate a new API Key for the authentication.

To make this even easier, you can store those in ``.env`` file in the project root and it will be loaded automatically. Or you can specify the path to a ``.env`` file:

Expand Down
2 changes: 1 addition & 1 deletion docs/more/development/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ This section provides information on how to develop custom content for |project_
integration-questions/index
Project Importers<importers>
submission-service
Integration via API<api>
contributing
vulnerabilities
API<api>

0 comments on commit c0553ed

Please sign in to comment.