# General

## Create General

> To be confirmed.

```json
{"openapi":"3.0.0","info":{"title":"Patchworks Core API","version":"1.0.0"},"tags":[{"name":"General"}],"servers":[{"url":"https://core.wearepatchworks.com"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key passed in the Authorization header. Format: `<api-key>`"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth 2 Bearer token obtained from POST /fabric/api/login"}},"schemas":{"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}}},"paths":{"/api/v1/{tenant}/{callback}/{environment?}":{"post":{"summary":"Create General","description":"To be confirmed.","tags":["General"],"parameters":[{"name":"tenant","in":"path","required":true,"schema":{"type":"string"},"description":"The tenant identifier."},{"name":"callback","in":"path","required":true,"schema":{"type":"string"},"description":"The callback identifier."},{"name":"environment","in":"path","required":true,"schema":{"type":"string"},"description":"The environment identifier."}],"responses":{"200":{"description":"Successful response"},"401":{"description":"Unauthenticated"},"403":{"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Callback General

> To be confirmed.

```json
{"openapi":"3.0.0","info":{"title":"Patchworks Core API","version":"1.0.0"},"tags":[{"name":"General"}],"servers":[{"url":"https://core.wearepatchworks.com"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key passed in the Authorization header. Format: `<api-key>`"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth 2 Bearer token obtained from POST /fabric/api/login"}}},"paths":{"/api/v1/{tenant}/{callback}/{environment}":{"get":{"summary":"Callback General","description":"To be confirmed.","parameters":[{"name":"tenant","in":"path","required":true,"schema":{"type":"string"},"description":"The tenant identifier."},{"name":"callback","in":"path","required":true,"schema":{"type":"string"},"description":"The callback identifier."},{"name":"environment","in":"path","required":true,"schema":{"type":"string"},"description":"The environment identifier."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["General"]}}}}
```

## Create General

> To be confirmed.

```json
{"openapi":"3.0.0","info":{"title":"Patchworks Core API","version":"1.0.0"},"tags":[{"name":"General"}],"servers":[{"url":"https://core.wearepatchworks.com"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key passed in the Authorization header. Format: `<api-key>`"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth 2 Bearer token obtained from POST /fabric/api/login"}},"schemas":{"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}}},"paths":{"/api/v1/{tenant}/{webhook}/{environment?}":{"post":{"summary":"Create General","description":"To be confirmed.","tags":["General"],"parameters":[{"name":"tenant","in":"path","required":true,"schema":{"type":"string"},"description":"The tenant identifier."},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"},"description":"The webhook identifier."},{"name":"environment","in":"path","required":true,"schema":{"type":"string"},"description":"The environment identifier."}],"responses":{"200":{"description":"Successful response"},"401":{"description":"Unauthenticated"},"403":{"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Webhook General

> To be confirmed.

```json
{"openapi":"3.0.0","info":{"title":"Patchworks Core API","version":"1.0.0"},"tags":[{"name":"General"}],"servers":[{"url":"https://core.wearepatchworks.com"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key passed in the Authorization header. Format: `<api-key>`"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth 2 Bearer token obtained from POST /fabric/api/login"}}},"paths":{"/api/v1/{tenant}/{webhook}/{environment}":{"get":{"summary":"Webhook General","description":"To be confirmed.","parameters":[{"name":"tenant","in":"path","required":true,"schema":{"type":"string"},"description":"The tenant identifier."},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"},"description":"The webhook identifier."},{"name":"environment","in":"path","required":true,"schema":{"type":"string"},"description":"The environment identifier."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["General"]}}}}
```
