The tickets API provides a lightweight issue-tracking layer inside AgroPulse. Operators can open tickets to report hardware faults, calibration problems, or any operational issue that requires follow-up. Each ticket is linked to the user who created it and moves through a defined lifecycle fromDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/diarpicu2022-commits/backend-AgroPulse/llms.txt
Use this file to discover all available pages before exploring further.
OPEN to IN_PROGRESS to CLOSED. Priority levels help teams triage work across multiple greenhouses.
Status and priority values
Status| Value | Meaning |
|---|---|
OPEN | Newly created, not yet assigned. Default on creation. |
IN_PROGRESS | Being actively worked on. |
CLOSED | Resolved and no further action required. |
| Value | Meaning |
|---|---|
LOW | Non-urgent issue, can be addressed in normal workflow. |
MEDIUM | Should be addressed soon. Default on creation. |
HIGH | Requires prompt attention. |
Endpoints
List all tickets
Retrieves every ticket in the system as a flat JSON array.Auto-generated primary key.
Short description of the issue.
Full details of the issue.
Current lifecycle state. One of
OPEN, IN_PROGRESS, or CLOSED.Urgency level. One of
LOW, MEDIUM, or HIGH.ID of the user who filed the ticket.
Display name of the user who filed the ticket.
ISO-8601 timestamp of when the ticket was created.
ISO-8601 timestamp of the last update to the ticket.
Create a ticket
Opens a new support ticket.Short description of the issue.
Full details of the issue. Stored as free-form text with no length limit.
Initial lifecycle state. Accepted values:
OPEN, IN_PROGRESS, CLOSED.Urgency level. Accepted values:
LOW, MEDIUM, HIGH.ID of the user filing the ticket.
Display name of the user filing the ticket.
Get a single ticket
Retrieves one ticket by its ID.The ID of the ticket to retrieve.
404 Not Found if no ticket with that ID exists.
Update a ticket
Performs a partial update on an existing ticket. Only fields included in the request body are changed; omitted fields retain their current values.The ID of the ticket to update.
Updated short description.
Updated full details.
New lifecycle state. Accepted values:
OPEN, IN_PROGRESS, CLOSED.New urgency level. Accepted values:
LOW, MEDIUM, HIGH.Updated user ID.
Updated user display name.
updatedAt timestamp is set to the current server time automatically on every successful update.
404 Not Found if no ticket with the given ID exists.
Delete a ticket
Permanently removes a ticket record.The ID of the ticket to delete.
{ "deleted": true } on success. Returns 404 Not Found if the ticket does not exist.