Metadata-Version: 2.4
Name: edf-carbon-server
Version: 3.0.1
Summary: EDF Carbon Server
Author-email: CERT-EDF <cert@edf.fr>
License-Expression: MIT
Project-URL: Homepage, https://github.com/cert-edf/carbon
Project-URL: Repository, https://github.com/cert-edf/carbon
Project-URL: Bug Tracker, https://github.com/cert-edf/carbon/issues
Keywords: edf,carbon,server
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Classifier: Topic :: Security
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: edf-carbon-core~=3.0
Requires-Dist: aiosqlite~=0.20
Dynamic: license-file

# EDF Carbon Server


## Introduction

This server implements the API for Carbon service. It uses EDF Fusion framework as a library to ease maintainance and take advantage of new generic features as they become available.

> [!TIP]
> This documentation does not aim at completeness but provides an overview of the main features


## Events

Carbon, when configured to do so, can emit events using webhooks. Here is a list of event's categories it can emit:

- `create_case`
- `update_case`

Event's structure looks like this:

```json
{
    "source": "event's source, service's name is often used as source",
    "category": "event's category, the nature of the event",
    "case": {},
    "ext": {},
}
```

