# Usage

The Frontend API works in many Ways similar to the Media APIs. Many of the common Parameters are valid here also, wherever possible.

{% hint style="info" %}
Please notice, that all the following Endpoints are intended for Frontend Operations and need a valid Session.
{% endhint %}

To control an API Session, you will need the following Endpoints:

{% content-ref url="endpoints/session-endpoint" %}
[session-endpoint](https://api.docs.nexx.cloud/frontend-api/endpoints/session-endpoint)
{% endcontent-ref %}

In many Cases, Users interact with Media Objects (like, comment, rate etc). To handle these Cases, use the Media Interaction API:

{% content-ref url="endpoints/interaction-endpoint" %}
[interaction-endpoint](https://api.docs.nexx.cloud/frontend-api/endpoints/interaction-endpoint)
{% endcontent-ref %}

If your Domain uses a nexxOMNIA User Model, the registered User has a lot of Options for his Profile and Activities:

{% content-ref url="endpoints/user-endpoint" %}
[user-endpoint](https://api.docs.nexx.cloud/frontend-api/endpoints/user-endpoint)
{% endcontent-ref %}

If your Domain uses a nexxOMNIA Payment Model, the Payment Processing Endpoints can be found here:

{% content-ref url="endpoints/payment-endpoint" %}
[payment-endpoint](https://api.docs.nexx.cloud/frontend-api/endpoints/payment-endpoint)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.docs.nexx.cloud/frontend-api/usage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
