Other Endpoints
Miscellaneous live backend endpoints that do not fit the main auth/products/wallet groups.
GET /api/app-data
Public configuration bootstrap for clients.
- Auth required: No
- Roles: Public
Returned areas
Current response includes keys such as:
products.sort_byproducts.media.max_mb_sizefeedback.topicsaffiliate.default_fee_percentagecurrencies[]features[]settings[]
Success response example
json
{
"success": true,
"errors_message": null,
"data": {
"products": {
"sort_by": ["newest", "most_earnings", "most_views", "collection"],
"media": {
"max_mb_size": 20480
}
},
"feedback": {
"topics": ["bug", "feature", "other"]
},
"affiliate": {
"default_fee_percentage": 4
},
"currencies": [
{
"id": 1,
"code": "USD",
"symbol": "$",
"bank_fields": ["account_number", "routing_number"]
}
]
}
}GET /api/maps/autocomplete
Return raw Google Places autocomplete data for address input.
- Auth required: No in current route definition
- Roles: Public
Query parameters
| Parameter | Type | Required |
|---|---|---|
input | string | Yes |
Success response example
This endpoint currently returns the raw Google Maps service payload, not the standard Fangate wrapper.
json
{
"predictions": [
{
"description": "123 Main Street, Paris, France"
}
],
"status": "OK"
}POST /api/report
Submit a public report about content or a transaction.
- Auth required: No
- Roles: Public
- Content type:
application/json
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | Yes | Report reason text. |
email | string | Yes | Reporter email. |
transaction_id | integer | Yes | Must exist in transactions.id. |
media_ids | string | No | Comma-separated media ids. |
comment | string | No | Additional context. |
Success response example
Current controller returns an empty JSON object:
json
{}Error example
json
{
"success": false,
"errors_message": "The transaction id field is required.",
"data": null
}POST /api/feedback
Submit authenticated feedback with optional attachments.
- Auth required: Yes
- Roles: Authenticated creator
- Content type:
multipart/form-data
Request fields
| Field | Type | Required | Notes |
|---|---|---|---|
email | string | Yes | Feedback contact email. |
message | string | Yes | Feedback body. |
topic | string | Yes | Topic name from app-data config. |
attachments[] | file[] | No | Optional attachments. |
Success response example
json
{
"success": true,
"errors_message": null,
"data": "stored"
}Side effects
- attachments are stored on the public disk
- backend dispatches
SendFeedbackJob