Download OpenAPI specification:
Relevant endpoints to trigger actions or get data from Ceres app
List all analyses sorted by creation date (newest first).
[- {
- "category": "string",
- "dataset": [
- {
- "feature": "string",
- "percentage": 100
}
], - "ISC": 100,
- "IRC": 100,
- "created": "2019-08-24T14:15:22Z",
- "ticket": 0,
- "id": 0,
- "commodity": "string"
}
]This endpoint receives a request, creates a photo, and saves the analysis without frontend interaction.
| ticket required | integer Associated ticket number. |
| commodity required | string The name of the existing commodity variety. |
{- "ticket": 0,
- "commodity": "string"
}{- "category": "string",
- "dataset": [
- {
- "feature": "string",
- "percentage": 100
}
], - "ISC": 100,
- "IRC": 100,
- "created": "2019-08-24T14:15:22Z",
- "ticket": 0,
- "id": 0,
- "commodity": "string",
- "photo": {
- "created": "2019-08-24T14:15:22Z",
- "image": "string",
- "mimetype": "string"
}, - "segmented_photo": {
- "created": "2019-08-24T14:15:22Z",
- "image": "string",
- "mimetype": "string"
}
}Return a specific analysis along with its associated photos.
| id required | integer A unique integer value identifying this analysis. |
{- "category": "string",
- "dataset": [
- {
- "feature": "string",
- "percentage": 100
}
], - "ISC": 100,
- "IRC": 100,
- "created": "2019-08-24T14:15:22Z",
- "ticket": 0,
- "id": 0,
- "commodity": "string",
- "photo": {
- "created": "2019-08-24T14:15:22Z",
- "image": "string",
- "mimetype": "string"
}, - "segmented_photo": {
- "created": "2019-08-24T14:15:22Z",
- "image": "string",
- "mimetype": "string"
}
}Only ticket and/or commodity fields are accepted.
| id required | integer A unique integer value identifying this analysis. |
| ticket | integer Ticket number associated with the analysis. |
| commodity | string Name of the commercial variety |
{- "ticket": 0,
- "commodity": "string"
}{- "category": "string",
- "dataset": [
- {
- "feature": "string",
- "percentage": 100
}
], - "ISC": 100,
- "IRC": 100,
- "created": "2019-08-24T14:15:22Z",
- "ticket": 0,
- "id": 0,
- "commodity": "string"
}Creates a new fruit variety.
| name required | string <= 200 characters Name of the commercial variety |
| display_name | string <= 200 characters Human-readable label shown in the UI. If left empty, it defaults to the value of 'name' |
{- "name": "string",
- "display_name": "string"
}{- "id": 0,
- "name": "string",
- "display_name": "string"
}Completely replaces an existing variety.
| id required | integer A unique integer value identifying this commodity. |
| name required | string <= 200 characters Name of the commercial variety |
| display_name | string <= 200 characters Human-readable label shown in the UI. If left empty, it defaults to the value of 'name' |
{- "name": "NuevaVariedad",
- "display_name": "Variedad Nueva"
}{- "id": 0,
- "name": "string",
- "display_name": "string"
}Performs a partial update of specific variety fields.
| id required | integer A unique integer value identifying this commodity. |
| name | string <= 200 characters Name of the commercial variety |
| display_name | string <= 200 characters Human-readable label shown in the UI. If left empty, it defaults to the value of 'name' |
{- "name": "VariedadActualizada",
- "display_name": "Variedad Nueva"
}{- "id": 0,
- "name": "string",
- "display_name": "string"
}