# Astera 10.1 - Additional Notes

### Functionality and Features of Astera Data Stack

#### API Publishing

Astera Data Stack lets users design an API flow, which opens with *Request* and *Response* objects already present in the flow. These can then be used in a pipeline to the application of the user.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FNIhZKIkD5nSjwVW42LpG%2F1.png?alt=media&#x26;token=55a4e180-fe26-4c75-b533-4bef7f6a7e00" alt=""><figcaption></figcaption></figure>

A simple, configured API flow can look like this:

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FyaIwBEOlLnGLOWW1khph%2F2.png?alt=media&#x26;token=59558ceb-3108-4f77-9315-f3578e9bd6ec" alt=""><figcaption></figcaption></figure>

#### API Consumption

{% hint style="info" %}
**Note:** API Consumption is not a new module, it is already present in Astera Data Stack, but it has also been integrated into Astera Data Stack.
{% endhint %}

When it comes to the Consumption of APIs, Astera lets users configure an *API Connection*, its corresponding *API Client* object, along with an API Browser to maintain various imported or custom *API Collections*.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fh2YYX4sGkJTmTIL4sXON%2F3.png?alt=media&#x26;token=ebd44fde-4086-4cb9-b924-020d44b862b4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FO3ItfFDri8ZrTWLqZTo0%2F4.png?alt=media&#x26;token=4428e2e6-61bb-4025-b8e2-fca3512029f8" alt=""><figcaption></figcaption></figure>

Astera Data Stack also makes use of various *HTTP methods* for Consumption such as *GET, POST, PUT, DELETE,* and *PATCH.*

More information related to *HTTP Methods* can be found [here](https://documentation.astera.com/astera-data-stack-v10/api-flow/api-consumption/consume/method-operations).

Apart from that, the product also offers Pagination functionalities, details for which can be found [here](https://docs.astera.com/projects/data-services/en/latest/consume/pagination.html).

**Enhancements to API Consumption**

**Pagination**

* Automated *Read till End* Options for Page Number, Offset-limit Paginations.
* Cursor Pagination using body fields.
* Pagination support added for POST Requests

**OAuth2**

* OAuth2 token caching and auto-refresh.

**New features of API Consumption**

**OAuth2 and E-Tag**

* OAuth 2 Grant Flow: Authorization Code with PKCE
* E-tags for request caching and concurrency control

**C-API Connectors**

* Create and manage Custom C-API Connectors

CAPI connectors library includes:

* Zendesk Support
* Zendesk Sales CRM
* HubSpot CRM
* Box API

**Other New Features**

* Auto-redirect API calls.
* Use of Default browser for authentication as an alternative to Embedded Browser.
* Import postman API collection.

#### Server Browser Functionalities

The *Server Browser* in Astera Data Stack lets the user manage and publish APIs once they have been deployed.

A wide range of functionalities are offered in the deployment of APIs, including setting authentication and security functions.

Within the Server Browser, user roles can be assigned, and specific resources can be provided to each role, respective to their area of application. The Server Browser also has the feature to auto-generate a swagger Url.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F8HqsotWGKPDxEVxEk7ol%2F5.png?alt=media&#x26;token=84c4d8cb-dfac-4346-92ce-7dfdfc073e5f" alt=""><figcaption></figcaption></figure>

#### API Monitoring and Logging

Once the APIs have been deployed, they can also be viewed in a dashboard present in Astera Data Stack.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FsWYEPjhZBfg9keWMvgFB%2F6.png?alt=media&#x26;token=a6d0c510-4c9d-4fbe-aa27-adf88dd5ea25" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FMaQ4fHprugS7nNnxLb10%2F7.png?alt=media&#x26;token=22a9af97-c53b-4bf6-81cf-0ba50efee450" alt=""><figcaption></figcaption></figure>

Finally, users can also utilize Astera for logging and tracing.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FLb81Dfy7EblEBZA4e2FK%2F8.png?alt=media&#x26;token=b8e4f4ea-ef6e-449a-b3b9-f8df6c4890dc" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FR0QedCHgnN3TAIMxKpNo%2F9.png?alt=media&#x26;token=8cb15678-e8c7-488b-81fe-fdbcb49b1d2c" alt=""><figcaption></figcaption></figure>
